From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8DHJHpU1dWTFDAEASxT56A (envelope-from ) for ; Tue, 30 May 2023 01:30:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MA7pHpU1dWRZSAAA9RJhRA (envelope-from ) for ; Tue, 30 May 2023 01:30:29 +0200 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 A4E053DDCE for ; Tue, 30 May 2023 01:30:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3mJJ-0007vF-25; Mon, 29 May 2023 19:29:57 -0400 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 1q3mJH-0007ut-0w for help-guix@gnu.org; Mon, 29 May 2023 19:29:55 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1q3mJF-0002pY-8f for help-guix@gnu.org; Mon, 29 May 2023 19:29:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=TTQHwFeVJsEs814 yZBJQfuk/9c1g4gOjfk6IJcp1OSU=; h=cc:to:subject:date:from:in-reply-to: references; d=lease-up.com; b=RaBHgrhADa+tErjbHoQ9HhSJVYISpniciEOZ/7Wm E/mHUtIQkl/N8igWuyHDmkIfU/x72mkxMdR5SdesAsp4mipJFhtsSRblQHD4qLGBITsC+x MbCJkeUr/5zOXGo1RO6AU0NtP3+vfy8mslV/3kbmZstLdKriI6ezmL7kbQQ+U= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id e29f518b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Mon, 29 May 2023 23:29:48 +0000 (UTC) Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-4f3a611b3ddso6094818e87.0 for ; Mon, 29 May 2023 16:29:47 -0700 (PDT) X-Gm-Message-State: AC+VfDxC9jsO282A18IzfvdyWGKdm1yEBKTexqBVXWRizSINs2XM0f5C f6+U67tyTk4Jg/N9mN6L2EeOyVWtYVpfXk5S2Vw= X-Google-Smtp-Source: ACHHUZ6k6ziBlNNUogY2Tqs2B7IzN2OPsp3Bw7SGuVYu2fBe6Ca6TWgSBN74M28x6gSQXiTWHzNJyMB8j5JFoq18qiM= X-Received: by 2002:a05:651c:1713:b0:2af:1ff0:9eb3 with SMTP id be19-20020a05651c171300b002af1ff09eb3mr3384222ljb.15.1685402985950; Mon, 29 May 2023 16:29:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 29 May 2023 16:29:09 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: GRUB fallback on boot failure To: Nathan Dehnel Cc: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.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, T_SCC_BODY_TEXT_LINE=-0.01 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: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685403029; a=rsa-sha256; cv=none; b=eL0XQcdsF8gCplOTJG+bfRFoKbmz48DIWYr95V4fnHYcDfxgXNSeJTqNYBLM23wO7uzwGh na9USOJs3s/EUkIXa8m90oLhkL54Zu8rGRxUMBmifi1reMIe6TpmQ7s7Wzi5hd7a0y+7c7 3W+Lkd8Xe6NbupZNpI8S+JVTZTCvFpzYXIo/b6vIJzJUJuuXbr4snsB/FlXTyWW/lOo6X1 KXx2QzIfyoiGgc98c0+0eb1kC0PqbU6PBIZLVk1VGR+pOnTCzYarlPT0BarzfjLjaAHsEk r/9wdWVyYZ3PabRBkntrYRHX9XNjY7HYtQ8sYO2HmDGAgLKH7QuoLXqbZBr0CQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=RaBHgrhA; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685403029; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TTQHwFeVJsEs814yZBJQfuk/9c1g4gOjfk6IJcp1OSU=; b=YCOydzkNIcOMMZPpYs4/+CRy6iz+PbytovU+bJhDLYoPH1s072f7KvbaVirmeBExTPpqKy ErK7L8o4zun6GWJDhJsBFx7FXUq1BvvCKWX+UpVUZ3Pv2gISqTq9/HS1OI9e0Qh/Ca62ph xoel9e9gp3jXL4iagm8ekhJpddXrQkf8RSL/K54ASX1DzAdtR1qCu4lOIazpXKZiu9NmV1 HC+jsmaUkwCkQxWtx76vda8uufnO4tPZThdowUsX3HlG4OMPbbeI1w070xeE7Aml+Z9TYY 69J5rp2wpFFNxwnaRUg/zx1+/bZRx5r5FZV6vir7piQ7mGZGcXcHQzRq3PQu3A== X-Migadu-Spam-Score: -3.75 X-Spam-Score: -3.75 X-Migadu-Queue-Id: A4E053DDCE X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=RaBHgrhA; 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-TUID: puSHPkqkhfzf Hi Nathan, On Sat, May 27, 2023 at 3:52=E2=80=AFPM Nathan Dehnel = wrote: > > My understanding is this is done by adding the > following to /etc/default/grub: > > export GRUB_FALLBACK=3D"1 2...{number of entries}" > GRUB_DEFAULT=3Dsaved > GRUB_SAVEDEFAULT=3Dtrue I believe it will work, but booting older GRUB entries in Guix comes with a distinct inconvenience. To my knowledge, it is difficult to tell in which iteration you are once you have booted. Ideally, you would merely "roll back" to the system iteration you identified as stable. Then the generation that 'guix system list-generations' shows as (current) corresponds to the system you are in, and grub.cfg will be rewritten to put that iteration on top. In that workflow, there is no need to touch the default. Personally, I think it's easier to maintain (and update) but please feel free to experiment to find out what works best for you. Kind regards Felix