From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: GRUB fallback mechanism [was Re: Brain storming cool Guix features] Date: Sun, 13 Jan 2019 21:58:50 +0100 Message-ID: <87sgxw2s1h.fsf@gnu.org> References: <87bm4wwrku.fsf@dismail.de> <87fttxookn.fsf@elephly.net> 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]:50921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gimqS-0004M8-69 for guix-devel@gnu.org; Sun, 13 Jan 2019 15:59:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gimqP-0005Rk-KL for guix-devel@gnu.org; Sun, 13 Jan 2019 15:59:00 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:58366) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gimqN-0005Oe-Lc for guix-devel@gnu.org; Sun, 13 Jan 2019 15:58:57 -0500 In-Reply-To: <87fttxookn.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 12 Jan 2019 16:58:16 +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: Ricardo Wurmus Cc: "guix-devel@gnu.org" , L p R n d n 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 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. I agree. > Unfortunately, it doesn=E2=80=99t help us when GRUB itself is broken with= 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 Ludo=E2=80=99.