unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: David Dashyan <mail@davie.li>, 47329@debbugs.gnu.org
Subject: bug#47329: efibootmgr failed to register the boot entry: Input/output error
Date: Mon, 22 Mar 2021 22:20:38 +0100	[thread overview]
Message-ID: <6a53623e3cdf51091d71a29719d10f2ade63c0c9.camel@telenet.be> (raw)
In-Reply-To: <87wntz3shi.fsf@davie.li>

[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

On Mon, 2021-03-22 at 22:20 +0300, David Dashyan wrote:
> Dear Guix,
> 
> I ran 'guix system reconfigure' yesterday and it failed during
> bootloader installation. I couldn't load system afterwards.


> > activating system...
> > [...]
> > 
> > building /gnu/store/cx5i04kjidixkkdi2cj01v0ij72frsan-install-bootloader.scm.drv...
> > guix system: error: '/gnu/store/q5mhiwj4rap24i2b2y9svwbfsn3ya0v1-grub-efi-2.04/sbin/grub-install --boot-directory //boot --bootloader-id=Guix --efi-directory //boot/efi' exited with status 1; output follows:
> >   Installing for x86_64-efi platform.

The directory here is /boot (and /boot/efi) ...

> >   Could not prepare Boot variable: No space left on device
> >   /gnu/store/q5mhiwj4rap24i2b2y9svwbfsn3ya0v1-grub-efi-2.04/sbin/grub-install: error: efibootmgr failed to register the boot entry: Input/output error.

That ‘Input/output error’ looks bad.

> Running 
> > sudo efibootmgr --create --disk /dev/nvme0n1p1 --part 1 --loader \
> > '\EFI\Guix\grubx64.efi' --label Guix
> has same effect on guix system, but works fine when runned in ubuntu
> live cd.
> 
> I don't get why it complains that there is "no space left on device"
> though.
> 
> output of `df -h` contains:
> > /dev/nvme0n1p1         548M  212K  548M   1% /boot/efi

But you are only looking at /boot/efi here ...

Are /boot/efi and /boot separate file systems?
Maybe paste the full output of "df -h"

Greetings,
Maxime

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  parent reply	other threads:[~2021-03-22 21:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22 19:20 bug#47329: efibootmgr failed to register the boot entry: Input/output error David Dashyan
2021-03-22 21:17 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-03-22 21:20 ` Maxime Devos [this message]
2021-03-22 21:22   ` Maxime Devos
2021-03-22 21:32 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
     [not found]   ` <87sg4mkr2a.fsf@davie.li>
2021-03-23 13:01     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-03-23 13:21     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix

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=6a53623e3cdf51091d71a29719d10f2ade63c0c9.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=47329@debbugs.gnu.org \
    --cc=mail@davie.li \
    /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).