From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 23 06:39:28 2021 Received: (at 47889) by debbugs.gnu.org; 23 Apr 2021 10:39:28 +0000 Received: from localhost ([127.0.0.1]:36235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZtDb-0004rZ-T1 for submit@debbugs.gnu.org; Fri, 23 Apr 2021 06:39:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZtDX-0004rH-As for 47889@debbugs.gnu.org; Fri, 23 Apr 2021 06:39:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43727) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZtDR-0000Dy-Ia; Fri, 23 Apr 2021 06:39:17 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41148 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lZtDP-0008OS-Mv; Fri, 23 Apr 2021 06:39:16 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian (Florian Pelz)" Subject: Re: bug#47889: [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk References: <20210419092928.p426llfdlvb5ay3z@pelzflorian.localdomain> <878s5a1m9k.fsf@gnu.org> <20210422143651.fwdrrqmcw225eh23@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Flor=C3=A9al?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 23 Apr 2021 12:39:13 +0200 In-Reply-To: <20210422143651.fwdrrqmcw225eh23@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Thu, 22 Apr 2021 16:38:52 +0200") Message-ID: <87im4ds2su.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47889 Cc: Mathieu Othacehe , 47889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Florian, (Cc: Mathieu.) "pelzflorian (Florian Pelz)" skribis: > On Thu, Apr 22, 2021 at 03:28:39PM +0200, Ludovic Court=C3=A8s wrote: >> There=E2=80=99s no EFI (vfat) partition here. Is it an EFI machine? >>=20 >> Is /boot/efi mounted when you boot the installation image? > > No because there is no EFI partition. If I create one and restart the > installer, then it is *not* mounted either, only /mnt/boot/efi later > during the install. (I believe since the installer is installed as on > an external medium, it does not need an EFI partition.) > > I had booted the install image via UEFI boot and had expected auto > partitioning and the default configuration to do the right thing. The installer determines whether it=E2=80=99s doing a UEFI installation lik= e so: (define (efi-installation?) "Return #t if an EFI installation should be performed, #f otherwise." (file-exists? "/sys/firmware/efi")) It uses that to determine whether to create an EFI System Partition (ESP) and whether to use =E2=80=98grub-efi-bootloader=E2=80=99. Did it create an ESP in your case? I=E2=80=99m not entirely sure how it decides between GPT and DOS, though; Mathieu? We should add UEFI installation tests using OVMF. Thanks, Ludo=E2=80=99.