From: "Ludovic Courtès" <ludo@gnu.org>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: 47889@debbugs.gnu.org
Subject: bug#47889: [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk
Date: Thu, 22 Apr 2021 15:28:39 +0200 [thread overview]
Message-ID: <878s5a1m9k.fsf@gnu.org> (raw)
In-Reply-To: <20210419092928.p426llfdlvb5ay3z@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Mon, 19 Apr 2021 11:29:54 +0200")
Hi Florian,
"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> 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=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
There’s 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’s confusion here: the generated config file seems
to be using ‘grub-efi-bootloader’, but the machine is actually not EFI.
WDYT?
Thanks,
Ludo’.
next prev parent reply other threads:[~2021-04-22 13:29 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-19 9:29 bug#47889: [installer image] grub-install efi fails getting canonical path to /boot/efi on dos-formatted disk pelzflorian (Florian Pelz)
2021-04-19 11:01 ` pelzflorian (Florian Pelz)
2021-04-19 17:27 ` Leo Famulari
2021-04-19 20:19 ` pelzflorian (Florian Pelz)
2021-04-22 13:28 ` Ludovic Courtès [this message]
2021-04-22 14:38 ` pelzflorian (Florian Pelz)
2021-04-23 10:39 ` Ludovic Courtès
2021-04-23 11:12 ` pelzflorian (Florian Pelz)
2021-04-24 3:24 ` Bengt Richter
2021-04-24 9:31 ` pelzflorian (Florian Pelz)
2021-04-25 14:15 ` Mathieu Othacehe
2021-04-25 16:34 ` pelzflorian (Florian Pelz)
2021-04-25 17:12 ` Mathieu Othacehe
2021-04-26 11:17 ` pelzflorian (Florian Pelz)
2021-04-26 15:53 ` Ludovic Courtès
2021-04-26 16:37 ` Mathieu Othacehe
2021-04-27 16:48 ` Mathieu Othacehe
2021-04-28 13:54 ` Mathieu Othacehe
2021-04-29 7:45 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878s5a1m9k.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=47889@debbugs.gnu.org \
--cc=pelzflorian@pelzflorian.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).