From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ePoyBWHihmDiQAEAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 17:55:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mJvVAGHihmDOcAAAB5/wlQ (envelope-from ) for ; Mon, 26 Apr 2021 15:55:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4CA821AEF1 for ; Mon, 26 Apr 2021 17:55:12 +0200 (CEST) Received: from localhost ([::1]:46048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lb3Zm-0004lg-2O for larch@yhetil.org; Mon, 26 Apr 2021 11:55:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lb3Zd-0004kF-TF for bug-guix@gnu.org; Mon, 26 Apr 2021 11:55:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35301) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lb3Zd-0002xC-Lj for bug-guix@gnu.org; Mon, 26 Apr 2021 11:55:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lb3Zd-0006hp-KM for bug-guix@gnu.org; Mon, 26 Apr 2021 11:55:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47889: [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 26 Apr 2021 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47889 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Received: via spool by 47889-submit@debbugs.gnu.org id=B47889.161945244825713 (code B ref 47889); Mon, 26 Apr 2021 15:55:01 +0000 Received: (at 47889) by debbugs.gnu.org; 26 Apr 2021 15:54:08 +0000 Received: from localhost ([127.0.0.1]:46847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lb3Ym-0006ge-7u for submit@debbugs.gnu.org; Mon, 26 Apr 2021 11:54:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lb3Yj-0006gA-NQ for 47889@debbugs.gnu.org; Mon, 26 Apr 2021 11:54:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58874) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lb3Yd-0002NR-Oh; Mon, 26 Apr 2021 11:53:59 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58234 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lb3YZ-0005zb-LT; Mon, 26 Apr 2021 11:53:57 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210419092928.p426llfdlvb5ay3z@pelzflorian.localdomain> <878s5a1m9k.fsf@gnu.org> <20210422143651.fwdrrqmcw225eh23@pelzflorian.localdomain> <87im4ds2su.fsf@gnu.org> <87eeeyv49v.fsf@gnu.org> <20210425163412.duj4t4ind5r5tv4x@pelzflorian.localdomain> <878s56uw3c.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 =?UTF-8?Q?Flor=C3=A9al?= an 229 de la =?UTF-8?Q?R=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: Mon, 26 Apr 2021 17:53:54 +0200 In-Reply-To: <878s56uw3c.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 25 Apr 2021 19:12:39 +0200") Message-ID: <8735vdca99.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47889@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619452512; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=FQbp9A722Z+6L932PDOPlm669ijMB9EgTGSRTI0wnOc=; b=j1zt3B9l5KLdR7KEtDi8IOLnl0ra67znt7jx+qFG76kgVhh6QXDk2C+86Okq8AVScLx4Zr BrEQkE54HQ5xnsTEu5+/1tvKkYJpQF0y50aYWIHdDQ0GNlkDRuUEU6roAz3XwEpP4keuPW 5au9SJ88XUPpEm/Ds+uljqx7CLun8f4FaotldwaY9j0ID86mBU31a0GMEAiUTiO+MsUCs+ iVYvSV3i68mHVeKTc+lAMWI0Jbdn6X+63bJWD7+G+G7TDkOOCClJbwlk4o76EMaa4caKjA oi4yWk3GDYaXnm39Rjw7md3HYmPBKnTAgNW5rYaTk389JGIVa+5Dv3oe3j4eiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619452512; a=rsa-sha256; cv=none; b=Gqfuxwpl2ZylJlIzkjNKtnMSD3JoRVYHTnmGAuxGUE0ZnT7/uK8Qxh52n+ibryRofWgdgv PZ/o+8Hw9q/10j9FWj8WvNzMNAYS86hovyUKIyuwqrNKT3RFqGEBNqT9rvBTd9fafxz4Ec SSt67qN84mvNME7pL7jwARfd5dJNMnVxYjfk3MxnYhT0GXr5lX+sORVJdjxY8pXd5Ah2Z0 dLNcE2V142JUtOngwm2FztsPDmO3yGXV+i24tBXhqTfmFv4Mynq4Sv0TiCklXASnuva4Bi wzLBae+wYSwdI0eR0NfZ+UywuJ+0S2OCv6Px91HZUrTiTAUl9R1s/lVRh5P9xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 4CA821AEF1 X-Spam-Score: -2.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2BwfplOsPmpo Hi Mathieu, Mathieu Othacehe skribis: >> Can you force GPT also in 2.? All disk partitions get removed anyway. >> Arch wiki says MSDOS layout does not work on all EFI systems >> . > > Well I'm not sure, if someone has an MSDOS partition table with an ESP > partition it wouldn't be a good idea to wipe it. > > The attached patch forces GPT if there's no partition table, and will > preserve/create an ESP partition on an MSDOS/EFI setup. I'm testing it > on various machines, seems to work fine. The patch looks reasonable to me, thanks a lot! (It=E2=80=99s also reasonable to ignore ESP-on-MSDOS IMO.) Ludo=E2=80=99.