From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sEbfC0ngZ2OzagAAbAwnHQ (envelope-from ) for ; Sun, 06 Nov 2022 17:26:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wCKtC0ngZ2NlZAEAauVa8A (envelope-from ) for ; Sun, 06 Nov 2022 17:26:49 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 32FDBD1D2 for ; Sun, 6 Nov 2022 17:26:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oriTU-0007hC-HT; Sun, 06 Nov 2022 11:26:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oriTS-0007gu-9Y for help-guix@gnu.org; Sun, 06 Nov 2022 11:26:18 -0500 Received: from linode.us-core.com ([2600:3c01::f03c:93ff:fe26:6229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oriTP-0007tf-8V for help-guix@gnu.org; Sun, 06 Nov 2022 11:26:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=0AWjUQxIxlbP0Tv VKfTKRf1OZSF00iaJJoWaA5pepks=; h=cc:to:subject:date:from:in-reply-to: references; d=lease-up.com; b=EgVl/1qqtJqt04TJeL86sn7xEZtJF5USwleobnya 4I8OajShv8H9Ki02Bgusl/WxUst37RGLUaF9g9Obkz3RQGgfFjwVPwVI0YN6ELARVJXsAO DVjwl/HODEYup93jYvV3S/SCeVQc0HOJoRLpGpRI9YVD/buyfRCdvO4Wqi2bA= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id 10cfd4d0 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 6 Nov 2022 16:26:12 +0000 (UTC) Received: by mail-lf1-f52.google.com with SMTP id d6so13768918lfs.10 for ; Sun, 06 Nov 2022 08:26:11 -0800 (PST) X-Gm-Message-State: ACrzQf3H5kSuHa+EQ7oKJDY/rFWFXzqtgYtqutxr9nhy89GVeSPN09/s IKAobmSSjw5VyAPDnDzkMv75z+Lc9DqfMdwl0tw= X-Google-Smtp-Source: AMsMyM5Fs9JWIz27JkMTQEou3ENU04Fai8wR+rCPQB9LMh6pns+oC9AHC9xr7eoFb1AAyvjY+QA0CSnkME/yPJBaB/g= X-Received: by 2002:a05:6512:2310:b0:4a2:593e:3443 with SMTP id o16-20020a056512231000b004a2593e3443mr16337697lfu.226.1667751969310; Sun, 06 Nov 2022 08:26:09 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 6 Nov 2022 08:25:32 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: EFI boot: 'could not prepare Boot variable: Invalid argument' To: post@thomasdanckaert.be Cc: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2600:3c01::f03c:93ff:fe26:6229; envelope-from=felix.lechner@lease-up.com; helo=linode.us-core.com X-Spam_score_int: 16 X-Spam_score: 1.6 X-Spam_bar: + X-Spam_report: (1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_SBL_CSS=3.335, RCVD_IN_XBL=0.375, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Help-Guix" Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667752008; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sso8YkN4X+0FNV4GcmmO72eiw5v5qr93Yry/jQmfcPg=; b=tGcLTqUpDldT/lz9KoDN4UNMdrQLirDbKOTsuaZg6ChetNOKaz0i/Mb/Av19Wgl7X204LA k9243xS/XqHJVVy3YRjcEkN4jnGdYiBIZ2mJtb+GO3Hyaf3LjR/1SY5S8LmXTyui1iZ8CK z2KQBp8YSwmFxFkengXe6k7e9SBTghaBlJpDsqSDIZZlwaku0XH8Zai7pX3R9h6sc/a9tv IeZj+NdXXkIt6qxFpF4M3s1fO+WkrOTU+8ep3FrR/m1kvyLNTnQTK/lHE5RkeAMH9zAjJN 91aKhaNAXCYX3l3303f1/VeL/q9IDAnpr7I9DOJAmzKyMR4I3/8Vk4drYmlOrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667752008; a=rsa-sha256; cv=none; b=IIgTiAzkb3hc24Yf6F5oWa17fMYwHHE0VemiUyEHZPBHmiNlzuz80Zab9tnCw6wYPf47LI jucRiOJfnwEicAi2/q8kM2ZhzCT4/WinoEbiUaPB5bZSUuhlMB8NzYl7YVaJ9j/kYDy4hj AWaVuLPAa2oAzby61LEIiHMSk9JNwwdXxZiv/mZqRFf5v654pADwqYshxjWyVeUm3RivFB jCo/H2TjXSSj0oKH2cacYd/PIHRV0kSzCsLju07TxI6rKpRe9xBtv+qoLSs05r4YdLAPCs jk5BwMfusdTvoONrSM/ch4AFOqtzb3o+uJEPR9GZ7iMD4iMDqWRPRKPmhhy6RA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b="EgVl/1qq"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b="EgVl/1qq"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 32FDBD1D2 X-Spam-Score: 2.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: 70cEu76FH71s Hi, On Sun, Nov 6, 2022 at 4:58 AM wrote: > > 'Could not prepare Boot variable: Invalid argument' You have not yet rebooted, have you? What do you see with this command? ls /sys/firmware/efi/vars/ You can also try 'guix install efivar' and look at the output of that tool, but please do not attempt to change any settings yourself. > Does anybody have a guess what can cause this (and what might solve > it?). Diagnosing boot problems can be difficult even when sitting in front of the equipment. I believe your system booted via the legacy boot sector method instead of UEFI, which made the EFI variables unavailable. If so, the only way to fix it is to boot via EFI. > I fear my system is currently unbootable. In Guix, you should have old system generations available in the GRUB menu. That is your preferred method. You may also be able to manually link the EFI image you wish to load via the "removable media path". A third option that I have used is to load your kernel directly via its EFI stub. The two latter options may require further help from this list and lots of patience. They also carry a higher risk of failure. Kind regards Felix Lechner