-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-9.4
-
None
-
grub2-2.06-110.el9
-
None
-
Low
-
Upstream
-
rhel-bootloader
-
ssg_display
-
3
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
-
x86_64
-
None
What were you trying to do that didn't work?
Trying to install a system with RHEL9 and UEFI, which has its disks as a DDF container, the RPM scriptlet of grub2-common fails in error, causing the installation to fail:
Error in POSTTRANS scriptlet in rpm package grub2-common
After much investigation, the root cause is grub2-probe executing in the RPM scriptlet fails in error because it's not capable of detecting the DDF volume:
# grub2-probe --target=fs_uuid /boot grub2-probe: error: ../grub-core/kern/disk.c:236:disk `mduuid/ae5ff76c9b96633df9ac83931903c2a9,1' not found.
A workaround is to create /boot/grub2/device.map with mapping below:
(hd0) /dev/md126p2
But such mapping cannot be created without much hacking during the installation phase, hence tagging this JIRA as Major.
Please provide the package NVR for which bug is seen:
grub2-tools-minimal-2.06-80.el9_4.x86_64
How reproducible:
Always
Steps to reproduce (minimal reproducer)
- On a QEMU/KVM system, add 2 additional disks that will be used as a DDF Raid
- Create a DDF Raid on the disks, format it and mount it
# yum -y install mdadm # mdadm --create /dev/md/ddf --name=ddf --level container --raid-disks=2 --metadata=ddf /dev/vdb /dev/vdc # mdadm --create /dev/md/Volume0 --name=Volume0 --level raid1 --raid-disks=2 /dev/md/ddf # mkfs.xfs /dev/md/Volume0 # mount /dev/md/Volume0 /mnt
- Execute grub2-probe
# grub2-probe --target=fs_uuid /mnt
Expected results
Some UUID being returned
Actual results
grub2-probe: error: ../grub-core/kern/disk.c:236:disk `mduuid/ae5ff76c9b96633df9ac83931903c2a9' not found.
- links to
-
RHSA-2025:147976 grub2 bug fix and enhancement update