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

Upgraded hosts with /boot in LVM volume won't EFI boot

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0
    • grub2
    • None
    • No
    • None
    • rhel-sst-desktop-firmware-bootloaders
    • ssg_display
    • 1
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

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

      Upgrade from rhel-8.4 to rhel-9.2 with a custom partition layout which has /boot in a root LVM volume. grub2 no longer includes the lvm module by default so the grub2-common generated stub /boot/efi/EFI/redhat/grub.cfg fails to boot and goes to a grub prompt.

      Please provide the package NVR for which bug is seen:

      grub2-common-2.06-61.el9_2.4.noarch

      How reproducible:

      On first upgrade from rhel8.4 -> rhel9.2, also whenever the grub2-common package is updated and the host is rebooted

      Steps to reproduce

      1. Start with a rhel-8 host which has a custom partition layout with /boot in an lvm volume
      2. Set boot mode to UEFI
      3. Upgrade to rhel-9.2 and reboot

      Expected results

      The host boots

      Actual results

      The host fails to boot and goes to a grub prompt, as the root device cannot be found because the "lvm" module isn't loaded by /boot/efi/EFI/redhat/grub.cfg

              bootloader-eng-team bootloader -eng-team
              rhn-engineering-sbaker Steve Baker
              bootloader -eng-team bootloader -eng-team
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: