On Tue, 1 Mar 2022 14:37:38 -0700
Chris Murphy <li...@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.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to