all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org, Akib Azmain Turja <akib@disroot.org>
Subject: Re: grub-install failing while system reconfigure
Date: Sun, 15 Jan 2023 09:02:23 +0100	[thread overview]
Message-ID: <68C8022F-7D29-451F-9FA6-1605BC6D2A78@lepiller.eu> (raw)
In-Reply-To: <87cz7g8hd1.fsf@disroot.org>

This happened to me recently. The system wouldn't even boot after that… It seems the issue is that grub appends some config in bios NV memory, which is separate from your EFI partition, and it filled up.

I found two potential solutions: remove the variables (somewhere in /sys I think) or enter bios and factory-reset it. After that, guix won't boot, so I had to use an installation disk and follow "entering a chroot" from the manual to reconfigure the system and finally boot. Grub now looks funny, but it worked :)

Le 15 janvier 2023 07:03:06 GMT+01:00, Akib Azmain Turja <akib@disroot.org> a écrit :
>
>grub-install is saying no space left, but I still have much space
>available in both root and EFI partition.
>
>--8<---------------cut here---------------start------------->8---
>akib@gnu-guix:~/dotfiles$ sudo guix system reconfigure ~/dotfiles/guix/system-config.scm
>The following derivation will be built:
>  /gnu/store/ss6c3krd1wwbg7kybdr8pkrl7jy3cc79-grub.cfg.drv
>
>building /gnu/store/ss6c3krd1wwbg7kybdr8pkrl7jy3cc79-grub.cfg.drv...
>/gnu/store/i3bl3mpy92hwm6v1n74slvyvlgnpg85g-system
>/gnu/store/hhm7spb2xdd6i5ci8p6wjs9dalv9g18a-grub.cfg
>
>activating system...
>making '/gnu/store/i3bl3mpy92hwm6v1n74slvyvlgnpg85g-system' the current system...
>setting up setuid programs in '/run/setuid-programs'...
>populating /etc from /gnu/store/dkr38kkqiykn86qxmqq0vmd86kf8v7qr-etc...
>The following derivation will be built:
>  /gnu/store/77k62g58nhi9kaxfryfa3b54a9i53gd6-install-bootloader.scm.drv
>
>building /gnu/store/77k62g58nhi9kaxfryfa3b54a9i53gd6-install-bootloader.scm.drv...
>guix system: error: '/gnu/store/ch9q9w5zbvgq8srr6dscq6hdf03pfqb4-grub-efi-2.06/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.
>  Could not prepare Boot variable: No space left on device
>  /gnu/store/ch9q9w5zbvgq8srr6dscq6hdf03pfqb4-grub-efi-2.06/sbin/grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
>
>--8<---------------cut here---------------end--------------->8---
>
>-- 
>Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
>Fediverse: akib@hostux.social
>Codeberg: akib
>emailselfdefense.fsf.org | "Nothing can be secure without encryption."

  reply	other threads:[~2023-01-15  8:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15  6:03 grub-install failing while system reconfigure Akib Azmain Turja
2023-01-15  8:02 ` Julien Lepiller [this message]
2023-01-15 10:38   ` Akib Azmain Turja
2023-01-15 13:52     ` Akib Azmain Turja
2023-01-15 20:02     ` Felix Lechner via
2023-01-16 16:40 ` Maxim Cournoyer

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68C8022F-7D29-451F-9FA6-1605BC6D2A78@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=akib@disroot.org \
    --cc=help-guix@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.