help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub-install failing while system reconfigure


From: Julien Lepiller
Subject: Re: grub-install failing while system reconfigure
Date: Sun, 15 Jan 2023 09:02:23 +0100
User-agent: K-9 Mail for Android

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 via email to

[Prev in Thread] Current Thread [Next in Thread]