guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] system: grub: Add 'libreboot?' install flag.


From: Jookia
Subject: Re: [PATCH] system: grub: Add 'libreboot?' install flag.
Date: Thu, 10 Mar 2016 09:49:43 +1100
User-agent: Mutt/1.5.24 (2015-08-30)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]