From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d98iv-0001hE-S6 for guix-patches@gnu.org; Fri, 12 May 2017 07:27:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d98is-0006xI-O0 for guix-patches@gnu.org; Fri, 12 May 2017 07:27:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37159) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d98is-0006xE-KS for guix-patches@gnu.org; Fri, 12 May 2017 07:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d98is-0004sV-Ej for guix-patches@gnu.org; Fri, 12 May 2017 07:27:02 -0400 Subject: bug#26339: [PATCH 02/18] system: Add extlinux support. Resent-Message-ID: Date: Fri, 12 May 2017 13:26:30 +0200 From: Danny Milosavljevic Message-ID: <20170512132630.1eeb75bc@scratchpost.org> In-Reply-To: <87d1betr8y.fsf@gnu.org> References: <20170402135242.2958-1-m.othacehe@gmail.com> <20170402135242.2958-2-m.othacehe@gmail.com> <87mvanjepx.fsf@gnu.org> <871sryqy3g.fsf@gmail.com> <87bmr29x4q.fsf@gnu.org> <864lwuje63.fsf@gmail.com> <87inl9zruw.fsf@gnu.org> <20170512020243.5af54ed2@scratchpost.org> <87d1betr8y.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26339@debbugs.gnu.org Hi Ludo, On Fri, 12 May 2017 10:26:53 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > > If there is a switch between extlinux and grub, the bootloader config f= ile format (and name, too) will change. > > > > So if you do switch the config file out but don't switch the actual boo= tloader out it will not boot, right? =20 >=20 > Unless you regenerate the bootloader=E2=80=99s config file upon > =E2=80=98switch-configuration=E2=80=99. Yes, for the last-guix-installed bootloader (presumably the still-installed= one). Good point. That would mean only the bootloader type of the newest system generation wo= uld be checked - also when restoring older generations. Can the newest system generation be deleted? Then eventually Guix could re= ad the wrong bootloader type (of a bootloader which isn't actually installe= d at the time).