From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [2.00] grub-install use on UEFI system?
Date: Wed, 26 Sep 2012 08:21:21 +0200 [thread overview]
Message-ID: <50629EE1.1080000@gmail.com> (raw)
In-Reply-To: <CAHCtW1goPzO4ZNhazGAi9WfO-gKsXTuXdz6X5U4DnsZHDeWzqw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2045 bytes --]
On 25.09.2012 20:42, yannubuntu@gmail.com wrote:
>
>
> 2012/9/25 Chris Murphy <lists@colorremedies.com
> <mailto:lists@colorremedies.com>>
>
>
> On Sep 25, 2012, at 6:17 AM, yannubuntu@gmail.com
> <mailto:yannubuntu@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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2012-09-26 6:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAHCtW1j=H5WRXSvoCgst5mtYnAcXH_Pa-HWz==T5TCjoUXeTvQ@mail.gmail.com>
[not found] ` <CAO3UsUSR_5jgFQ5wd_72rcQSZkaeQDVBHpv7gYMcu4Kpax5R5Q@mail.gmail.com>
2012-09-25 12:17 ` [2.00] grub-install use on UEFI system? yannubuntu
2012-09-25 17:16 ` Chris Murphy
2012-09-25 18:42 ` yannubuntu
2012-09-26 6:21 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-09-26 8:07 ` yannubuntu
2012-09-26 9:12 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-09-26 16:54 ` Chris Murphy
2012-09-26 17:17 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-09-26 18:08 ` Chris Murphy
2012-09-26 18:22 ` Andrey Borzenkov
2012-09-26 18:39 ` Chris Murphy
2012-09-26 19:49 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-09-26 20:45 ` Chris Murphy
2012-09-26 20:58 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-09-27 15:05 ` Andrey Borzenkov
2012-09-27 19:44 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-09-28 11:45 ` Andrey Borzenkov
[not found] <mailman.58.1348761613.15768.grub-devel@gnu.org>
2012-09-27 16:11 ` Tom Davies
2012-09-28 11:51 ` Andrey Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50629EE1.1080000@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.