From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: How to use custom grub? Date: Fri, 04 Nov 2016 14:24:45 +0100 Message-ID: <87a8df1ioy.fsf@gnu.org> References: <8737j85yek.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2eUG-0004CN-AP for guix-devel@gnu.org; Fri, 04 Nov 2016 09:24:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2eUC-0007XL-9V for guix-devel@gnu.org; Fri, 04 Nov 2016 09:24:52 -0400 In-Reply-To: <8737j85yek.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> (Marius Bakke's message of "Thu, 03 Nov 2016 16:19:31 +0000") 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" To: Marius Bakke Cc: guix-devel@gnu.org Hello! Marius Bakke skribis: > I have a working UEFI GuixSD system, by adding FAT32 support to > base-initrd and installing the initial UEFI bootloader from a non-Guix > live CD. Cool! We should integrate the necessary changes in =E2=80=98master=E2=80= =99. > The "grub-configuration" object takes a 'grub' argument which defaults > to (@ (gnu packages grub) grub). However setting that to 'grub-efi' in > the operating-system declaration or even directly in gnu/system/grub.scm > has no effect. Ideally it should have the desired effect. :-) > Looking at guix/scripts/system.scm, grub is defined as > (package->derivation grub). I tried exporting grub-configuration-grub > and using that in the (package->derivation) procedure, but that broke > the world :) > > What is the correct approach here? What you describe above looks like the right approach. Maybe we could see exactly what broke and work from there, unless Danny=E2=80=99s patch al= ready solves the issue? Thanks, Ludo=E2=80=99.