From: "Raghav Gururajan" <rvgn@disroot.org>
To: Vasilii Kolobkov <vasilii@orangeshoelaces.net>, help-guix@gnu.org
Subject: Re: Keeping just grub.cfg for a bootloader
Date: Sun, 12 May 2019 09:19:23 +0000 [thread overview]
Message-ID: <6aa8150643946007e24e2026467e2ef2@disroot.org> (raw)
In-Reply-To: <87o9489aqo.fsf@orangeshoelaces.net>
> 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.
prev parent reply other threads:[~2019-05-12 9:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-11 17:11 Keeping just grub.cfg for a bootloader Vasilii Kolobkov
2019-05-12 9:19 ` Raghav Gururajan [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6aa8150643946007e24e2026467e2ef2@disroot.org \
--to=rvgn@disroot.org \
--cc=help-guix@gnu.org \
--cc=vasilii@orangeshoelaces.net \
/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 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.