Thanks to everyone here for the inputs and hints!
I was able to install Alma9 and survive reboots. Here are the detailed instructions:
-
I used the “renaming” approach by @RedEnzian and slightly adapted the commands from @ajm
mkdir images9 cp /root/.oldroot/nfs/images/Alma-92-amd64-base.tar.gz images9/ cp /root/.oldroot/nfs/images/Alma-92-amd64-base.tar.gz.sig images9/ cd mv images9/Alma-92-amd64-base.tar.gz images9/Alma-89-amd64-base.tar.gz mv images9/Alma-92-amd64-base.tar.gz.sig images9/Alma-89-amd64-base.tar.gz.sig ln -s images9/Alma-89-amd64-base.tar.gz images9/Alma-8-latest-amd64-base.tar.gz rm /root/images ln -s images9/ /root/images installimage -
In the GUI of
installimage, select the Alma8 installer. Important: At the end of the config, replace theIMAGEline by/root/images9/Alma-89-amd64-base.tar.gz -
After the installation, correct the boot order via
efibootmgrby
3.1 Checking which ID the “Almalinux” item has. The output will look likeBootCurrent: 0002 Timeout: 5 seconds BootOrder: 0002,0003,0004,0005,0001 Boot0001 UEFI: Built-in EFI Shell Boot0002* UEFI: PXE IP4 P0 Intel(R) I210 Gigabit Network Connection Boot0003* UEFI OS Boot0004* UEFI OS Boot0005* almalinux3.2 Example:
efibootmgr -o 0005,0002,0001,00004,0003
3.3.reboot -
Before doing anything, call
echo "exclude=grub2-*" >> /etc/yum.conf. This will prevent grub2 from getting updated, as otherwise subsequent boots won’t succeed. -
dnf update -
reboot -
Success!