Removing Old Kernels

Tom H tomh0665 at gmail.com
Fri Dec 11 14:09:14 UTC 2009


> There was a feature in ubuntu some time in the earlier releases where in
> there used to be only a specific copies of kernels maintained. The older
> one's would get deleted once the updates were applied. Not sure if its
> there in the current versions of ubuntu 9.10

You can add a "howmany=X" line to menu.lst to limit the number of
kernels that grub1's update-grub adds to menu.lst.

Based on
http://www.mail-archive.com/grub-devel@gnu.org/msg13049.html
it is unlikely to be added by the grub developers. It seems to have
been a Debian/Ubuntu customization. I do not have a grub1 install to
look at its update-grub script but I remember it to consist of more
than the grub2 update-grub script, which is a one-line grub-mkconfig
invocation.




More information about the ubuntu-users mailing list