Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn
Posted by admin on August 2nd, 2007
Email This Post
If you want to know what are the chnages in kernel version 2.6.22 check here
First you need to add the Gutsy repository (this is only temporary to pull the new kernel)
echo ‘deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted’ | sudo tee -a /etc/apt/sources.list
Update the source list using the following command
sudo apt-get update
you need to install the new kernel using the following command
sudo apt-get install linux-backports-modules-2.6.22-9-generic linux-headers-2.6.22-9 linux-headers-2.6.22-9-generic linux-image-2.6.22-9-generic linux-restricted-modules-2.6.22-9-generic linux-ubuntu-modules-2.6.22-9-generic
Now you should remove the Gutsy repository from your sources.list
sudo vi gedit /etc/apt/sources.list
Now you can remove the line or simply comment it out
#deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted
Now save the file and exit.
Update the source list using the following command
sudo apt-get update
If you’ve done all of the above without errors, you’ve successfully installed 2.6.22-9-generic. Now you need to reboot into the new kernel
sudo reboot
Troubleshooting
After rebooting if you have any problem you need to follow this procedure to revert back your changes.
Reboot your computer and at Grub press esc to boot into your last kernel. (probably 2.6.20-16-*)
Remove the installed kernel packages
sudo apt-get remove linux-backports-modules-2.6.22-9-generic linux-headers-2.6.22-9 linux-headers-2.6.22-9-generic linux-image-2.6.22-9-generic linux-restricted-modules-2.6.22-9-generic linux-ubuntu-modules-2.6.22-9-generic
Removing the packages will remove the kernel from your Grub menu. But for some reason it doesn’t follow these steps to remove it
sudo vi gedit /boot/grub/menu.lst
Now remove the following and save the file
title Ubuntu, kernel 2.6.22-9-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-9-generic root=UUID=34f3806f-36b8-494d-be17-78325684a0a5 ro quiet splash
initrd /boot/initrd.img-2.6.22-9-generic
quiet
savedefault
title Ubuntu, kernel 2.6.22-9-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-9-generic root=UUID=34f3806f-36b8-494d-be17-78325684a0a5 ro single
initrd /boot/initrd.img-2.6.22-9-generic
Now rebbot your system.
If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!


August 2nd, 2007 at 11:11 am
When I did the first step (adding the Gutsy repo to sources.list), it retained the apostrophe when it was added. In other words, my sources.list read:
deb http://somerepo.com
deb http://somerepo.com
‘deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted’
I had to manually edit out the apostrophe with gedit.
August 5th, 2007 at 9:31 am
Thanks for the guide, Worked well for me Thank you!
August 5th, 2007 at 2:09 pm
Is there some imperative reason to update Feisty to the 2.6.22-9-generic kernel? I seem to be trundling along okay with 2.6.20-16-generic “stock” kernel…
August 6th, 2007 at 12:40 am
Yes, I agree with the previous comment. Does this upgrade fix a lot of the issues that Feisty Fawn has?
August 6th, 2007 at 11:32 am
needs the libc6 2.6 package, but feisty has libc6 2.5.
September 1st, 2007 at 12:54 am
This is not working anymore since there is a kernel update (2.6.33-10).
It would be nice to get updated.
Thanks in advance
September 2nd, 2007 at 12:38 pm
I’m a bit of a novice so excuse me if this is obvious - just tried the above substituting 33-10.
Got the following error
E: Couldn’t find package linux-backports-modules-2.6.33-10-generic
Help appreciated.
Need to move up because my Lenovo sound is not working.
September 2nd, 2007 at 5:41 pm
Oops, I made a typo… I meant to say 2.6.22-xx
Sorry and Kind Regards
Luis
September 3rd, 2007 at 10:14 am
Another novice question I’m afraid.
Can you please explain how to find out which is the latest version. Where are these files?
Regards
Dan
September 11th, 2007 at 3:10 pm
I was able to update to 2.6.22-10, but now my wireless card (eth1) has disapeared. how do i get it back? thanks
September 13th, 2007 at 5:19 am
Update: now the latest version of kernel should be 2.6.22-11
September 22nd, 2007 at 6:03 pm
This so totally gets you into trouble the moment you want to compile something kernel related like vmnet or such. This approach is just plain bull. You need a fresher kernel look at the kernel build howto in the wiki.
Not easy but won’t fsck up your entire system.
December 12th, 2007 at 12:56 am
…or, for those who really want the latest kernel, read here:
http://ubuntu-unleashed.blogspot.com/2007/09/upgrade-to-latest-kernelorg-kernel-with.html