When executed for an EFI target, grub-install checks for the path of efibootmgr - however, this utility is not required (or used) when installing to a removable media (with --removable).
However, since grub-install does "set -e", the absence of efibootmgr on the system causes the install script to exit with an error code, without any message, after a successful installation. (Found because I'm doing EFI builds on my chromebook.) Trivial patch attached. / Leif
=== modified file 'util/grub-install.in' --- util/grub-install.in 2013-04-29 10:26:43 +0000 +++ util/grub-install.in 2013-05-09 10:23:06 +0000 @@ -754,7 +754,7 @@ fi # Try to make this image bootable using the EFI Boot Manager, if available. - efibootmgr="`which efibootmgr`" + efibootmgr="`which efibootmgr`" || true if test "$removable" = no && test -n "$efi_distributor" && \ test -n "$efibootmgr"; then # On Linux, we need the efivars kernel modules.
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel