Monday, July 1, 2019

installation - installing 64 bit kernel on 32bit ubuntu



I compiled my own custom kernel in a 64 bit linux mint 16 installation. I've also heard that the 64 bit kernel could also run 32 bit applications too. Would it be possible to install it and use it in the 32-bit Ubuntu 13.10 installation or do I have to recompile it again for the 32-bit? If 32 bit Ubuntu would run on this kernel, Is there any problems I am going to encounter while using this kernel?



The following combinations will work:



32 bit CPU with 32 bit kernel and 32 bit software
64 bit CPU with 32 bit kernel and 32 bit software
64 bit CPU with 64 bit kernel and 32 bit software

64 bit CPU with 64 bit kernel and 64 bit software


In general running 32 bit software with a 64 bit kernel means having most of your system 64 bit and just running a few 32 bit applications - usually things like skype or steam for which we do not have source code and hence cannot recompile for a new processor.



In theory it should be possible to run an entirely 32-bit userland with only a 64 bit kernel. See, eg reports of people doing this successfully on Arch. But the package manager is unlikely to be happy with this, so it would involve quite a lot of DIY.



In the past this was an attractive option because running 32 bit applications in a 64 bit userland was fraught with problems. This is now largely solved, so running a mixed system in this way seems to have few advantages, and many disadvantages, compared to just running a pure 64 bit system.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...