Removing Old Kernels

Karl F. Larsen klarsen1 at gmail.com
Sat Dec 12 13:34:33 UTC 2009


Leonard Chatagnier wrote:
> Bret Busby wrote:
>> On Fri, 11 Dec 2009, Tom H wrote:
>>
>>    
>>> Date: Fri, 11 Dec 2009 15:09:14 +0100
>>> From: Tom H<tomh0665 at gmail.com>
>>> Reply-To: "Ubuntu user technical support, not for general discussions"
>>>      <ubuntu-users at lists.ubuntu.com>
>>> To: ubuntu-users at lists.ubuntu.com
>>> Subject: Re: Removing Old Kernels
>>>
>>>      
>>>> There was a feature in ubuntu some time in the earlier releases where in
>>>> there used to be only a specific copies of kernels maintained. The older
>>>> one's would get deleted once the updates were applied. Not sure if its
>>>> there in the current versions of ubuntu 9.10
>>>>        
>>> You can add a "howmany=X" line to menu.lst to limit the number of
>>> kernels that grub1's update-grub adds to menu.lst.
>>>
>>> Based on
>>> http://www.mail-archive.com/grub-devel@gnu.org/msg13049.html
>>> it is unlikely to be added by the grub developers. It seems to have
>>> been a Debian/Ubuntu customization. I do not have a grub1 install to
>>> look at its update-grub script but I remember it to consist of more
>>> than the grub2 update-grub script, which is a one-line grub-mkconfig
>>> invocation.
>>>
>>>
>>>      
>> Please advse of the path for menu.lst .
>>
>> Thank you in anticipation.
>>    
> Unless I misunderstand you request, menu.lst is in folder /boot/grub when using
> 
> grub1.  For grub2, menu.lst is replaced by grub.cfg in the same folder.
> 
> 

	That is not the end of the story. How do you change grub.cfg? 
Menu.lst you just edited with gedit, simple. Editing grub.cfg 
is NOT SIMPLE!

73 Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
         Key ID = 3951B48D





More information about the ubuntu-users mailing list