GNU bug report logs

#47889 [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #46 received at 47889@debbugs.gnu.org (full text, mbox, reply):

Received: (at 47889) by debbugs.gnu.org; 26 Apr 2021 11:17:13 +0000
From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 07:17:12 2021
Received: from localhost ([127.0.0.1]:44770 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	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 <pelzflorian@pelzflorian.de>) 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)" <pelzflorian@pelzflorian.de>
To: Mathieu Othacehe <othacehe@gnu.org>
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 Courtès <ludo@gnu.org>, 47889@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
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
> > <https://wiki.archlinux.org/index.php/EFI_system_partition#Create_the_partition>.
> 
> 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




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 08:46:21 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.