Upgrade RHEL from 7.9 to 8.8 to avoid GRUB corruption
Directly upgrading from RHEL 7.9 to 8.10 may corrupt GRUB and prevent the system from booting. To avoid this, perform an intermediate upgrade to RHEL 8.8 first.
Steps
- Enable required RHEL 7 repositories to install the upgrade utility.
-
Install the
leapp
package to perform the OS upgrade. -
Run
leapp preupgrade
targeting RHEL 8.8 to detect any upgrade blockers. -
Unload the
pata_acpi
kernel module if required to proceed. - Provide confirmation for removing unsupported PAM modules in the answerfile.
-
Execute the upgrade using
leapp upgrade --target=8.8
. - Reboot the system to apply changes and complete the upgrade to RHEL 8.8.