Re: "rescue" boot entry files are not updated on OS upgrades

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 1 Mar 2022 14:37:38 -0700
Chris Murphy <lists@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux