PDA

View Full Version : [ubuntu] uninstall Old kernel and remove grub entry



sanumala
June 24th, 2009, 05:41 AM
I have installed ubuntu 9.04 64 bit with the cd created 1 month back. Ubuntu update manager suggested new updatd and i have installed all suggested updates after clean install


In the update process kernel updated to newer version

sanumala@devone:~$ uname -r
2.6.28-13-generic

which was previously 11-generic..

I know i can comment grub.conf entries to don't show older kernel options while booting .

but how can i uninstall older kernels which I am not using and how can i reomove older kernel entries completly form grub??

Answers will get :popcorn: :D

merlinus
June 24th, 2009, 05:45 AM
Use synaptic. Search for the kernels you wish to remove, and grub's menu.lst will be automatically updated.

You can simply search for -11, and remove headers and image.

But be sure that -13 is working properly before doing this!

FWIW, I always keep two kernels. When a new one is released, then I delete the oldest. That way, should anything untoward occur, I can use the previous kernel and run ubuntu.

sanumala
June 24th, 2009, 09:01 PM
Use synaptic. Search for the kernels you wish to remove, and grub's menu.lst will be automatically updated.

You can simply search for -11, and remove headers and image.

But be sure that -13 is working properly before doing this!

FWIW, I always keep two kernels. When a new one is released, then I delete the oldest. That way, should anything untoward occur, I can use the previous kernel and run ubuntu.

Thankyou. then i will keep 2 kernels. :P