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

Karl Larsen k5di at zianet.com
Fri Oct 10 20:16:46 UTC 2008


Adam Funk wrote:
> On 2008-10-10, 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.
>>     
>
> I just use aptitude or synaptic to (carefully!) remove all but the two
> newest kernel packages that I have.  The package removal script
> automatically takes them out of the GRUB menu.
>
>
>   
    If you read your file /boot/grub/menu.lst you will find a line that 
tells grub how many kernel's to save. Make that 2 and you will be happy.

Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list