Re: RFI/RFC: Fedora Linux graphical recovery environment

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

 



On Tue, 5 Apr 2022 11:26:35 -0500
Gregory Bartholomew <gregory.lee.bartholomew@xxxxxxxxx> wrote:

> On Tue, Apr 5, 2022 at 9:47 AM stan via devel
> <devel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

> >   I just manually remove the rescue vmlinuz and initramfs and
> > then run
> > /usr/lib/kernel/install.d/51-dracut-rescue.install add $(uname -r)
> > "" /lib/modules/$(uname -r)/vmlinuz
> > in the /boot directory to build a new rescue kernel from the
> > currently running kernel.  Is there an option to do that also?
> > i.e. I invoke  
>> 
>> dracut from the command line and it automatically does all that if a
> > rescue_build.conf file is present in /etc/dracut.conf.d/
> >  
> 
> Well sort of. If you really want complete control over how the rescue
> kernels are installed one option is to copy
> the /usr/lib/kernel/install.d/51-dracut-rescue.install script
> to /etc/kernel/install.d and tweak it to do whatever you want under
> whatever conditions you want. As long as the script under
> /etc/kernel/install.d has the same name as the script under
> /usr/lib/kernel/install.d, it will override (i.e. run instead of) the
> one under /usr/lib/kernel/install.d.

Thanks for the information.  It will probably be a rainy day project,
as doing it manually is not onerous, since I only do it when the
production kernel version changes.  e.g. 5.17 to 5.18  So, about every
3 months?

I actually might take your suggestion about how to turn off rescue
kernels, since, like you, I have two installations of fedora, and use
one (previous version) as a rescue system.  On the other hand, belt and
suspenders.
_______________________________________________
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