-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
rhel-9.4
-
Yes
-
Moderate
-
rhel-sst-desktop-firmware-bootloaders
-
ssg_display
-
2
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
x86_64
-
None
"connectefi scsi" from the grub.cfg is getting removed after updating the grub2 packages from 2.06-77.el9 to 2.06-80.el9_4 on VMware7,1 resulting in boot failure.
Contents of grub.cfg before the upgrade.
connectefi scsi
search --no-floppy --fs-uuid --set=dev de745d35-a845-4af2-b56c-cf6cc26e52a7
set prefix=($dev)/grub2
export $prefix
configfile $prefix/grub.cfg
Contents of grub.cfg file after the upgrade.
search --no-floppy --root-dev-only --fs-uuid --set=dev de745d35-a845-4af2-b56c-cf6cc26e52a7
set prefix=($dev)/grub2
export $prefix
configfile $prefix/grub.cfg
The grub2-common package has a posttrans script that creates grub.cfg.std with the below content and renames it as grub.cfg
cat << EOF > ${EFI_HOME}/grub.cfg.stb
search --no-floppy --root-dev-only --fs-uuid --set=dev ${BOOT_UUID}
set prefix=(\$dev)${GRUB_DIR}
export \$prefix
configfile \$prefix/grub.cfg
EOF