Kernelopts not propagating to redhat/grubenv from grub2/grubenv
Issue
- After converting an Azure Generation 1 (BIOS) VM image to Generation 2 (UEFI), updated kernel parameters (such as FIPS
kernelopts) or default kernel selections made viagrubbydo not take effect upon reboot.- Checking
/boot/grub2/grubenvreveals that it is a regular file instead of a symbolic link pointing to the EFI directory. /boot/efi/EFI/redhat/grubenvis either missing or does not reflect updates made bygrubby.
- Checking
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- Microsoft Azure Gen1 to Gen2 VM migration/conversion
- UEFI
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.