Actually change the command to :

./grub-mkimage -d . -o grub.efi -O TARGET_EFI_ARCH-efi -p "" <Your
list of GRUB2 Modules>

The 2 double quotes after -p is very important. Without the double
quotes, grub_prefix is set to /boot/grub (default) in the generated
efi app and grub.efi searches for /boot/grub/grub.cfg (not
/efi/grub/grub.cfg or /efi/grub2/grub.cfg). If you specify null prefix
parameter, grub.efi will check for the path from where it has been
loaded and set that path as grub_prefix, thus making grub.efi
portable.

_______________________________________________
Help-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to