How to remove an uneeded Kernel

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Level 2
Level 2
Posts: 79
Joined: Thu Jan 28, 2010 12:10 pm

How to remove an uneeded Kernel

Postby Timbot2000 » Thu May 20, 2010 12:38 pm

Trying to resolve some graphical issues, I installed the 2.6.34 kernel by the following commands
wget -c ... 4_i386.deb ... 34_all.deb ... 4_i386.deb
sudo dpkg -i linux-headers-2.6.34-020634-generic_2.6.34-020634_i386.deb linux-headers-2.6.34-020634_2.6.34-020634_all.deb linux-image-2.6.34-020634-generic_2.6.34-020634_i386.deb

Since it A) did not work, and B) kills my wireless drivers, how can I remove this kernel so that the auto boot goes to the 2.6.31 kernel instead?

User avatar
Aging Technogeek
Level 13
Level 13
Posts: 4583
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

Re: How to remove an uneeded Kernel

Postby Aging Technogeek » Thu May 20, 2010 12:56 pm

The older kernel should be available in the Grub boot menu. Boot into it and do one of the following.

!. If you have Ubuntu Tweak installed, go to Package Cleaner=>Clean Kernels and delete the offending kernel.


2. Open Package Manager and type "Linux kernel 2.6.34" in the search box. Mark all 2.6.34 entries for complete removal and click Apply.
Registered Linux User 483387

Return to “Installation & Boot”