From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 07:17:12 2021 Received: (at 47889) by debbugs.gnu.org; 26 Apr 2021 11:17:13 +0000 Received: from localhost ([127.0.0.1]:44770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lazEm-0005c8-Mm for submit@debbugs.gnu.org; Mon, 26 Apr 2021 07:17:12 -0400 Received: from pelzflorian.de ([5.45.111.108]:58688 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lazEk-0005bw-13 for 47889@debbugs.gnu.org; Mon, 26 Apr 2021 07:17:10 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 4086A36063C; Mon, 26 Apr 2021 13:17:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1619435828; bh=jiCqjqFAfKVJQu3jmdNj3rFwtfL2OnXWsVkwotFlgM4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=NG8vDwETn2deCAKwWdimkjDev+iMQslJxWaHjTpgcGOxhEdZT4BK0S9EtXjmveqZV 7S7a6WHOoNUCO7WWI4/ZAr/4ByLhYQYtR7ABFNAtzmITvf5u8Z0qltIbizetqlryea 1Rx5VFIXVxzNwwQdaY46mDXzfs13Sbn9Ya6kg7vI= Date: Mon, 26 Apr 2021 13:17:00 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#47889: [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk Message-ID: <20210426111700.esxn4cfwrfflez5l@pelzflorian.localdomain> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878s56uw3c.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47889 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 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: -1.0 (-) On Sun, Apr 25, 2021 at 07:12:39PM +0200, Mathieu Othacehe wrote: > > Hello Florian, > > > 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. You are right of course; the old ESP may contain boot information for other disks or network boot or whatever. > 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. Thank you for this patch!! It installs EFI on msdos layout successfully on my Beebox PC. That said, it could force GPT on msdos layouts as well if they lack an ESP. But I’m already happy. Regards, Florian