Julien Lepiller <[email protected]> writes:

> This happened to me recently. The system wouldn't even boot after
> that…

My Guix GRUB EFI boot entry is also now gone.  Fortunately, I had
another GRUB installed with a Guix entry, so I can still get into Guix
(an older system generation, though).

> 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)

Does anybody know how?

> or enter bios and factory-reset it.

What are the consequences of that?  I'm afraid.  Would it make the still
existing EFI boot entries go missing?

> 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.

I think I don't have a Guix image.  Would a Trisquel image do?  (I guess
yes.)

> Grub now looks funny, but it worked :)

I don't care about GRUB's look, I just need to get into Guix.

>
> Le 15 janvier 2023 07:03:06 GMT+01:00, Akib Azmain Turja <[email protected]> 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: [email protected]
>>Codeberg: akib
>>emailselfdefense.fsf.org | "Nothing can be secure without encryption."

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: [email protected]
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

Attachment: signature.asc
Description: PGP signature

Reply via email to