-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-9.6
-
grub2-2.06-115.el9
-
Yes
-
Low
-
4
-
rhel-bootloader
-
1
-
False
-
False
-
-
None
-
Bootloader Sprint 2025.1, Bootloader Sprint 2025.2, Bootloader Sprint 2025.3, Bootloader Sprint 2025.4
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
In a PXE environment, when configuring a menu for EFI machines using grub, the configured `fallback=` option is not executing as expected during testing.
What is the impact of this issue to you?
The fallback option is not working.
Please provide the package NVR for which the bug is seen:
<RHEL9.6_GA_DVD>/EFI/BOOT/grubx64.efi
How reproducible is this bug?:
100%
Steps to reproduce
- Setup PXE environment for UEFI machines.
- Use the following grub config:
set default="1" set fallback="2" set timeout=6 menuentry 'UEFI, Install Red Hat Enterprise Linux 8.3' --class fedora --class gnu-linux --class gnu --class os { linuxefi /r8u3/vmlinuz inst.stage2=http://192.168.18.50/r8u3/ inst.sshd selinux=0 inst.repo=http://192.168.18.50/r8u3 initrdefi /r8u3/initrd.img } menuentry 'UEFI, Install Red Hat Enterprise Linux 8.10' --class fedora --class gnu-linux --class gnu --class os { linuxefi /r8u10/vmlinuz-bad inst.stage2=http://192.168.18.50/r8u10_x86_64 inst.sshd selinux=0 inst.repo=http://192.168.18.50/r8u10_x86_64 initrdefi /r8u10/initrd.img } menuentry 'UEFI, Install Red Hat Enterprise Linux 9.4' --class fedora --class gnu-linux --class gnu --class os { linuxefi /r9u4/vmlinuz inst.stage2=http://192.168.18.50/r9u4_x86_64 inst.sshd selinux=0 inst.repo=http://192.168.18.50/r9u4_x86_64 initrdefi /r9u4/initrd.img } NOTE: The /r8u10/vmlinuz-bad is a NON-existent kernel file. This is to trigger the fallback option.
Expected results
After the menuentry '1' is executed and fails, the 'UEFI, Install Red Hat Enterprise Linux 9.4' should be used as a fallback entry.
Actual results
It just back to the main window of the grub.
- links to
-
RHBA-2025:154683
grub2 update