How to remove existing rescue kernel and how to prevent them from being created after new kernel updates.
Issue
- The
rescue kernelis taking up space in /boot. - A
rescue kernelentry is created for everyKernelinstallation. - A
rescue kernelis marked as default after aKernelinstallation. /bootcontains multipleinitramfs-0-rescueand/orvmlinuz-0-rescuefiles- GRUB boot menu shows multiple
0-rescueentries
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.