how to dwindle down the number of kernels in menu.lst to two

Tony Arnold tony.arnold at manchester.ac.uk
Sat Oct 11 16:43:35 UTC 2008


Darren,

Darren Mansell wrote:
> On Friday 10 October 2008 17:11:24 Scott Berry wrote:
>> 		I have too many kernels in my menu.lst.  i think I have like seven or
>> eight of them.  How do i dwindle them down to two kernels at a time.
>> The previous kernel say for instance linux-2.6.27-5 and 6.  I think that
>> would be plenty of kernels.
> 
> system-cleaner seemed to work very well for me. It removes obsolete and 
> potentially unneeded packages including old kernels.

Or you can edit /boot/grub/menu.lst and change the line:

	# howmany=7

to

	# howmany=2

where 2 is the number of kernel options you want on you grub menu.

The run (as root) update-grub

Regards,
Tony.
-- 
Tony Arnold,                        Tel: +44 (0) 161 275 6093
Head of IT Security,                Fax: +44 (0) 870 136 1004
University of Manchester,           Mob: +44 (0) 773 330 0039
Manchester M13 9PL.                 Email: tony.arnold at manchester.ac.uk




More information about the ubuntu-users mailing list