How to remove an uneeded Kernel

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Timbot2000

How to remove an uneeded Kernel

Post by Timbot2000 »

Trying to resolve some graphical issues, I installed the 2.6.34 kernel by the following commands
wget -c http://kernel.ubuntu.com/~kernel-ppa/ma ... 4_i386.deb http://kernel.ubuntu.com/~kernel-ppa/ma ... 34_all.deb http://kernel.ubuntu.com/~kernel-ppa/ma ... 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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Aging Technogeek

Re: How to remove an uneeded Kernel

Post by Aging Technogeek »

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.

or

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.
Locked

Return to “Installation & Boot”