Quote:
Originally Posted by lycan
I prefer to have a system with 64 bit kernel and 32 bit binaries. Is it possible ? If yes then how ? Please explain.
|
Excuse me for dropping in. I don't quite understand why you install a 64-bit kernel, but at the same time insist on having all binaries as 32-bit. Yes, I read the article on 'pure 64' and only heavily shuddered thereafter. I simply couldn't understand, what the benefits of such a contortionistic approach were. Too high for my simple mind all that stuff.
Well, 2 weeks ago I upgraded my hardware: completely new motherboard, a 64-bit CPU, new graphics-card and so on. I only kept my hard-disks and my DVD-writer. Of course I was aware beforehand, that my old Lenny-system wouldn't start anymore, so I downloaded and burnt a netinstall-64bit-CD.
Also freed a partition to install the new system to. And made a copy (--get-selections) of what I had as applications on my old system. Thanks "rickh" for that.
When the hardware was ready, I booted from that CD and let it install only a minimal system on that partition. Reboot. Then I fed that old selection-list to dselect and let it install whatever I had previously on the new partition. Surprise, surprise; let's say two-thirds came in as 64-bit, the others as 32-bit. A reboot again and almost everything worked - apart from my personal settings of course - as if it were my 'old' system. Only a very few Debian-applications were not happy, they wanted the ia32-libs also. Okay, download and now no problems anymore.
Then came the real tedious task: copying the files from the new partition to the old ones *without* obliterating all the settings-files of my old applications. 90% success, 10% I had to adjust manually again.
The few applications, that were previously compiled by myself as no Debian-equivalent existed, didn't want to start or gave ridiculous output, I had to compile again under the new environment and then they did what they were supposed to do. With one exception: XNetload. That depended on so old libraries/widgets that I didn't want to spend a lot of time to resolve them.
A very long intro, I know, sorry.
But now my conclusion to what I stated as a question at the very beginning. There's *absolutely* no need to differentiate between 32-bit and 64-bit applications. Just install them and use them whatever apt-get or preferably aptitude downloads, you won't get stuck anywhere.
Kernel 2.6.23-12, Debian-testing and let aptitude resolve all dependencies, as a basis.