Re: Regenerating rescue kernels (Fedora upgrade documentation)

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

 



Hi Jered,

> On 30. Apr 2025, at 16:52, Jered Floyd <jered@xxxxxxxxxx> wrote:
> 
> 
> 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?

Installing dracut-config-rescue only enables re-generation of the rescue kernel when the next kernel update happens, it does not trigger re-generation of the rescue kernel on its own.

If you want to do that, the simplest way is probably to just `dnf reinstall` the kernel. Alternatively, invoking /usr/bin/kernel-install with the right parameters will run this scriptlet, and also re-generate the rescue kernel.


HTH,
Clemens
-- 
Clemens Lang
RHEL Crypto Team
Red Hat

-- 
_______________________________________________
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