-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
rhel-9.4
-
None
-
None
-
Important
-
rhel-bootloader
-
ssg_display
-
None
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
x86_64
-
None
What were you trying to do that didn't work?
The new release of grub2-common-2.06-80.el9_4.noarch breaks leapp upgrades from RHEL8 to RHEL9 on UEFI: after the upgrade occurs, the next reboot (on RHEL9 kernel) fails at "grub>" prompt.
The reason for this is grub2-common-2.06-80.el9_4.noarch doesn't move /boot/efi/EFI/redhat/grub.cfg to /boot/grub2/grub.cfg anymore but just replaces it with the stub:
# rpm -q --scripts -p ./grub2-common-2.06-80.el9_4.noarch.rpm
posttrans scriptlet (using /bin/sh):
[...]
mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg
Whereas with older release:
# rpm -q --scripts -p ./grub2-common-2.06-77.el9.noarch.rpm
posttrans scriptlet (using /bin/sh):
[...]
cp -a ${EFI_HOME}/grub.cfg ${EFI_HOME}/grub.cfg.rpmsave
cp -a ${EFI_HOME}/grub.cfg ${GRUB_HOME}/
mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg
Please provide the package NVR for which bug is seen:
grub2-common-2.06-80.el9_4.noarch
How reproducible:
Always
Steps to reproduce
- Upgrade a UEFI system in RHEL8 to RHEL9
Expected results
Boots fine on RHEL9
Actual results
Stops at "grub>" prompt
- links to