How to keep an old kernel?

Timothy Murphy gayleard at eircom.net
Thu Oct 10 21:06:41 UTC 2013


Tim wrote:

>> In any case, I have one 3.10 kernel in my three grub kernels.
>> I'm yum-updating with exclude=kernel* to avoid losing this kernel.
>> But I'm wondering if there is some way of telling yum
>> that I want to keep this kernel, but would like to update
>> the current kernel?
> 
> Simplistic solution, set yum to keep something like 5, or more, kernels.
> So that it's so long before it automatically removes one, that you've
> still got the one that you want.   And that gives you much more time to
> see whether any new kernels do work adequately.  You can manually remove
> in-between versions.

Thanks for your response, which was very helpful.
I've set installonly_limit=6 in /etc/yum.conf .
I'm still having problems with kernel-3.11 ,
though less than was the case, I think.

> However, I think you could list the exact version that you want to
> exclude.

I'm not quite sure of the logic of 
"yum --exclude=kernel-PAE-devel-3.10.* update"

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the users mailing list