* Keeping just grub.cfg for a bootloader
@ 2019-05-11 17:11 Vasilii Kolobkov
2019-05-12 9:19 ` Raghav Gururajan
0 siblings, 1 reply; 2+ messages in thread
From: Vasilii Kolobkov @ 2019-05-11 17:11 UTC (permalink / raw)
To: help-guix
Hello fellow Guix folks!
I'm planning a switch to a Guix system and have a question i couldn't
answer myself - is it possible to keep just the grub.cfg instead of full
GRUB install? I'd rather have GRUB installed as a payload with Coreboot
and maintain it's configuration with `guix system`, so that the whole
disk could be encrypted.
I'd appreciate any tips!
--
Vasilii, pgp key 0xFF3C7272972E83A5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Keeping just grub.cfg for a bootloader
2019-05-11 17:11 Keeping just grub.cfg for a bootloader Vasilii Kolobkov
@ 2019-05-12 9:19 ` Raghav Gururajan
0 siblings, 0 replies; 2+ messages in thread
From: Raghav Gururajan @ 2019-05-12 9:19 UTC (permalink / raw)
To: Vasilii Kolobkov, help-guix
> Hello fellow Guix folks!
>
> I'm planning a switch to a Guix system and have a question i couldn't
> answer myself - is it possible to keep just the grub.cfg instead of full
> GRUB install? I'd rather have GRUB installed as a payload with Coreboot
> and maintain it's configuration with `guix system`, so that the whole
> disk could be encrypted.
>
> I'd appreciate any tips!
Hello Vasilii!
I had this very same situation, as I am using libreboot which has grub payload. You can use the following code snippet for your "bootloader" part of your system configuration.
(bootloader
(bootloader-configuration
(bootloader
(bootloader
(inherit grub-bootloader)
(installer #~(const #t))))))
This will generate and manage "grub.cfg" without installing grub bootloader on your disk. Thanks to Guix Folk, Clement, who helped me with that code.
Regards,
RG.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-12 9:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-11 17:11 Keeping just grub.cfg for a bootloader Vasilii Kolobkov
2019-05-12 9:19 ` Raghav Gururajan
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.