From: Marius Bakke <mbakke@fastmail.com>
To: guix-devel@gnu.org
Subject: How to use custom grub?
Date: Thu, 03 Nov 2016 16:19:31 +0000 [thread overview]
Message-ID: <8737j85yek.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> (raw)
[-- Attachment #1: Type: text/plain, Size: 936 bytes --]
Greetings Guix,
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.
Now that it's booted, I want to use a custom 'grub-efi' package so that
`guix system reconfigure` works without passing --no-grub and manually
copying grub.cfg.
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.
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?
Additionally the "grub-install" arguments are slightly different for EFI
systems. Tips for properly handling that appreciated.
Thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
next reply other threads:[~2016-11-03 16:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-03 16:19 Marius Bakke [this message]
2016-11-03 16:50 ` How to use custom grub? Danny Milosavljevic
2016-11-03 20:47 ` Marius Bakke
2016-11-03 20:47 ` Marius Bakke
2016-11-04 13:24 ` Ludovic Courtès
2016-11-05 12:37 ` Marius Bakke
2016-11-05 23:41 ` Danny Milosavljevic
2016-11-07 10:48 ` Danny Milosavljevic
2016-11-07 11:36 ` Marius Bakke
2016-11-07 15:05 ` Danny Milosavljevic
2016-11-07 15:50 ` Marius Bakke
2016-11-07 22:26 ` Danny Milosavljevic
2016-11-08 12:40 ` Ludovic Courtès
2016-11-08 14:36 ` Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737j85yek.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me \
--to=mbakke@fastmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).