What were you trying to do that didn't work?
I want to display the GRUB menu but I can't update the GRUB configuration.
What is the impact of this issue to you?
I can't select boot entries to rescue my system.
Please provide the package NVR for which the bug is seen:
grub2-common-2.06-92.el9.noarch
How reproducible is this bug?:
100%
Steps to reproduce
- Create a centos-stream9 image with bootc-image-builder, ref. https://github.com/osbuild/bootc-image-builder
- Create grub config
# cat /etc/default/grub GRUB_TIMEOUT=5
- Update the config
# grub2-mkconfig -o /boot/grub2/grub.cfg
Expected results
The menu is updated. The menu is shown after next boot.
Actual results
/usr/sbin/grub2-probe: error: failed to get canonical path of `composefs'.
Additional notes
I also tried to update during container build but that one failed, too:
STEP 7/8: RUN grub2-mkconfig -o /boot/grub2/grub.cfg /usr/sbin/grub2-probe: error: failed to get canonical path of `overlay'. Error: building at STEP "RUN grub2-mkconfig -o /boot/grub2/grub.cfg": while running runtime: exit status 1
- duplicates
-
RHEL-59866 grub2-probe: error: failed to get canonical path of `overlay' in bootc image
- New