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 YFVtLSV6gWBaeQAAgWs5BA (envelope-from ) for ; Thu, 22 Apr 2021 15:29:09 +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 ABArKSV6gWCFaAAA1q6Kng (envelope-from ) for ; Thu, 22 Apr 2021 13:29:09 +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 244DA1115B for ; Thu, 22 Apr 2021 15:29:09 +0200 (CEST) Received: from localhost ([::1]:46346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZZOG-0007La-9H for larch@yhetil.org; Thu, 22 Apr 2021 09:29:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZZO9-0007LH-VA for bug-guix@gnu.org; Thu, 22 Apr 2021 09:29:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZZO9-0005cN-O1 for bug-guix@gnu.org; Thu, 22 Apr 2021 09:29:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZZO9-0006mA-Jq for bug-guix@gnu.org; Thu, 22 Apr 2021 09:29: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 22 Apr 2021 13:29: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: "pelzflorian (Florian Pelz)" Received: via spool by 47889-submit@debbugs.gnu.org id=B47889.161909813126027 (code B ref 47889); Thu, 22 Apr 2021 13:29:01 +0000 Received: (at 47889) by debbugs.gnu.org; 22 Apr 2021 13:28:51 +0000 Received: from localhost ([127.0.0.1]:33178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZZNy-0006lj-JA for submit@debbugs.gnu.org; Thu, 22 Apr 2021 09:28:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZZNv-0006lU-Qd for 47889@debbugs.gnu.org; Thu, 22 Apr 2021 09:28:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49068) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZZNq-0005Pi-Bo; Thu, 22 Apr 2021 09:28:42 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33230 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lZZNp-0007CA-FW; Thu, 22 Apr 2021 09:28:41 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210419092928.p426llfdlvb5ay3z@pelzflorian.localdomain> Date: Thu, 22 Apr 2021 15:28:39 +0200 In-Reply-To: <20210419092928.p426llfdlvb5ay3z@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Mon, 19 Apr 2021 11:29:54 +0200") Message-ID: <878s5a1m9k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1619098149; 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; bh=1+Y1/LRL5hzlefAm2pYTnCyYKrfT+Oe8nOirpJtQlpE=; b=a0bx0SSkwZ0GjUaUV9sMjHoRnjZhUUXGljs6/6fY2b6C3XwUjG4dS15UcAWpuPMNQbtLyI 9hwOONBCsrjKB+VXreXf0Rau03hzqrR1Uym0AAJK+ZXcuipNixZI3x+HxoeBmJB6a5IiAV x3GaGRR3wsGWcnuO8aRFnx8kfha4buXwVrw45vJUmTPfbaFMNHKgWiGUthHDZeh40quhsM fzejrcUkrROub3TX7iDys7XdrRFvzdZnTsI/n8ICRpY5F1gEkXBH/eSMkO9rZQYsDVMfem 1w3jYEfC31IhQfjIi2jSH0PmmuYs2bI2G3I/1nkbpRFA53SKl8Oyk5AYnkINEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619098149; a=rsa-sha256; cv=none; b=nmo5hN3lzEd4IyAqycHUx6UXCeKVd2aF/is6ZyRjvxqGFtIoIot6rDUzugkKz9szwnBo15 pS5tgaClT7NkO66Yp9j8a54HdtmPbGB8eQkuiJc3DtVssXJamXhNd9pDQ8EsPAp6Br+rsT /UtdwV0fF1taMYbBUAJlMhNVQ881zv5qdXadwuynNRaUnumgVgHyrawd3FVosCpJ3a0JL4 AGFzNkGyxKt3p+W64NO7Hdi7mz5BmIVmfXIpXBil2hfbOFOqqz02OSseteRpQUqgPsXbae FfcPbWadaHpwSYIeatt6SpQOdkYYfdARWz5Iu/HTaZQBkwWPNCef6kkekt+VeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 244DA1115B X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1s7PBMQ97EzR Hi Florian, "pelzflorian (Florian Pelz)" skribis: > When installing from the Guix install image, grub-install fails on my > x86_64 ASRock Beebox PC: > > guix system: error: '/gnu/store/hsc3gsqbxkl64nx38sf2fgs2fxzbpr0i-grub-efi= -2.04/sbin/grub-install --boot-directory /mnt/boot --bootloader-id=3DGuix -= -efi-directory /boot/efi' exited with status 1; output follows: > > Installing for x86_64-efi platform. > /gnu/store/hsc3gsqbxkl64nx38sf2fgs2fxzbpr0i-grub-efi-2.04/sbin/grub-inst= all: error: failed to get canonical path of `/boot/efi'. > > I let the Guix installer (git master commit > fef2f08bc640f78cc0a86fc7be3eccbc07b5e98c) auto-partition my entire > disk without encryption. > > =E2=80=9Cfdisk -l /dev/sda=E2=80=9D shows: > > Disk /dev/sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors > [=E2=80=A6] > Disklabel type: dos > Disk identifier: 0xd0416d83 > > Device Boot Start End Sectors Size Id Type > /dev/sda1 2048 7811071 7009024 3.7G 82 Linux swap / Solaris > /dev/sda2 * 7011072 500117583 492306432 234.8G 83 Linux There=E2=80=99s no EFI (vfat) partition here. Is it an EFI machine? Is /boot/efi mounted when you boot the installation image? If it were EFI, it would be a GPT partition table, not a DOS one. It seems to me there=E2=80=99s confusion here: the generated config file se= ems to be using =E2=80=98grub-efi-bootloader=E2=80=99, but the machine is actua= lly not EFI. WDYT? Thanks, Ludo=E2=80=99.