2012/9/25 Chris Murphy <[email protected]>

>
> On Sep 25, 2012, at 6:17 AM, [email protected] wrote:
>
>
> With 1.99, i only had to use 'grub-install' (without any parameter, and
> not necessarily booted in EFI mode).
> It would be nice (for retrocompatibility) if 2.00 could do the same (eg it
> could guess the 32/64 architecture, and set --efi-directory to /boot/efi by
> default).
>
>
> It's not that simple. /boot/efi is just a mount point for the EFI System
> partition. grub.efi can't free float on that partition, it won't be found.
> It needs to go in /efi/grub or /efi/fedora or /efi/suse or whatever, per
> the UEFI spec. I think for upstream grub it probably would be
> <mountpoint>/efi/grub. And then each distribution can modify so their
> grub-install will place grub.efi in the distribution specific location on
> the EFI System partition.
>

Thanks Chris,

I agree that GRUB needs to know in which ESP's sub-folder (eg /efi/fedora)
it needs to create the grub*.efi file, but then i wonder:

1) why does 'grub-install' (without any parameter) work for Ubuntu12.04
(grub1.99) ?
2) why does the command indicated by Aaron for 2.00 (grub-install
--target=x86_64-efi --efi-directory="<root efi directory, eg. /boot/efi>")
does not specify this sub-folder ?

Regards
Yann
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to