unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: post@thomasdanckaert.be
To: help-guix@gnu.org
Subject: EFI boot: 'could not prepare Boot variable: Invalid argument'
Date: Sun, 06 Nov 2022 12:52:23 +0000	[thread overview]
Message-ID: <da84d317047e90d7c0f8206d4e9da748@thomasdanckaert.be> (raw)

Hi Guix-helpers,

I've just switched to a new system, but as of the 4th generation, guix 
system reconfigure fails to install the bootloader.  This is on guix 
commit 3e25944 (but that was also the case when guix system reconfigure 
still worked, I believe).  I fear my system is currently unbootable.

The error seems to come from efibootmgr, which complains about
'Could not prepare Boot variable: Invalid argument'

The failing command, if I'm not mistaken, is
/gnu/store/k1z2szmyvi1na7vzv8vnxmpb51nf4aw9-efibootmgr-17/sbin/efibootmgr 
-c -d /dev/sda -p 1 -w -L Guix -l \EFI\Guix\grubx64.efi.

and I can't find anything wrong with it.  I've also tried running the 
same command with the other version of efibootmgr I could find in 
/gnu/store, but that results in the same error.

Running efibootmgr gives me the following output:

BootCurrent: 0000
No BootOrder is set; firmware will attempt recovery
BootFFFF*

which I think implies that my system is currently unbootable?

Does anybody have a guess what can cause this (and what might solve 
it?).

many thanks!

Thomas


             reply	other threads:[~2022-11-06 12:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-06 12:52 post [this message]
2022-11-06 16:25 ` EFI boot: 'could not prepare Boot variable: Invalid argument' Felix Lechner via
2022-11-06 21:04   ` post
2022-11-06 23:21     ` Felix Lechner via
2022-11-07  7:58       ` post

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=da84d317047e90d7c0f8206d4e9da748@thomasdanckaert.be \
    --to=post@thomasdanckaert.be \
    --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.
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).