Re: [PATCH 6/6] gnu: Add grub-efi.

2017-01-04 Thread Ludovic Courtès
Chris Marusich skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Howdy! >> >> There I typed at the GRUB command prompt: >> >> insmod efi_gop >> insmod efi_uga >> cat /var/guix/gcroots/grub.cfg > > Slightly off-topic question: how does one find out what the possible > values for X are i

Re: [PATCH 6/6] gnu: Add grub-efi.

2017-01-03 Thread Chris Marusich
l...@gnu.org (Ludovic Courtès) writes: > Howdy! > > There I typed at the GRUB command prompt: > > insmod efi_gop > insmod efi_uga > cat /var/guix/gcroots/grub.cfg Slightly off-topic question: how does one find out what the possible values for X are in a command like "insmod X"? I've search

Re: [PATCH 6/6] gnu: Add grub-efi.

2017-01-03 Thread Ludovic Courtès
Howdy! l...@gnu.org (Ludovic Courtès) skribis: > Marius Bakke skribis: > OK. I'll try to find out why tests don't work with the UEFI variant first in order to at least write a meaningful comment. Maybe qemu needs UEFI support or something like that. >>> >>> It might be that we no

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-21 Thread Danny Milosavljevic
Hi, efibootmgr is trying to add an entry for Linux to the EFI bootmanager and set the boot priority order. It won't usefully autoboot without it. That said, depending on how good the UEFI implementation on your laptop is you might be able to hit a function key on POST and select the image file

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-21 Thread Ludovic Courtès
Marius Bakke skribis: > Ludovic Courtès writes: [...] I’m failing at installing GuixSD on a new laptop I have here. ‘efibootmgr’ exits with code 2 and this message: EFI variables are not supported on this system. (which ‘grub-install’ happily ignores.)

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-20 Thread Marius Bakke
Ludovic Courtès writes: > Marius Bakke skribis: > >> Ludovic Courtès writes: >> >>> Hello! >>> >>> Marius Bakke skribis: >>> >> OK. I'll try to find out why tests don't work with the UEFI variant >> first in order to at least write a meaningful comment. Maybe qemu needs >> UEFI sup

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-20 Thread Ludovic Courtès
Marius Bakke skribis: > Ludovic Courtès writes: > >> Hello! >> >> Marius Bakke skribis: >> > OK. I'll try to find out why tests don't work with the UEFI variant > first in order to at least write a meaningful comment. Maybe qemu needs > UEFI support or something like that.

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-20 Thread Marius Bakke
Ludovic Courtès writes: > Hello! > > Marius Bakke skribis: > OK. I'll try to find out why tests don't work with the UEFI variant first in order to at least write a meaningful comment. Maybe qemu needs UEFI support or something like that. >>> >>> It might be that we no longer need

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-20 Thread Ludovic Courtès
Hello! Marius Bakke skribis: >>> OK. I'll try to find out why tests don't work with the UEFI variant >>> first in order to at least write a meaningful comment. Maybe qemu needs >>> UEFI support or something like that. >> >> It might be that we no longer need QEMU 1.3.1 to run the tests (see the

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-19 Thread Marius Bakke
Ludovic Courtès writes: > Marius Bakke skribis: > >> Ludovic Courtès writes: >> >>> Hi Marius, >>> >>> Marius Bakke skribis: >>> Ludovic Courtès writes: >> Relatedly, I think the way to build a 'multi-grub' is to have one >> expression for each supported grub platform, and t

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-19 Thread Ludovic Courtès
Marius Bakke skribis: > Ludovic Courtès writes: > >> Hi Marius, >> >> Marius Bakke skribis: >> >>> Ludovic Courtès writes: >>> > Relatedly, I think the way to build a 'multi-grub' is to have one > expression for each supported grub platform, and then consolidate > out/lib/grub from

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-19 Thread Marius Bakke
Ludovic Courtès writes: > Hi Marius, > > Marius Bakke skribis: > >> Ludovic Courtès writes: >> Relatedly, I think the way to build a 'multi-grub' is to have one expression for each supported grub platform, and then consolidate out/lib/grub from each. >>> >>> So in essence, GRUB i

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-19 Thread Ludovic Courtès
Hi Marius, Marius Bakke skribis: > Ludovic Courtès writes: > >>> Relatedly, I think the way to build a 'multi-grub' is to have one >>> expression for each supported grub platform, and then consolidate >>> out/lib/grub from each. >> >> So in essence, GRUB itself supports only one platform at a t

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-18 Thread Marius Bakke
Ludovic Courtès writes: >> Relatedly, I think the way to build a 'multi-grub' is to have one >> expression for each supported grub platform, and then consolidate >> out/lib/grub from each. > > So in essence, GRUB itself supports only one platform at a time? AFAICT yes. Gentoo works around this b

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-18 Thread Ludovic Courtès
Hello Marius! Marius Bakke skribis: > Ludovic Courtès writes: [...] >> It turns out I have an immediate need ;-), so I pushed this as commit >> 3eee16130d858ae96510ec1c7d38d31290de2699. Let me know if that doesn’t >> seem right! > > I think you need to compile with '--with-platform=efi' as w

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-17 Thread Marius Bakke
> For anyone following along at home, I've attached the patches I'm using > for UEFI GuixSD. The latter two probably won't work properly on a > non-UEFI system, needs testing. Never mind the last part, 'guix system vm-image' works fine with these patches. signature.asc Description: PGP signatur

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-17 Thread Marius Bakke
Ludovic Courtès writes: > Hi Marius, > > Marius Bakke skribis: > >> Ludovic Courtès writes: >> >> From 940c03c7dcddec019e27f6eb1470aeab4db57799 Mon Sep 17 00:00:00 2001 >> From: Marius Bakke >> Date: Thu, 20 Oct 2016 17:26:52 +0100 >> Subject: [PATCH] gnu: Add grub-efi. >>

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-16 Thread Marius Bakke
Ludovic Courtès writes: > Hi Marius, > > Marius Bakke skribis: > >> Ludovic Courtès writes: >> >> From 940c03c7dcddec019e27f6eb1470aeab4db57799 Mon Sep 17 00:00:00 2001 >> From: Marius Bakke >> Date: Thu, 20 Oct 2016 17:26:52 +0100 >> Subject: [PATCH] gnu: Add grub-efi. >>

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-16 Thread Danny Milosavljevic
Did you add (grub grub-efi) in your in your system config? Or another package with --with-platform=efi ?

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-12-16 Thread Ludovic Courtès
Hi Marius, Marius Bakke skribis: > Ludovic Courtès writes: > > From 940c03c7dcddec019e27f6eb1470aeab4db57799 Mon Sep 17 00:00:00 2001 > From: Marius Bakke > Date: Thu, 20 Oct 2016 17:26:52 +0100 > Subject: [PATCH] gnu: Add grub-efi. > > * gnu/packages/grub.scm (grub-efi

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-11-07 Thread Marius Bakke
Ludovic Courtès writes: From 940c03c7dcddec019e27f6eb1470aeab4db57799 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 20 Oct 2016 17:26:52 +0100 Subject: [PATCH] gnu: Add grub-efi. * gnu/packages/grub.scm (grub-efi): New variable. >>> >>> [...] >>> +

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-11-07 Thread Ludovic Courtès
Marius Bakke skribis: > Ludovic Courtès writes: [...] >>> Oops, not sure what went wrong when fixing up this package for >>> publishing. Updated patch attached. >> >> I think Leo was asking whether you could get a bootable system with it. > > Yes, I'm using this right now, on top of the recent

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-11-06 Thread Marius Bakke
Ludovic Courtès writes: > Marius Bakke skribis: > >> Leo Famulari writes: >> >>> On Sat, Nov 05, 2016 at 12:55:11PM +, Marius Bakke wrote: * gnu/packages/grub.scm (grub-efi): New variable. --- gnu/packages/grub.scm | 21 + 1 file changed, 21 insertio

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-11-06 Thread Ludovic Courtès
Marius Bakke skribis: > Leo Famulari writes: > >> On Sat, Nov 05, 2016 at 12:55:11PM +, Marius Bakke wrote: >>> * gnu/packages/grub.scm (grub-efi): New variable. >>> --- >>> gnu/packages/grub.scm | 21 + >>> 1 file changed, 21 insertions(+) >>> >>> diff --git a/gnu/pack

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-11-05 Thread Marius Bakke
Leo Famulari writes: > On Sat, Nov 05, 2016 at 12:55:11PM +, Marius Bakke wrote: >> * gnu/packages/grub.scm (grub-efi): New variable. >> --- >> gnu/packages/grub.scm | 21 + >> 1 file changed, 21 insertions(+) >> >> diff --git a/gnu/packages/grub.scm b/gnu/packages/grub.

Re: [PATCH 6/6] gnu: Add grub-efi.

2016-11-05 Thread Leo Famulari
On Sat, Nov 05, 2016 at 12:55:11PM +, Marius Bakke wrote: > * gnu/packages/grub.scm (grub-efi): New variable. > --- > gnu/packages/grub.scm | 21 + > 1 file changed, 21 insertions(+) > > diff --git a/gnu/packages/grub.scm b/gnu/packages/grub.scm > index ffce1bf..e06216f 10

[PATCH 6/6] gnu: Add grub-efi.

2016-11-05 Thread Marius Bakke
* gnu/packages/grub.scm (grub-efi): New variable. --- gnu/packages/grub.scm | 21 + 1 file changed, 21 insertions(+) diff --git a/gnu/packages/grub.scm b/gnu/packages/grub.scm index ffce1bf..e06216f 100644 --- a/gnu/packages/grub.scm +++ b/gnu/packages/grub.scm @@ -157,3 +157,