[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GRUB fallback on boot failure
From: |
Felix Lechner |
Subject: |
Re: GRUB fallback on boot failure |
Date: |
Mon, 29 May 2023 16:29:09 -0700 |
Hi Nathan,
On Sat, May 27, 2023 at 3:52 PM Nathan Dehnel <ncdehnel@gmail.com> wrote:
>
> My understanding is this is done by adding the
> following to /etc/default/grub:
>
> export GRUB_FALLBACK="1 2...{number of entries}"
> GRUB_DEFAULT=saved
> GRUB_SAVEDEFAULT=true
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