On Tue, 1 Mar 2022 14:37:38 -0700
Chris Murphy <lists(a)colorremedies.com> wrote:
Summary----------
Most all Fedora variants (except Cloud) have a GRUB menu entry
containing the word "rescue". This kernel+initramfs pair are never
updated for the life of a Fedora installation. And they quickly become
stale as a Fedora installation ages. This kernel's modules are
eventually deleted, and if selected at boot time, the typical user
experience is a dracut shell.
There is a way to do this manually.
In order to create a new rescue kernel and initramfs, go into boot and delete the current
rescue kernel and initramfs. Then run the command below substituting the kernel you want
to use as the rescue kernel. The command below defaults to the currently running kernel.
/boot 10:03 AM root tty4
/usr/lib/kernel/install.d/51-dracut-rescue.install add $(uname -r) ""
/lib/modules/$(uname -r)/vmlinuz
Maybe it can be added to a script.