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

Adam Funk a24061 at ducksburg.com
Sun Oct 12 20:47:50 UTC 2008


On 2008-10-10, Karl Larsen wrote:

> 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.

That doesn't remove the potentially crufty old kernel packages, does
it?





More information about the ubuntu-users mailing list