From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TGl06-0004lw-9u for mharc-grub-devel@gnu.org; Wed, 26 Sep 2012 02:21:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGl03-0004ks-PS for grub-devel@gnu.org; Wed, 26 Sep 2012 02:21:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGl02-000737-Gl for grub-devel@gnu.org; Wed, 26 Sep 2012 02:21:35 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:60910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGl02-000730-AG for grub-devel@gnu.org; Wed, 26 Sep 2012 02:21:34 -0400 Received: by wgbdt14 with SMTP id dt14so131609wgb.30 for ; Tue, 25 Sep 2012 23:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=9aeVQZE/x2zB5aarmrOmsI/xKwiuda1fAbQOr9yakvM=; b=QePghheTsbpiDMDyyDMvtCC4rGzgLePw3OlfxYgn7ScXR3Mn8kVcPHllXJ/u2JqZ3k QJ2O3148pgGvMn4UuIML40jyEnBZFli62ny/+djXrZmi9GgF5HSwI6dveQUeeJ4cUj+A 4ZswuvTmtkcDILxJDT4hKgw8SXJdVhsgPfGt5N4qggyvigTZSZKWx+KtcuoKyCi3cnmj 449G+4bulMcFhE0pYryB2dAe7sz5USVdZtLIu4KfX0G12OlBuCtVB1mjk8VJZgRBWx++ x0SgrwLX8cIcCouX9M3tAvLQY96/nyo3wa++e506MgFmZxfSapoV8jVc4/b4bQ41qt8b r5VA== Received: by 10.180.8.41 with SMTP id o9mr26884933wia.3.1348640492813; Tue, 25 Sep 2012 23:21:32 -0700 (PDT) Received: from debian.x201.phnet (39-233.197-178.cust.bluewin.ch. [178.197.233.39]) by mx.google.com with ESMTPS id k2sm4869385wiz.7.2012.09.25.23.21.31 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Sep 2012 23:21:31 -0700 (PDT) Message-ID: <50629EE1.1080000@gmail.com> Date: Wed, 26 Sep 2012 08:21:21 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120922 Icedove/10.0.7 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [2.00] grub-install use on UEFI system? References: <2454CB9A-1CA0-4A60-95E8-10CF0A1975EB@colorremedies.com> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigD58334F01F7E621A8B416A2D" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2012 06:21:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD58334F01F7E621A8B416A2D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 25.09.2012 20:42, yannubuntu@gmail.com wrote: >=20 >=20 > 2012/9/25 Chris Murphy > >=20 >=20 > On Sep 25, 2012, at 6:17 AM, 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). >=20 > 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 /efi/grub. And then each > distribution can modify so their grub-install will place grub.efi i= n > the distribution specific location on the EFI System partition. >=20 >=20 > Thanks Chris, >=20 > 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: >=20 > 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=3Dx86_64-efi --efi-directory=3D" /boot/efi>") does not specify this sub-folder ? >=20 Because this is not part of efi-directory (and RTFM) > Regards > Yann >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigD58334F01F7E621A8B416A2D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlBinucACgkQNak7dOguQgmfmQD/VUfmQdWHUBNWnv+NCBgUGa1g 0OSIRUP9m7g92TR4bz0A/219XxMZpTkH5oMoE1d//QzDEDF54LYavwNlu2ciDCjK =mdl6 -----END PGP SIGNATURE----- --------------enigD58334F01F7E621A8B416A2D--