Personal tools
You are here: Home Forums Help and Advice (Reg) How do I install additional kernels in Ubuntu

How do I install additional kernels in Ubuntu

4.0
Up to Help and Advice (Reg)

How do I install additional kernels in Ubuntu

Posted by Carl Hoogerland at June 29. 2008

I want to be able to boot either i686 or AMD64
Thanks.

Re: How do I install additional kernels in Ubuntu

Posted by Johnathon Tinsley at June 29. 2008

Hi Hoogie, welcome to Linux.co.uk

I'm assuming that you're using Ubuntu Edgy? Edgy has a "generic" kernel, which tests your possessor on boot, and only used those commands that it can.

Firstly, open synaptic (Click on System > Administration > Synaptic Package Manager).

Click on the search button, and when the box comes up, set it to search "Name". Then type "generic", and click search.

Now scroll down the list. You need to look for something along the lines of a package named:
linux-image-generic

Right click on it, and click "mark for install"

Also find, and mark for install a package named "linux-headers-generic"

Reboot your machine... you should now have the latest kernel. It should automatically adapt itself to your processor.

HTH,
Johnathon

Re: How do I install additional kernels in Ubuntu

Posted by Carl Hoogerland at June 29. 2008

Thanks Johnathon. With a 64 bit processor, would it be able to run 64 bit apps?, or would the whole distro have to be set up for 64 bit?

Re: How do I install additional kernels in Ubuntu

Posted by Johnathon Tinsley at June 29. 2008

I *think* that you should be able to run 64bit applications with this kernel.

Re: How do I install additional kernels in Ubuntu

Posted by Carl Hoogerland at June 29. 2008

I found out that the generic kernel is i686.

$ uname -a
Linux ELMER-LINUX 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux
$

 

I would need to install a 64-bit image

Re: How do I install additional kernels in Ubuntu

Posted by Gareth Bult at June 29. 2008

"Upgrading" from an i686 install to a 64 bit install is not easy (or recommended). Once you have one or the other on your box, *all* programs on the machine will be in that format.

Although you can load compatibility modules such that your 64 bit install will run 32bit apps, if you try and boot a 64 bit kernel using a 32 bit environment, you're sort of playing with fire. (expect bad things to happen)

Solution:
a. Ensure you have at least 4 partitions to play with
b. Install x86 (32 bit) ubuntu using
partition #1, /boot (100M)
partition #2, swap (2G)
partition #3, root (30G+ recommended)
c. Now install x86_64 (64 bit) ubuntu using;
partition #1, /boot (100M)
partition #2, swap (2G)
partition #4, root (30G+ recommended)

Be sure when running the partitioner for (c) that you do not instruct it to reformat partition #1, as a result, it will "add" the 64bit kernel to GRUB and when you boot the machine you will have a choice of booting 64 bit (the default using the above method) or 32 bit.

If you don't have appropriately sized partitions on your box, a reinstall is probably the easy way out ... and you might be as well to go for feisty at this stage .. I've 32bit and 64bit boxes running here and they seem fairly stable ...

hth

Powered by Ploneboard
Site Navigator
Tell us about yourself!
How many computers do you administer?







Votes : 46 Results
Polls
 
Data Recovery
Visit this site if you're in need of data recovery tools.
Ink Cartridges
See how much you can save on ink cartridges.
IT support >
Don't make your staff sit around and wait for IT to get sorted out. Get quick professional help.
BROADBAND PROVIDERS
It, doesn’t matter if you already have another surfing package with Virgin Media, you can upgrade to the broadband providers service.
Reverse Phone Lookup
Type in any phone number to instantly find out owner's name, address and more.
Laptop
Visit CheckCost UK to compare, review and buy latest computers, laptops, scanners, printers, hard drives, LCD monitors and many more.
Software
Visit Ecost Software to find your favourite brands like Adobe, Apple, Microsoft, Autodesk, Codegear, Corel, Symantec and more.
LINUX COMPUTERS
Get a Linux computer on test for free!
IT Support
For The Best IT Support In London Make Our IT Department Your IT Department. Microsoft Gold Certified Partner.
IT SERVICES
Award winning IT Services from London provider Wavex offering support, advice, and training