RHEL is unable to boot due to lack of $kernelopts in /boot/grub2/grubenv

Solution Verified - Updated -


  • RHEL is unable to boot due to lack of kernelopts variable in /boot/grub2/grubenv or lack of /boot/grub2/grubenv file.
  • For UEFI, file path is /boot/efi/EFI/redhat/grubenv.
  • On RHEL 8.1 and 8.2, grub.cfg has a fallback default_kernelopts variable , what is this used for?
set default_kernelopts="root=/dev/mapper/rhel_efi8-root ro resume=/dev/mapper/rhel_efi8-swap rd.lvm.lv=rhel_efi8/root rd.lvm.lv=rhel_efi8/swap "


  • Red Hat Enterprise Linux 8.0
  • Red Hat Enterprise Linux 8.1
  • Red Hat Enterprise Linux 8.2
  • grub2-common-2.02-87.el8_2 and earlier

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