Subject: bug#47889: closed (Re: bug#47889: [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 28 Apr 2021 13:55:02 +0000

Your bug report

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

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
47889: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47889
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#47889: [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk
From: Mathieu Othacehe <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked], Florian Pelz <[email-masked]>
Date: Wed, 28 Apr 2021 15:54:23 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk
From: "pelzflorian (Florian Pelz)" <[email-masked]>
To: [email-masked]
Date: Mon, 19 Apr 2021 11:29:54 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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