System boots Rescue kernel by default after kernel update
Issue
-
After a kernel update, the system choose the Rescue entry by default:
more /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-0-rescue-45av4kvlvpv3436d382b01ade963784138d root=LABEL=img-rootfs ro console=tty0 console=ttyS0,115200n8 crashkernel=auto rhgb quiet LANG=en_US.UTF-8
-
The first entry in grub is the Rescue:
menuentry 'Red Hat Enterprise Linux Server 7.6 Rescue 45av4kvlvpv3436d382b01ade963784138d r (3.10.0-957.12.2.el7.x86_64)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-957.el7.x86_64-advanced-agrel908-2rda-4fag-ZL76-bGREklklzkflvtu' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod xfs set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ];- then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 ac79fezgremge2d-grggreeagre78-begreahkiu35d else search --no-floppy --fs-uuid --set=root a45av4kvlvpv3436d382b01ade963784138d fi linux16 /boot/vmlinuz-0-rescue-45av4kvlvpv3436d382b01ade963784138d root=LABEL=img-rootfs ro console=tty0 console=ttyS0,115200n8 crashkernel=auto rhgb quiet LANG=en_US.UTF-8 initrd16 /boot/initramfs-0-rescue-45av4kvlvpv3436d382b01ade963784138d.img }
Environment
- Red Hat Enterprise Linux 7
- grub2
- kernel
- Openstack
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.