On Fri, 18 Mar 2016 11:52:44 -0600
Michal Jaegermann <michal.jnn(a)gmail.com> wrote:
On Fri, Mar 18, 2016 at 11:09:49AM -0500, Dennis Gilmore wrote:
>
> I should be generated when you do a kernel install next.
....
>
> though I do wonder how my resuce
> kernel from 2013 will do with a fedora 24 system
As you say - if you will remove an existing rescue kernel and its
initrams just before installing a new kernel then a rescue will be
"refreshed" from the one you are now installing. Assuming that you
installed required dracut support and you do not have
'dracut_rescue_image="no"' in your dracut configuration.
This actually worked wherever I tried.
I removed the entry from my grub2-efi.cfg and it never came back until
I realized that I hadn't removed the rescue stuff from /boot. if you
have an old rescue kernel and initramfs it won't make a new one.
Removing those and installing a new kernel did make it work.
So, to cleanly remove it:
* remove the grub2* entry
* rm the stuff from /boot
* dnf remove dracut-config-rescue
kevin