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

Derek Broughton news at pointerstop.ca
Mon Oct 13 15:43:14 UTC 2008


NoOp wrote:

> On 10/12/2008 01:47 PM, Adam Funk wrote:
>> 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?
> 
> No, but it does do exactly what the OP asked for:
> 
> <quote>
> 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.
> </quote>
> 
> The OP (Scott) didn't ask how to remove the kernels from this system, he
> asked how to 'dwindle' the kernel list in his menu.lst down "to two
> kernels at a time".
 
Well, no, he didn't ask how to "'dwindle' the kernel list".  He said he had
too many kernels in the list, and how to "dwindle them".  I take that to
mean the kernels themselves :-)
-- 
derek





More information about the ubuntu-users mailing list