--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
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
--- End Message ---