On 25.09.2012 20:42, yannubu...@gmail.com wrote:

> 
> 
> 2012/9/25 Chris Murphy <li...@colorremedies.com
> <mailto:li...@colorremedies.com>>
> 
> 
>     On Sep 25, 2012, at 6:17 AM, yannubu...@gmail.com
>     <mailto:yannubu...@gmail.com> 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) ?

Probably because your kernel doesn't handle EFI properly so grub-install
wasn't able to detect it (/sys/firmware/efi was missing). For older
versions only one flavour of GRUB could be installed at a time.

> 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 ?
> 

Because this is not part of efi-directory (and RTFM)

> Regards
> Yann
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to