From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oPsUBNflg2BWZAAAgWs5BA (envelope-from ) for ; Sat, 24 Apr 2021 11:33:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KK17O9blg2BpNAAA1q6Kng (envelope-from ) for ; Sat, 24 Apr 2021 09:33:10 +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 888E81EF49 for ; Sat, 24 Apr 2021 11:33:10 +0200 (CEST) Received: from localhost ([::1]:51930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laEey-0000B1-Iq for larch@yhetil.org; Sat, 24 Apr 2021 05:33:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laEer-0000At-Ue for bug-guix@gnu.org; Sat, 24 Apr 2021 05:33:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laEer-0005Mz-MH for bug-guix@gnu.org; Sat, 24 Apr 2021 05:33:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laEer-00033k-IR for bug-guix@gnu.org; Sat, 24 Apr 2021 05:33: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: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 24 Apr 2021 09:33: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: Bengt Richter Received: via spool by 47889-submit@debbugs.gnu.org id=B47889.161925673211700 (code B ref 47889); Sat, 24 Apr 2021 09:33:01 +0000 Received: (at 47889) by debbugs.gnu.org; 24 Apr 2021 09:32:12 +0000 Received: from localhost ([127.0.0.1]:39466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) 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 ) 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)" 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-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: Mathieu Othacehe , 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=1619256790; 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:dkim-signature; bh=OuoR6hji+MySQYIycRjL5aFZT0Idzl9vKL61V4/1N/4=; b=uYy6JYpmlF5aHKG61BhuZRsW1KbOqbzVAcV510ZqpxKFTB0B5nDtNW7da3T1CvR7Uw7LMh 7fobujPWwK6Iaw90aQKmr5/7d6u61dHSaqwck1dv8FNImN9KKoKlTwVecQ68m48o9IOlle RgquAdL0eutbKI4+1EZkevySXrP+5obpuNcbzaa3yBZKRKOuWnngPKPSQCbmgRA/0Tjptd qlcl2Cbc+CltvfbnUnhJl3bwpfSWL2QtRLoc0ZVU+ODcjdMhQ8sW24jxwWHNLde4ofXCuN 6bcNkl5xwTqKSt2VU00moAi/gDBwgfoDMC+aRjCYg9W+vMdGeh7bY73qJ1lruA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619256790; a=rsa-sha256; cv=none; b=jglQR0K8Dzuh4IMstr9pSlCKb6R0ttmpxtIKA12zglUhewqxCVfP2/DHNkvZ7D04+edNFx V/Iej6H8h2lkfQozk7QtZhKgSdSIXL15GUFr+8Obdzi9enJNd4x68QeFwSW613SVIcCRGf tzTRFrD7Sw1qk7bYrgYDELgKuB+VeEOb5YWAXjWX1oEWzmd5dws0RUK/0mU6zDI7N+n3ip ifC6N3NQxuEOBWKeQfSu3UQNX91wmQYhmMN4ArQ/7E9cTGZj3VGM4blkOmtyy1tUidAKk3 utXhdnogMWwtbnKwhEURbK3jZyr/4JBhaoh6OnXnaDOJSNNLRUc7YwffdNYc4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=ZMEZOGX+; 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: -1.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=ZMEZOGX+; dmarc=none; 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: 888E81EF49 X-Spam-Score: -1.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: OQQSBqYVT4kW 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