[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to use custom grub?
From: |
Marius Bakke |
Subject: |
How to use custom grub? |
Date: |
Thu, 03 Nov 2016 16:19:31 +0000 |
User-agent: |
Notmuch/0.23.1 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) |
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!
signature.asc
Description: PGP signature
- How to use custom grub?,
Marius Bakke <=
- Re: How to use custom grub?, Danny Milosavljevic, 2016/11/03
- Re: How to use custom grub?, Ludovic Courtès, 2016/11/04
- Re: How to use custom grub?, Marius Bakke, 2016/11/05
- Re: How to use custom grub?, Danny Milosavljevic, 2016/11/05
- Re: How to use custom grub?, Danny Milosavljevic, 2016/11/07
- Re: How to use custom grub?, Marius Bakke, 2016/11/07
- Re: How to use custom grub?, Danny Milosavljevic, 2016/11/07
- Re: How to use custom grub?, Marius Bakke, 2016/11/07