all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Akib Azmain Turja <akib@disroot.org>
To: Julien Lepiller <julien@lepiller.eu>
Cc: help-guix@gnu.org
Subject: Re: grub-install failing while system reconfigure
Date: Sun, 15 Jan 2023 19:52:48 +0600	[thread overview]
Message-ID: <87ilh7zyz3.fsf@disroot.org> (raw)
In-Reply-To: <87358cjd5l.fsf@disroot.org> (Akib Azmain Turja's message of "Sun, 15 Jan 2023 16:38:30 +0600")

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

Akib Azmain Turja <akib@disroot.org> writes:

> Julien Lepiller <julien@lepiller.eu> 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?
>

It did it, thanks!!!

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

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2023-01-15 13:54 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
2023-01-15 10:38   ` Akib Azmain Turja
2023-01-15 13:52     ` Akib Azmain Turja [this message]
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=87ilh7zyz3.fsf@disroot.org \
    --to=akib@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=julien@lepiller.eu \
    /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.