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

Previous Next

Package: guix;

Reported by: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Date: Mon, 19 Apr 2021 09:31:01 UTC

Severity: normal

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#47889: closed ([installer image] grub-install efi fails
 getting canonical path to /boot/efi on dos-formatted disk)
Date: Wed, 28 Apr 2021 13:55:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 28 Apr 2021 15:54:23 +0200
with message-id <87k0omwm40.fsf <at> gnu.org>
and subject line Re: bug#47889: [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk
has caused the debbugs.gnu.org bug report #47889,
regarding [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
47889: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47889
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: bug-guix <at> gnu.org
Subject: [installer image] grub-install efi fails getting canonical path to
 /boot/efi on dos-formatted disk
Date: Mon, 19 Apr 2021 11:29:54 +0200
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=Guix --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-install: 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.

“fdisk -l /dev/sda” shows:

Disk /dev/sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
[…]
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

Regards,
Florian


[Message part 3 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 47889-done <at> debbugs.gnu.org, Florian Pelz <pelzflorian <at> pelzflorian.de>
Subject: Re: bug#47889: [installer image] grub-install efi fails getting
 canonical path to /boot/efi on dos-formatted disk
Date: Wed, 28 Apr 2021 15:54:23 +0200
Hello,

> Regarding the MSDOS/UEFI patch, it is almost identical to what Florian
> tested. I chose not to force GPT on UEFI if the user disk is already
> MBR formatted, mostly to keep the code readable.

Pushed on master and cherry-picked on version-1.3.0 branch.

Thanks,

Mathieu


This bug report was last modified 4 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.