Re: Regenerating rescue kernels (Fedora upgrade documentation)

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

 



On 4/30/25 7:52 AM, Jered Floyd wrote:

I run into this every time I upgrade Fedora, but I always forget to follow-up on it... 42's the charm!

In the Upgrading Fedora docs (https://docs.fedoraproject.org/en-US/ quick-docs/upgrading-fedora-offline/#sect-update-rescue-kernel <https:// docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/#sect- update-rescue-kernel>) one of the optional post-upgrade steps is updating the rescue kernel.  The documentation linked says:

The rescue kernel regeneration process can be automated by installing the dracut-config-rescue package.

sudo dnf install dracut-config-rescue

Once installed, the rescue kernel will be regenerated as long as dracut is the initrd generator. See /usr/lib/kernel/install.d/51-dracut- rescue.install for details.

This seems to be incomplete or incorrect, because that package is installed but I've never had rescue kernels generated.  The referenced file (/usr/lib/kernel/install.d/51-dracut-rescue.install) isn't particularly useful to be referenced for details because it's a shell script with no user documentation.

Before I dig in and become a dracut expert... is this an easy doc fix for someone familiar?

That doc page is a bit unclear. That package will cause the rescue image to be created if it doesn't exist. You only need to do the "rm" part and the next kernel (re)install will re-create the rescue images.

--
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue




[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