How to regenerate initramfs and vmlinuz for rescue on RHEL 8 or later ?
Issue
- How to regenerate initramfs-0-rescue-* and vmlinuz-0-rescue-* for rescue kernel after upgrading kernel.
- How to add the rescue kernel title if it is missing in grub menus.
- Unable to find
/etc/kernel/postinst.d/51-dracut-rescue-postinst.sh.
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- dracut-config-rescue
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.