Le 12/05/2018 à 06:34, David Collier a écrit :
From there, install GRUB EFI :
grub-install --target=x86_64-efi --bootloader-id=Ubuntu
this is where it fails, it complaints that
/usr/local/lib/grub/x86_64_efi/modinfo.sh does not exist. And indeed it
does not, it looks like I have /usr/local/lib/grub/i386-pc, but if I use
i386-pc in the command line it prints
grub-install: error: install device isn't specified
You don't want i386-pc. This installs GRUB for BIOS.
You wrote that you built and installed GRUB from the source tarball
instead of the distribution packages. Maybe you didn't build the EFI
targets, and it is better to stick with the distribution packages. The
one you need first is grub-efi-amd64-bin. It won't run grub-install
automatically. After all is fine, you can install grub-efi-amd64 which
replaces grub-pc and runs grub-install automatically.
Make sure you run grub-install from the distribution, not the one you
built from source.
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub