following Can't boot after moving all partitions - #7 by djkato, I now know how to enter my rocky installation through grub manually, but I don’t know how to just have it auto boot into it.
I have separate /boot and separate /boot/efi partitions I think.
inside /boot/efi/EFI/
there’s BOOT/
, fedora/
and rocky/
.
Since fedora works, and rocky doesn’t, I checked the differences between the two folders.
fedora/grub.cfg
exists, but rocky/grub.cfg
doesn’t.
- I tried to get it recognized again by following redhats guide, and did:
sudo yum reinstall grub2-efi shim
, which didn’t do anything noticeable - Then I tried following this superuser post answer, and did:
efibootmgr -c --disk /dev/sdX --part Y && efibootmgr -v
which looked promising but also didn’t do anything. Said it will try to boot some “linux” over “fedora” but that didn’t reflect in bios, and had to start rl manually through grub again.
What do I need to do to have grub2/efi recognise rocky as bootable again?