How to keep an old kernel?

David dgboles at gmail.com
Thu Oct 10 15:02:26 UTC 2013


On 10/10/2013 10:44 AM, Frank Murphy wrote:
> On Thu, 10 Oct 2013 10:34:34 -0400
> David <dgboles at gmail.com> wrote:
> 
>> 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.
>>
> 
> So basically keep the kernel*.rpm,
> and rpm --force when necessary,
> along with grub2-mkconfig...
> 
> 


If you have the kernel-<some_name>.rpm you can install it with

yum localinstall <kernel-some_name>

or

rpm -ivh <kernel-some_name>

after it installs dracut will run and that creates these files

BTW FYI

<http://en.wikipedia.org/wiki/Vmlinux>

<http://en.wikipedia.org/wiki/Initramfs>

<http://en.wikipedia.org/wiki/Initramfs>

I *do not know* if it is necessary to run grub2-mkconfig. It would not
hurt. You would have to select this kernel from the menu at boot.
-- 

  David


More information about the users mailing list