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 #34 received at 47889@debbugs.gnu.org (full text, mbox, reply):

Received: (at 47889) by debbugs.gnu.org; 24 Apr 2021 09:32:12 +0000
From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 24 05:32:12 2021
Received: from localhost ([127.0.0.1]:39466 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1laEe3-00032e-OW
	for submit@debbugs.gnu.org; Sat, 24 Apr 2021 05:32:12 -0400
Received: from pelzflorian.de ([5.45.111.108]:55964 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@pelzflorian.de>) id 1laEdy-00032S-4W
 for 47889@debbugs.gnu.org; Sat, 24 Apr 2021 05:32:10 -0400
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id 080B836063C;
 Sat, 24 Apr 2021 11:32:03 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1619256724;
 bh=G0Ye05EhuIO10qVbh4gAoZGSoxKnNZrY3IzAVdvGnuM=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=ZMEZOGX+YK5VjYOaQEgCTre6EwAF+/Vqd9oizZUNrIFzNKuCl6FOLyuGAm5DGClLy
 DnU7pPtnjpttk0dbcex+ZUQFBI9012ttuKZ2dul+sSrJuLovuTTh1N4m+1zsMLHLC1
 F/cdlrZHLOlHFTChjQLTiBTLMHybPltwzogzlebM=
Date: Sat, 24 Apr 2021 11:31:55 +0200
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Bengt Richter <bokr@bokr.com>
Subject: Re: bug#47889: [installer image] grub-install efi fails getting
 canonical path to /boot/efi on dos-formatted disk
Message-ID: <20210424093155.3qyuyiyog76fl7re@pelzflorian.localdomain>
References: <20210419092928.p426llfdlvb5ay3z@pelzflorian.localdomain>
 <878s5a1m9k.fsf@gnu.org>
 <20210422143651.fwdrrqmcw225eh23@pelzflorian.localdomain>
 <87im4ds2su.fsf@gnu.org> <20210424032425.GA18504@LionPure>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20210424032425.GA18504@LionPure>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 47889
Cc: Mathieu Othacehe <othacehe@gnu.org>,
 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 (-)
Hello Bengt,

On Sat, Apr 24, 2021 at 05:24:26AM +0200, Bengt Richter wrote:
> How does that work if you want to mount an external USB disk as the target
> of your installation partitioning and formatting etc, but which may be intended
> for another laptop with a different BIOS booting in a different mode than your
> installer was booted into? (Maybe plug the finished USB disk into another laptop?
> USB C3.1 is fast enough if connected to a good SSD cassette).

Do we want to support such rare use cases in the default
configuration?  Currently the configuration created by the installer
assumes you want to install to the same boot mode (UEFI or “legacy”
BIOS) as was selected when booting the installer.  This means that if
your computer only supports one or the other, you have no choice.  It
does not depend on what’s on the disk.

Also, in UEFI mode, the grub-efi-bootloader from
gnu/bootloader/grub.scm would need to be copied and adapted to add the
--removable option if you want to install to a removable USB in UEFI
mode.  This is because grub-efi-bootloader otherwise writes boot
information into your BIOS’s NVRAM on the mainboard of the computer
doing the install.

Regards,
Florian




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 09:15:20 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.