On Fri, May 3, 2019 at 6:43 PM Samuel Sieb <samuel(a)sieb.net> wrote:
That's why I asked the previous question which you answered wrong.
You are trying to create a legacy grub config while booted in EFI
mode. That is not likely going to work. You could try booting a
netinst image in legacy mode using the rescue option and try to fix
it from there. Or even a regular live image booted in legacy mode.
You could boot the ISOs using a VM as well.
You should be able to set up grub for booting from csm and efi while
booted in either.
You need to have
grub2-efi-x64 and grub2-efi-x64-modules
grub2-pc and grub2-pc-modules
installed
You then have to use "grub2-install" with "--target=i386-pc" for csm
and "--target=x86_64-efi" for efi.
The first'll install the modules into "/boot/grub2/i386-pc" and the
second into "/boot/grub2/x86_64-efi".