From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gOljCse6aGNGHAEAbAwnHQ (envelope-from ) for ; Mon, 07 Nov 2022 08:59:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kBhXBce6aGNkHQAAauVa8A (envelope-from ) for ; Mon, 07 Nov 2022 08:59:03 +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 EDB45AFCD for ; Mon, 7 Nov 2022 08:59:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orx1c-00043u-BI; Mon, 07 Nov 2022 02:58:32 -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 1orx1Z-00042U-2A for help-guix@gnu.org; Mon, 07 Nov 2022 02:58:30 -0500 Received: from mail-108-mta137.mxroute.com ([136.175.108.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orx1S-0003Dl-U6 for help-guix@gnu.org; Mon, 07 Nov 2022 02:58:28 -0500 Received: from mail-111-mta2.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta137.mxroute.com (ZoneMTA) with ESMTPSA id 1845118d93c0006e99.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Mon, 07 Nov 2022 07:58:13 +0000 X-Zone-Loop: 0081cb49689ec4f29b3db5f8d4706634aad1ea4a542b X-Originating-IP: [136.175.111.2] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thomasdanckaert.be; s=x; h=Content-Type:Message-ID:References:In-Reply-To: Subject:Cc:To:From:Date:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uGYNYKmpphTBSD7SxBq5lPognAK0YOLUz7Os+dwr8X0=; b=HyNGUvTWtPY4kbxMmWdt97i7IZ AKHgjL3nB45bDqT0pjBHET3bhiYMmq8tlDA1ody1k0Gr4wEVREf9CHGR5vAZyQOMcb7I4+HHdz10q wUanTBmuKLlft22rfhWC0yKOTeVqvIF147QUcLEu+hCqPRQgosyFL6hBDej7n/O7hiZu/lxKpqE4n DHEdY/b3ley1GhYRQgV52/DL4Fp06m6cmwOSwOOdnqQ7bMT6I5xAtXf1It/h67uha+1SBcuZLBVDP /23Xdo8mOOFWF3FCsMUpVeH5qhcnEYqrXKWOxyl+NEjAne/08aWjaE3DTmj422D6kIM85bEA153O3 8d+UtUPQ==; MIME-Version: 1.0 Date: Mon, 07 Nov 2022 07:58:00 +0000 From: post@thomasdanckaert.be To: Felix Lechner Cc: help-guix@gnu.org Subject: Re: EFI boot: 'could not prepare Boot variable: Invalid argument' In-Reply-To: References: Message-ID: <95652fbf823595c309a65f26f0c95fa4@thomasdanckaert.be> X-Sender: post@thomasdanckaert.be Content-Type: multipart/mixed; boundary="=_25788cb3d90f2e880873508f1d008bbc" X-Authenticated-Id: post@thomasdanckaert.be Received-SPF: pass client-ip=136.175.108.137; envelope-from=post@thomasdanckaert.be; helo=mail-108-mta137.mxroute.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: 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=1667807942; h=from:from:sender:sender: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=uGYNYKmpphTBSD7SxBq5lPognAK0YOLUz7Os+dwr8X0=; b=LrE8K78VX94IJa+L5rb6u7bhj52FMBgD8c58WIoG3lmJXnGrXTR/EeHWcl9HdXtRVNeRsG W+bqX6KpBigR1U0Oz/k6YFKPUld1GrXhuVFvPxFV8NKwNYEAuV9/3EWx3PWJNACw0NYS9F tBCZghg5xV3gM1d/WZnparWFNacXTaTeGTSsUWynD+kDZgB3FCDfNrLvOYShLyBPFcb1mU pvEN8ePNRuMTjI1yV1agxf+IVxjMRAWKP/T6wOFB5rQKMj3OQu/mXFvYU7RLt6A5zCCru2 XHdc+k47fkzycMYihjKYeLQaxgt8knQaB3OuA0dd1uka+sLHW/WGgN211XpOHA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667807943; a=rsa-sha256; cv=none; b=lv6CvKk+CyXUqtAHniqbx1A58GN8Ei5reA8z7LqVckI4cI4Yq+Ab6KjIFYF6nFE8wOXpG9 OX0I2o7JfyG/efSN3D19fuFDAObu6j5Lkk1h8001xzrY4D2QbZm2LoWm2RG4c8kTJ9HeZg FSR3nQHxR0lhbrH4HJ+OthW7KwKzp0JUPuJJ3xigZ9JZXUGFFvrKQ1/TM8dhLV/DVNJ+/v 8GrPzlFNfFCGRqVykmp1ueqBtbP0MB7afsNGAtdAFkZPvf3yV+wHuMsz4QlKQ9n65QawSV b1BKr9QeQDCWkbjNq3qg8o5wUu/RIgOI1DPPYDi0goU4CbOAiFdInVk72Qok3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=thomasdanckaert.be header.s=x header.b=HyNGUvTW; dmarc=none; 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: 1.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=thomasdanckaert.be header.s=x header.b=HyNGUvTW; dmarc=none; 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: EDB45AFCD X-Spam-Score: 1.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: M35rgMZE6ZB0 --=_25788cb3d90f2e880873508f1d008bbc Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2022-11-06 23:21, Felix Lechner wrote: > My diagnosis was wrong. Your EFI variables are accessible. How about > the output of 'efibootmgr'? The hardware is a 2009 macbook, I believe can only boot through EFI (no BIOS compatibility mode or anything, AFAIU). efibootmgr reports (ominously) BootCurrent: 0000 No BootOrder is set; firmware will attempt recovery BootFFFF* I've attached the grub.cfg of the first failing generation (that is: I managed to boot into this generation, but now 'guix system reconfigure' runs into the EFI issue). Somewhat embarrassingly, the last fully working generation is also the last generation with the linux-libre kernel. I don't know if you'd still like to help me try to restore a working system with linux-libre, or if that also conflicts with this list's policy on discussion of nonfree software. If not, that is of course understandable, and I'll try to figure it out another way (or, more likely given my limited experience in this area, attempt a complete fresh install ;-) ). Thomas > Can you post the Grub configuration of the failing setup? It should > show the past (good) configurations? > >> I've also read about rEFInd > > I have used that program to boot into a Linux kernel via its EFI stub, > but it is my least favorite option. > > Kind regards > Felix Lechner --=_25788cb3d90f2e880873508f1d008bbc Content-Transfer-Encoding: base64 Content-Type: text/plain; name=efi-problem-grub.cfg Content-Disposition: attachment; filename=efi-problem-grub.cfg; size=3087 IyBUaGlzIGZpbGUgd2FzIGdlbmVyYXRlZCBmcm9tIHlvdXIgR3VpeCBjb25maWd1cmF0aW9uLiAg QW55IGNoYW5nZXMKIyB3aWxsIGJlIGxvc3QgdXBvbiByZWNvbmZpZ3VyYXRpb24uCmluc21vZCBs dWtzCmluc21vZCBsdWtzMgpjcnlwdG9tb3VudCAtdSBiMTIxZTZkZjgyOGQ0YTkzYTU2MGY1NjBh MWU0YWU1YgpjcnlwdG9tb3VudCAtdSAzZmE2YTA5M2FjMWY0ZjBiYjFiZmY0NjQ1NDYzM2E1OAoK IyBTZXQgJ3Jvb3QnIHRvIHRoZSBwYXJ0aXRpb24gdGhhdCBjb250YWlucyAvZ251L3N0b3JlLgpz ZWFyY2ggLS1maWxlIC0tc2V0IC9nbnUvc3RvcmUvcmk4eGh6ajU0anZ3NTE0aGg0YWZxdjN2MmRo djM5bXotZ3J1Yi1pbWFnZS5wbmcKCgppZiBsb2FkZm9udCB1bmljb2RlOyB0aGVuCiAgc2V0IGdm eG1vZGU9YXV0bwogIGluc21vZCBhbGxfdmlkZW8KICBpbnNtb2QgZ2Z4dGVybQpmaQoKdGVybWlu YWxfb3V0cHV0IGdmeHRlcm0KCmluc21vZCBwbmcKaWYgYmFja2dyb3VuZF9pbWFnZSAvZ251L3N0 b3JlL3JpOHhoemo1NGp2dzUxNGhoNGFmcXYzdjJkaHYzOW16LWdydWItaW1hZ2UucG5nOyB0aGVu CiAgc2V0I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