From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czrsv-000820-EI for guix-patches@gnu.org; Sun, 16 Apr 2017 17:39:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czrss-0000nM-Be for guix-patches@gnu.org; Sun, 16 Apr 2017 17:39:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52828) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czrss-0000mn-7v for guix-patches@gnu.org; Sun, 16 Apr 2017 17:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1czrsr-00012S-U6 for guix-patches@gnu.org; Sun, 16 Apr 2017 17:39:01 -0400 Subject: bug#26339: [PATCH 04/18] bootloader: Add install procedures and use them. Resent-Message-ID: Date: Sun, 16 Apr 2017 23:37:58 +0200 From: Danny Milosavljevic Message-ID: <20170416233758.6194c357@scratchpost.org> In-Reply-To: <8760i5iocd.fsf@gmail.com> References: <20170402135242.2958-1-m.othacehe@gmail.com> <20170402135242.2958-4-m.othacehe@gmail.com> <20170415182222.3e1cef0e@scratchpost.org> <8760i5iocd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Mathieu Othacehe Cc: 26339@debbugs.gnu.org Hi Mathieu, On Sat, 15 Apr 2017 19:15:46 +0200 Mathieu Othacehe wrote: > Well you can have only one bootloader in MBR at a time, so even if you > have multiple system generations with various bootloaders, only one is > installed. But I might be wrong here ... It's possible to install Grub to a partition. So there could be one bootloader in the MBR and another bootloader chainloaded in the partition. Also for multiple partitions. If we decide that this use case isn't supported, that's fine. Many other distros make the assumption that there's only one bootloader - which is sometimes good because you can have another bootloader the distribution doesn't know about (in addition to the one the distribution does know about) that supervises all the others. Not sure how Grub finds its config file in the first place. Does Grub itself support that scenario? At least in my Libreboot BIOS I can chainload Grub from Grub - although I think the primary Grub is just picking up the secondary's config file and reloading or something.