Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Edgy,Feisty,Gutsy,Hardy

  • Subscribe RSS Feed

    subscribe to the ubuntu Geek RSS feed




  • Sponsor

  • Categories

  • Meta

  • Sponsor

  • Archives



  • WidgetBucks - Trend Watch - WidgetBucks.com

Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn

Posted by admin on August 2nd, 2007 Email This Post Email This Post

Currently Feisty Fawn users (7.04) using the generic kernel (which is 2.6.20-16-generic). This tutorial will explain howto upgrade you to kernel version 2.6.22-9-generic(as of 07AUG07).

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!

Related Articles

13 Responses to “Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn”

  1. Adam Says:

    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.

  2. Jason Says:

    Thanks for the guide, Worked well for me Thank you!

  3. Mark W. Tomlinson Says:

    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…

  4. Harlem Says:

    Yes, I agree with the previous comment. Does this upgrade fix a lot of the issues that Feisty Fawn has?

  5. Borisz Says:

    needs the libc6 2.6 package, but feisty has libc6 2.5.

  6. LuisC-SM Says:

    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

  7. Dan Shaya Says:

    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.

  8. LuisC-SM Says:

    Oops, I made a typo… I meant to say 2.6.22-xx

    Sorry and Kind Regards

    Luis

  9. Dan Shaya Says:

    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

  10. hc Says:

    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

  11. William Says:

    Update: now the latest version of kernel should be 2.6.22-11

  12. Dexter Filmore Says:

    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.

  13. ds Says:

    …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

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>