From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: How to use custom grub? Date: Thu, 03 Nov 2016 20:47:06 +0000 Message-ID: <87d1ic8f5h.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <8737j85yek.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> <20161103175051.1588de9f@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2Oun-0005xp-BJ for guix-devel@gnu.org; Thu, 03 Nov 2016 16:47:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2Ouj-0003iT-0l for guix-devel@gnu.org; Thu, 03 Nov 2016 16:47:13 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:34725) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c2Oui-0003iD-Sq for guix-devel@gnu.org; Thu, 03 Nov 2016 16:47:08 -0400 In-Reply-To: <20161103175051.1588de9f@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" To: Danny Milosavljevic Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Danny Milosavljevic writes: > Hi Marius, > > yeah, I've noticed that problem, too. > > David and I got some steps in the direction of fixing it (for U-Boot support): > > The U-Boot support patch generalized this, see my E-Mail to this list, subject "[WIP PATCH] gnu: add U-Boot support to operating-system" on 09 Sep 2016 at 20:09. > > The relevant part is: > - guix/scripts/system.scm: The "install" routine is changed to also accept the bootloader package as argument (variable is called "grub" to keep the number of trivial patch chunks low). > - guix/scripts/system.scm: The new "install-bootloader*" routine is introduced instead of "install-grub*" to also accept the bootloader package as argument. > > If you want you can cherry-pick these changes. I've reconfigured and booted with that patch. It works. Thanks a lot for the fast reply! That patch was really helpful. I'll try to extract the parts that are relevant for grub-efi support while keeping other bootloaders in mind. Hoping to largely piggy-back on the regular grub stuff for grub-efi, as it only needs two extra lines in grub.cfg and adding "--bootloader-id=GNU" "--efi-directory=" to the grub-install command. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJYG6JKAAoJEKKgbfKjOlT6E0YIAJYwJy89pAXaWQLtYXLFxnQP XxsSKe1j08WA1niSqmMLegiNV9PDurBX66I+lQL7bpxQhvdwJNcXec+yXVcQ5pOw p4qouN47idzTxr5wbXWECT0+xXWZRL8Da3uTb5mm7ywwz4VFbx90fE7Q4V/1WubI ypcF5QYlY8zvZae4N0IVlnAjYVQCwKj+X41m5ISGhGh8Yc3dPBBA8SQJ6o8RmhL/ RZYqhI0mxI5WYf/ai1kLl3DCu8p5R9UOZcHhnXYaYQt6g8eB8gxLGoKE8/B2UD0j zRwspWZhCjmI73TnSr4xtvgb19vIVHqzPWEqGIzELp0CPh5aiBLetaBh64g6Me0= =Tn8H -----END PGP SIGNATURE----- --=-=-=--