From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jookia <166291@gmail.com> Subject: Re: [PATCH] system: grub: Add 'libreboot?' install flag. Date: Thu, 10 Mar 2016 09:49:43 +1100 Message-ID: <20160309224943.GA16072@novena-choice-citizen.lan> References: <56b319f8.c7b08c0a.5aff5.fffff356@mx.google.com> <8760y4kvkr.fsf@gnu.org> <20160309223743.5aa31343@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <166291@gmail.com>) id 1admwm-00020d-KK for guix-devel@gnu.org; Wed, 09 Mar 2016 17:51:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <166291@gmail.com>) id 1admwl-00015w-P3 for guix-devel@gnu.org; Wed, 09 Mar 2016 17:51:16 -0500 Content-Disposition: inline In-Reply-To: <20160309223743.5aa31343@scratchpost.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Danny Milosavljevic Cc: guix-devel@gnu.org On Wed, Mar 09, 2016 at 10:37:43PM +0100, Danny Milosavljevic wrote: > Hi, Hi there, this is an old patch set so if you intend on using it you should use my newer RFC posted earlier this month. :) > just adding a few bits of information: > > It's true that libreboot can (and does) source other grub config files. GRUB should also be able to chainload other bootloaders, however I tried that several times now and it just doesn't work. Is this a known limitation? > > insmod ahci > insmod ext2 > insmod part_msdos > insmod chain > > set default=0 > set timeout=1 > > submenu "Load Config" 0 { > root=(ahci0,msdos1) > source /boot/grub/grub.cfg <--- works > unset superusers > } > > menuentry "Chainload GuixSD" { > chainloader (ahci0)+1 <-- doesn't work, "unknown payload" > } I'm unsure if it can chainload from another drive's MBR like this. > But I can confirm that having /boot/grub/libreboot_grub.cfg makes libreboot use that by default (after a 1 second or so delay where you can choose something else for it to do). > > Personally, I just use > > $ ln -s grub.cfg /boot/grub/libreboot_grub.cfg > > without any other patches instead. Works fine. Also auto-updates. Unfortunately this doesn't work for encrypted disks. Jookia.