On 4/5/22 11:11 AM, Neal Gompa wrote:
On Tue, Apr 5, 2022 at 10:47 AM stan via devel
> 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
> 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) ""
> 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/
You could also just remove the "dracut-config-rescue" package from your
And this is the magic bit. Thanks.