From mboxrd@z Thu Jan 1 00:00:00 1970 From: L p R n d n Subject: Re: GRUB fallback mechanism [was Re: Brain storming cool Guix features] Date: Mon, 14 Jan 2019 15:15:41 +0100 Message-ID: References: <87bm4wwrku.fsf@dismail.de> <87fttxookn.fsf@elephly.net> <87sgxw2s1h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj25d-0001ml-G7 for guix-devel@gnu.org; Mon, 14 Jan 2019 08:15:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gj25c-0002E5-MW for guix-devel@gnu.org; Mon, 14 Jan 2019 08:15:41 -0500 Received: from mout02.posteo.de ([185.67.36.142]:54315) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gj25c-00028d-Gh for guix-devel@gnu.org; Mon, 14 Jan 2019 08:15:40 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 5DE112400FC for ; Mon, 14 Jan 2019 14:15:32 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43dYql264Nz9rxS for ; Mon, 14 Jan 2019 14:15:31 +0100 (CET) In-Reply-To: <87sgxw2s1h.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 13 Jan 2019 21:58:50 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hello, Ludovic Court=C3=A8s writes: > Ricardo Wurmus skribis: > >> swedebugia writes: >> >>> Leo Famulari skrev: (11 januari 2019 23:32:12 CET) > > [...] > >>>>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 unnecessaril= y 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. > > I agree. > >> Unfortunately, it doesn=E2=80=99t help us when GRUB itself is broken wit= h an >> upgrade, which I think is what was suggested earlier. > > We=E2=80=99ll have to assume (and ensure!) this doesn=E2=80=99t happen=E2= =80=A6 Personally, I never thought about a guix failure here, more about power-outtage or anything we can't control. :D > Ludo=E2=80=99.