unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: swedebugia <swedebugia@riseup.net>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>,
	L p R n d n <guix@lprndn.info>
Subject: Re: GRUB fallback mechanism [was Re: Brain storming cool Guix features]
Date: Sat, 12 Jan 2019 16:58:16 +0100	[thread overview]
Message-ID: <87fttxookn.fsf@elephly.net> (raw)
In-Reply-To: <E7A73946-E907-40D8-ADFE-B84E4AAB97AB@pretty.Easy.privacy>


swedebugia <swedebugia@riseup.net> writes:

> Leo Famulari <leo@famulari.name> skrev: (11 januari 2019 23:32:12 CET)
>>On Mon, Jan 07, 2019 at 05:48:39PM +0100, L p R n d n wrote:
>>> - Currently, I think the only way for a GuixSD installation to break
>>is
>>>   if something goes wrong with the bootloader. Might be nice to have
>>a
>>>   tool (in the install image I suppose) to recover the bootloader.
>>>   Maybe 'guix system init' can deal with that king of cases for now,
>>I
>>>   don't know, but a dedicated command might be able to use the
>>original
>>>   store, restore previous generations etc.
>>
>>Apparently GRUB has a feature that records a "fallback" system to boot
>>if booting fails.
>>
>>Maybe when reconfiguring, Guix could set the current system as the
>>fallback so that it would always boot.
>>
>>If we did that, we'd want to warn the user somehow... not sure how to
>>achieve that.
>>
>>Discussion of this feature at NixOS:
>>
>>https://github.com/NixOS/nixpkgs/issues/26332
>
> I don't think automatic fallback is a good idea because it unnecessarily complicates a now well working simple part of the OS.
> KISS is a nice principle.

I think exposing this GRUB feature would be good, even if not enabled by
default.  It does not seem very complicated and can be very useful for
some users.

Unfortunately, it doesn’t help us when GRUB itself is broken with an
upgrade, which I think is what was suggested earlier.

--
Ricardo

  reply	other threads:[~2019-01-12 15:59 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-04 12:11 Brain storming cool Guix features Joshua Branson
2019-01-04 16:01 ` Ricardo Wurmus
2019-01-05 13:59   ` Joshua Branson
2019-01-05 17:06     ` Ricardo Wurmus
2019-01-13 20:18   ` Joshua Branson
2019-01-13 21:36     ` bug#25453: Keyboard layout configuration Ludovic Courtès
2019-01-13 22:49       ` nee
2019-01-15 22:21         ` Ludovic Courtès
2019-03-12 19:34           ` bug#25453: " Taylan Kammer
2019-03-15 18:19             ` nee
2019-03-21 22:23               ` Taylan Kammer
2019-03-20 23:07           ` Ludovic Courtès
2019-01-16 13:10         ` Ludovic Courtès
2019-01-04 16:10 ` Brain storming cool Guix features Pierre Neidhardt
2019-01-04 16:14   ` John Soo
2019-01-04 16:58 ` znavko
2019-01-06 13:44   ` Amirouche Boubekki
2019-01-06 16:33     ` swedebugia
2019-01-06 20:04       ` Amirouche Boubekki
2019-01-07 16:48 ` L p R n d n
2019-01-07 18:16   ` Joshua Branson
2019-01-11 22:32   ` GRUB fallback mechanism [was Re: Brain storming cool Guix features] Leo Famulari
2019-01-12 12:59     ` swedebugia
2019-01-12 15:58       ` Ricardo Wurmus [this message]
2019-01-13 20:58         ` Ludovic Courtès
2019-01-14 14:15           ` L p R n d n

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fttxookn.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=guix@lprndn.info \
    --cc=swedebugia@riseup.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).