On Mon, 4 Apr 2022 15:58:14 -0500
Gregory Bartholomew <gregory.lee.bartholomew(a)gmail.com> wrote:
> Of topic but related: I wish there was supported option to
remove
> the current rescue kernel,
Is echo "dracut_rescue_image=no" > /etc/dracut.conf.d/rescue.conf not
sufficient?
That is an interesting option. It isn't documented in man dracut.conf.
Is it new? 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/