[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB fallback mechanism [was Re: Brain storming cool Guix features]

From: Ricardo Wurmus
Subject: Re: GRUB fallback mechanism [was Re: Brain storming cool Guix features]
Date: Sat, 12 Jan 2019 16:58:16 +0100
User-agent: mu4e 1.0; emacs 26.1

swedebugia <address@hidden> writes:

> Leo Famulari <address@hidden> 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
>>>   if something goes wrong with the bootloader. Might be nice to have
>>>   tool (in the install image I suppose) to recover the bootloader.
>>>   Maybe 'guix system init' can deal with that king of cases for now,
>>>   don't know, but a dedicated command might be able to use the
>>>   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:
> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]