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

EFI grub.cfg wrapper is wrong when having /boot on a Software Raid

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.5
    • rhel-9.4
    • grub2
    • None
    • grub2-2.06-80.el9
    • None
    • Moderate
    • ZStream
    • sst_desktop_firmware_bootloaders
    • ssg_display
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • Approved Blocker
    • x86_64
    • None

      What were you trying to do that didn't work?

      When installing a system with /boot as a Software Raid, the system will not boot properly in case grub2-common created the wrapper but enter grub> prompt.

      Hopefully with Anaconda, the issue doesn't happen because Anaconda generates the wrapper by itself (which is, IMHO, a bug, it should let grub2-common handle this).
      This is however an issue when Leapp'ing a system from RHEL8 to RHEL9.

      The issue happens because the parameter --root-dev-only is passed to search command:

      search --no-floppy --root-dev-only --fs-uuid --set=dev ${BOOT_UUID}
      

      In case of Software Raid, this parameter breaks the functionality.

      Please provide the package NVR for which bug is seen:

      grub2-common-2.06-77.el9.noarch

      How reproducible:

      Always

      Steps to reproduce

      1. Install a RHEL8 system in UEFI with /boot on a SoftRaid
      2. Leapp it

      Expected results

      Boots on RHEL9 after upgrade

      Actual results

      Falls into grub> prompt

            bootloader-eng-team bootloader -eng-team
            rhn-support-rmetrich Renaud Métrich
            Gabriela Fialova
            bootloader -eng-team bootloader -eng-team
            Release Test Team Release Test Team
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: