[ubuntu-uk] old kernals

Tony Arnold tony.arnold at manchester.ac.uk
Tue Feb 13 07:48:36 GMT 2007

baza wrote:
> Hi, I've got loads of old kernals in my boot menu, how do I remove the
> ones I don't need from my system?

dit /boot/grub/menu.lst as root and look for the line with the keyword
'howmany'. Uncomment this line and set the number to be the number of
kernels you want to keep. I usually set this to 4. Then run update-grub
as root and you will be left with 4 kernels in your menu. And it will
stay that way even after a kernel upgrade.

Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold

More information about the ubuntu-uk mailing list