grml / grml-rescueboot

32 stars 14 forks source link

linuxefi / initrdefi necessary on EFI systems #7

Open Zugschlus opened 7 years ago

Zugschlus commented 7 years ago

Hi, when trying to boot grml-rescueboot from grub-efi (on fedora), a manual change of "linux" to "linuxefi" and "initrd" to "initrdefi" is necessary. After that change, the grml.iso boots flawlessly. Probably the choice whether to add the "efi" suffix can be taken depending on whether /boot/efi exists. But maybe, there is a more elegant way to determine whether the currently running system was booted off efi or not. Greetings Marc

mika commented 4 years ago

So I tried to reproduce this on a Debian/buster system running in an EFI environment, but couldn't reproduce it. :)

I don't understand why linuxefi or initrdefi are relevant at all, we just set up the ISOs via the loopbackfeature within GRUB:

screenshot 2020-07-17T23-56-51

Once you select such an entry from the GRUB boot menu:

screenshot 2020-07-18T00-00-59

... then the ISO is loaded as-is and the entries of GRUB from the ISO are used as if you would boot it directly:

screenshot 2020-07-17T23-59-39

Do you still have access to this setup and can try verifying this with our latest stable release (Grml 2020.06)? Otherwise I'd tend to close this bugreport. Thanks!