From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YPWJAtihhmDreQEAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 13:19:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aEG5ONehhmAXfwAA1q6Kng (envelope-from ) for ; Mon, 26 Apr 2021 11:19:51 +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 55A1713A69 for ; Mon, 26 Apr 2021 13:19:51 +0200 (CEST) Received: from localhost ([::1]:60094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lazHJ-0007Bl-9c for larch@yhetil.org; Mon, 26 Apr 2021 07:19:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lazFa-0006M6-Nd for bug-guix@gnu.org; Mon, 26 Apr 2021 07:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33224) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lazFa-0005mN-BR for bug-guix@gnu.org; Mon, 26 Apr 2021 07:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lazFa-0005dL-3A for bug-guix@gnu.org; Mon, 26 Apr 2021 07:18:02 -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: Mon, 26 Apr 2021 11:18:02 +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.161943583321589 (code B ref 47889); Mon, 26 Apr 2021 11:18:02 +0000 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)" 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-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=1619435991; 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=BE8qbYz1leKG19N+UDtY4xGiTzwJbs4IXA8U4Eiic5I=; b=iiZ8ViNkQDSRt3OedHBrr89erfR7S2R5BsYQRkt3rn+O5goDzFGDMWEP6daf1WeZujLy5J aOqTkrNGofdG7/hov3jZFqD6eECHzR5/uWI/oF2zczeIA0KYlzJlgw9E5u1gamJef7Zik8 tJcl+P2Swqf3qHB3StAAg5rMvXs6MXPUPnD1+A1llYkEyUMRytlJlwgjksZ2U9jZslSy3t UTHbz/gKH5A5mGe0rMCFoxeyTl8RlRKG3llvQ1Q4QoFfnIFtDfv1MMuZ2Ok97fHydR/Ueg fD/l6IrnxWGTT/22TTNLs95moofv5ZSD7Thq5f1XCRfXDUeYctesNeT+qvX0UA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619435991; a=rsa-sha256; cv=none; b=JWR4Tg+izWW+5iCY4PehUg0FcG1fpukTbIylXLMezBM+3t8wI3xrLGNS0uSxrppTgFtThH LFqHYwI1upf2IL5hg+xdQ5Fl1elf7M5+5mD/FHykme1rJx08g0pJM91dHT0q0zVksp4jbN +i1IlnpKxrWHnWFYv3ix7n46EPGtenqhNW/yzN6ZlzZUyfKtX0hi3D0Es+/qCtEO1UoiIW PbXSfl0PDg7PddolHW0UbbQ3y/HFLj0D+iqcml5m9IkAYNCciwYiaUZtQt+DHAYGFmg0NQ VucMIO4yIX2L1q95L0rniCWFfN1vnDMr429J5bvHPmvllqeZlFPVWdldg+yDAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=NG8vDwET; 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-Spam-Score: -1.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=NG8vDwET; 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: 55A1713A69 X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: +AqV2nRh6x+G 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