Removing Old Kernels
Leonard Chatagnier
lenc5570 at sbcglobal.net
Sat Dec 12 06:49:48 UTC 2009
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.
More information about the ubuntu-users
mailing list