How to keep an old kernel?

Ian Malone ibmalone at gmail.com
Thu Oct 10 16:53:09 UTC 2013


On 10 October 2013 15:34, David <dgboles at gmail.com> wrote:
> On 10/10/2013 10:17 AM, Frank Murphy wrote:
>> On Thu, 10 Oct 2013 10:13:30 -0400
>> Jim <binarynut at comcast.net> wrote:
>>
>>>
>>> In Fedora repo there is a package named
>>> "yum-plugin-versionlock-1.1.31-10.fc18.noarch" install it.
>>>
>>>
>>
>> He still want to be able to update kernel,
>> What he may be able to do is backup, needed
>> initramfs, vmlinuz, and config to /boot/backup,
>>
>> use that in kernel line as and when required?
>> Havn't tested this theory.
>
>
> These 'kernel files' are created when a kernel installed and they are
> specific for *that* kernel. They do not work with older or newer
> kernels. If *this* kernel is removed they no longer have any value. If
> you re-install that kernel these files are recreated.
>

Those files *include* the kernel (vmlinuz) and if you wanted you could
manually put them there after removing the package. (You'd also want
the relevant /lib/modules directory too, and probably the relevant
kernel headers)
That said, advice on methods to avoid uninstalling the package in the
first place is probably the best strategy.

-- 
imalone
http://ibmalone.blogspot.co.uk


More information about the users mailing list