How to reinstall GRUB on an IBM Power system (ppc64le)
Issue
- PowerPC system drops to GRUB rescue after OS update.
- IBM Power (ppc64le) system boots to the GRUB rescue mode following an OS patching procedure:
Elapsed time since release of system processors: 1852436 mins 26 secs
error: symbol `grub_real_boot_time' not found.
Entering rescue mode...
grub rescue>
- After boot the system to rescue mode, attempts to reinstall the boot loader fail with errors similar to the following:
bash-4.4# grub2-install /dev/mapper/mpatha
Installing for powerpc-ieee1275 platform.
grub2-install: error: the chosen partition is not a PReP partition.
bash-4.4# grub2-install /dev/sda
Installing for powerpc-ieee1275 platform.
free(): invalid pointer
Aborted (core dumped)
Environment
- Red Hat Enterprise Linux 8
- IBM Power Systems (ppc64le)
- GRUB2 Bootloader
- Legacy/BIOS booting systems
Note: For UEFI systems, please refer to How to reinstall GRUB and GRUB2 on UEFI-based machines?
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.