After my first two migrations went flawlessly in a kvm environment, but I ran into an EFI boot problem when performing the same migration on an HP Slimline. Upon the first reboot after the migration, I get dumped to a grub prompt with the message:
System BootOrder not found. Initializing defaults.
Generating boot entry “Boot0000” with label “Rocky Linux” for file “\EFI\rocky\shimx64.efi”.
Secure boot is disabled and the file mentioned above does exist.
Rebooting again, the above message goes away, but I am still left staring at a grub prompt.
This is what I did to perform the migration:
rpm -e --nodeps centos-gpg-keys centos-linux-release centos-linux-repos
rpm -ivh
https://download.rockylinux.org/pub/rocky/8.3/BaseOS/x86_64/os/Packages/rocky-release-8.3-11.el8.noarch.rpm
https://download.rockylinux.org/pub/rocky/8.3/BaseOS/x86_64/os/Packages/rocky-repos-8.3-11.el8.noarch.rpm
https://download.rockylinux.org/pub/rocky/8.3/BaseOS/x86_64/os/Packages/rocky-gpg-keys-8.3-11.el8.noarch.rpm
dnf distro-sync -y
To troubleshoot, I have followed the steps for generating a new grub.cfg and also the steps for generating an entirely new /boot folder shown here: How to Recover GRUB 2 Bootloader in CentOS 8 - CentLinux
I’ve repeated this multiple times, using the path EFI/rocky and when that didn’t help, EFI/centos.
I’ve also run across Stack exchange articles that discuss moving the files under EFI/rocky to EFI/BOOT. Didn’t help either, but I’d rather not hack my system in this manner anyway.
The good news is I’ve got a Clonezilla backup of the disk so I can startover as many times as I’d like.
Any suggestions on how I can troubleshoot this further?