I need to create a new rescue disk - Reinstalling the kernel core didn't work. Would this?

When trying to resolve a /boot space issue i mistakingly deleted the rescue image. I tried reinstalling the kernel call, which didn’t create a new rescue image. Would this work instead?

sudo dnf reinstall dracut

sudo dracut --force

Thank you for your help.

Update rescue image? - #4 by vgaetera

2 Likes

Thank you for sharing that, i appreciate it :slight_smile:

What ended up working for me was:

sudo dracut --force /boot/initramfs-$(uname -r)-rescue.img $(uname -r) --add "rescue"

Followed by confirming it’s creation with:

ls /boot/initramfs-*-rescue.img
2 Likes