View Full Version : [ubuntu] old kernel removal

September 6th, 2009, 01:02 AM
I have several kernels in /boot and wanted to know the correct way to remove them and fre up some space on /boot. Should I just remove them from /boot along with their entries in menu.lst or are there additional things I need to do to cleanup? Of course I will wait a while to make sure everything works before deleting anything.

September 6th, 2009, 01:35 AM
Nope, ya just delete em. Nothing special to do.

sudo apt-get autoremove

usually works. Some people had bad experiences with autoremove though, ya can just remove em manually. Open synaptic manager and search for the version (i.e. 2.6.28 ) or so, and remove everything but latest. As always ensure kernel is working fine for ya before.

Ya can just comment out entries if ya wish to play safe, kernels are only about 100mb each, most people's root is much larger.

September 6th, 2009, 01:39 AM
You can do it in Synaptic, search for "linux-image". If you mark them for complete removal it will remove the headers as well.


September 6th, 2009, 06:01 AM
thanks for reply you guys(girls) are the best!