Broken symbolic link of /boot/grub2/grubenv causes failure to change default kernel in RHEL8

Solution Verified - Updated -

Issue

  • After kernel update, system still boot to old kernel , but can boot to new installed kernel after manually select it from Grub menu.
  • For some reasons, the symbolic link (/boot/grub2/grubenv -> ../efi/EFI/redhat/grubenv) is broken.
  • Even after executing grubby --set-default /boot/vmlinuz-xxx-xxx.xx.x.el8_10.x86_64, system can't boot to desired kernel.

Environment

  • Red Hat Enterprise Linux 8
  • EFI-based system

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content