How to keep a particular kernel version?

Dennis Kaptain dkaptain at yahoo.com.mx
Thu Feb 23 22:56:04 UTC 2012



>________________________________
> De: M A Young <m.a.young at durham.ac.uk>
>Para: Community support for Fedora users <users at lists.fedoraproject.org> 
>Enviado: Jueves, 23 de febrero, 2012 15:29:49
>Asunto: Re: How to keep a particular kernel version?
> 
>On Thu, 23 Feb 2012, enclair wrote:
>
>> I have these three kernels: 3.1.9, 3.2.5 and 3.2.6
>> There is a new kernel in -updates (3.2.7).
>> If I update to the new kernel, yum will want to remove 3.1.9.
>> Is there a possibility to set up yum to keep the older kernel (3.1.9) and to
>> remove 3.2.5 instead (the middle one)?
>> (There is the possibility to remove the middle kernel before each updates,
>> but it's not really convenient).
>
>You could make sure you are running on the kernel you want to keep as yum won't remove the running kernel.
>
>    Michael Young
>-- users mailing list
>users at lists.fedoraproject.org
>To unsubscribe or change subscription options:
>https://admin.fedoraproject.org/mailman/listinfo/users
>Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>Have a question? Ask away: http://ask.fedoraproject.org
>
>
>

Yum is configured to keep 3 kernels. If you remove the middle one 3.2.5 manually, when yum runs it shouldn't remove any kernels since you only have 2. Alternately, you can configure yum to keep more than 3 kernels. But that will take up more disk space unnecessarily. 


DK


More information about the users mailing list