From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sABcB6MJWWAbAgAA0tVLHw (envelope-from ) for ; Mon, 22 Mar 2021 21:18:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id TeEzA6MJWWD+TwAA1q6Kng (envelope-from ) for ; Mon, 22 Mar 2021 21:18:27 +0000 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 0A5E916D98 for ; Mon, 22 Mar 2021 22:18:26 +0100 (CET) Received: from localhost ([::1]:57314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lORwP-00052s-88 for larch@yhetil.org; Mon, 22 Mar 2021 17:18:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lORw2-00052f-QE for bug-guix@gnu.org; Mon, 22 Mar 2021 17:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lORw2-0006WD-0B for bug-guix@gnu.org; Mon, 22 Mar 2021 17:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lORw1-0003qK-RO for bug-guix@gnu.org; Mon, 22 Mar 2021 17:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47329: efibootmgr failed to register the boot entry: Input/output error Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Mar 2021 21:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47329 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: David Dashyan Cc: 47329@debbugs.gnu.org X-Debbugs-Original-Cc: 47329@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161644785214737 (code B ref -1); Mon, 22 Mar 2021 21:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 21:17:32 +0000 Received: from localhost ([127.0.0.1]:58986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lORvX-0003pc-RF for submit@debbugs.gnu.org; Mon, 22 Mar 2021 17:17:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:58920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lORvW-0003pU-5r for submit@debbugs.gnu.org; Mon, 22 Mar 2021 17:17:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lORvV-00052G-VW for bug-guix@gnu.org; Mon, 22 Mar 2021 17:17:29 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:46138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lORvT-0006GA-QJ for bug-guix@gnu.org; Mon, 22 Mar 2021 17:17:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=ohNBeqxubmgNdeWx+mpKfvDKBwtbNP2KhtHy701fzVk=; h=date:in-reply-to: references:subject:cc:to:from; b=AzJ8/QkpW/DyFSwQofYw9GniO+uPNM/2jYQ5s TjPG+6IChwmX6WdGLPeIZMkJoLJYnaZF4ZuwpqYCf9tDc3MGKKUL2eaNuLUcc0wzqpGhI+ VJ49wIo4LtzwMpaD5sBuoeMiCKACW7k0IvY94CsneBfIFQOo4G2aOEo3P+dL8FtMiiNqxi PbDEff89a9rKj9c5XG0nMGRxb+TrqJXrwRgH9Qs4Ry4ioOnDjfo7UfDERSvCvhXHXf6V6U IxZ8GAbYeLpWCngFJsMLlYrafiQM9uNDNtSNlOfzvIDosHLO7qsU8UxRpp6Pnk2foXExqu QluzIJBurLH2G5SbTQ2Sv4HAA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 4d8a99ff (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Mon, 22 Mar 2021 21:18:29 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; References: <87wntz3shi.fsf@davie.li> In-reply-to: <87wntz3shi.fsf@davie.li> Date: Mon, 22 Mar 2021 22:17:24 +0100 Message-ID: <87v99i99cr.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616447906; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ohNBeqxubmgNdeWx+mpKfvDKBwtbNP2KhtHy701fzVk=; b=TYObzc0QL7JHfFJ3eL4rgPvV4oYXgisuNsKJqyfXA2D37Fp63UQ9qHTUFfrUt/nL53XbVm MNAv3f3YTXslvXwSfcQxQpB7FFkZRydbJxIvnxQPGxGnSXhvguybC6jLGAnSoG3ju19Bhy I2dLP3sudwB7/Xj3v5K2xq/uxopBC+tor2KrEU/Q4Sm/FqC0cLORAgGC1V/uXwvlqLHnzu 99Szr7LS2bSpMePeFRYeHy8W+lCYbmrJCoFBvyEDRhoHYAGJjDL3RjFFhxuhSMLuo+1gmI /1hLFhPvY4acqLRkiOx5qmf8HjUfGbX2/j3/KkAEj5oZ2WB9mgdPKDavt2xrPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616447906; a=rsa-sha256; cv=none; b=OKu8IeqJQzd1ljm8d3rqtmL1K8PvXmTb+9b4V9e8FoiFmuX2nHWaGtai00luZBIs4HDnvG uurFCJSEVabxyY0NNPb/DkeeLTkJuKlNlItr8FykDVCCjl9QNcPQoFk8VsCghFRT5pNKuK 2xwj5RqLInbSqUFPL3CVpcKiXmojZKOXELhyfTY9Oq9LYJIq5c6oShfyqaFIca7aBLk+5s GrTXRN5wwiua+X98m0ywnMttGELa5PeUJWYV8h9aDMrAVxfCGnUKY1XfOffeJCLvIzRksf s2UXJ+FdaomrCKNB2MTSBUYWE2gYAHjREARigdREAOwRMdfHOoJw3aRR/UOmHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b="AzJ8/Qkp"; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b="AzJ8/Qkp"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0A5E916D98 X-Spam-Score: -3.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9+AoxqGaF/9W --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable David, David Dashyan =E5=86=99=E9=81=93=EF=BC=9A > failed to register the boot entry: Input/output error. [...] > same effect on guix system, but works fine when runned in ubuntu > live cd. Thank you for noting this! This error is not uncommon in general,=20 but this is the first time I've heard (or it's even occurred to=20 me) that there's a difference between different efibootmgr builds.=20 I'll keep that in mind when this next happens to me. > I don't get why it complains that there is "no space left on=20 > device" > though. Because your UEFI firmware reports that the storage NVRAM (a chip=20 on your motherboard) is full. There's no magic (simple + safe + guaranteed to work) way to fix=20 this. I don't think Guix could reliably automate one if we tried. One of the safer things to try is looking at the output of=20 =E2=80=98efibootmgr=E2=80=99, then deleting =E2=80=98obviously irrelevant= =E2=80=99 BootNNNN=20 entries with =E2=80=98efibootmgr -b NNNN -B=E2=80=99. IIRC, my Lenovo X230= T came=20 with options to boot from a floppy and/or optical drives, neither=20 of which it has. Each one takes up a tiny bit of the very limited=20 NVRAM storage. Deleting just a few clearly-unused entries can fix the problem,=20 and is a lot safer than, e.g., manually mucking about in=20 /sys/firmware/efi/efivars. That could theoretically brick your=20 machine. Some people also report success from the =E2=80=98load defaults=E2=80=99 or= =E2=80=98load=20 optimised defaults=E2=80=99 options in the firmware's set-up menu. Of=20 course you'll lose all custom firmware settings, but you might not=20 have any, and they're quite easy to restore by hand. > output of `df -h` contains: >> /dev/nvme0n1p1 548M 212K 548M 1% /boot/efi The problem you're having has nothing to do with drives; you can=20 ignore them. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYFkJZA0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15XA8BALCLvpmaTGyjSZaboiugN0K2QY4+Z8Dcb4UVETsV ry6WAQCxCAike9enuCQt86RJ0rnX7ZYxMD2yiUqlfHXogCLmAQ== =k3Ix -----END PGP SIGNATURE----- --=-=-=--