Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-109456

The EFI grub fallback option in RHEL9 does not function correctly in a PXE environment.

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.8
    • rhel-9.6
    • grub2
    • grub2-2.06-115.el9
    • Yes
    • Low
    • 4
    • rhel-bootloader
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • 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

      1. Setup PXE environment for UEFI machines.
      2. Use the following grub config:
      3. 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.

              bootloader-eng-team bootloader -eng-team
              rhn-support-qguo Qi Guo
              bootloader -eng-team bootloader -eng-team
              Release Test Team Release Test Team
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: