From: Thorsten Wilms <t_w_@freenet.de>
To: help-guix@gnu.org
Subject: Dual-booting solution with only one actual Grub installation
Date: Mon, 12 Mar 2018 19:43:39 +0100 [thread overview]
Message-ID: <2fa37bd4-17ff-286b-80ce-948e0b87ee62@freenet.de> (raw)
Hi once again,
There's a convenient dual-booting solution that I think hasn't been
mentioned in these circles. You can let Grub2 offer an item that will
load another grub.cfg.
In my case, that's a Grub installed from Ubuntu, with a menu that will
be updated in sync with kernel installation/removal, plus one "Guix SD"
item that will lead to the known Guix SD menu, also always up-to-date,
without an actual second Grub installation.
No manual updating, no chain-loading of one or the other from an
independent third Grub.
Guix SD: /etc/config.scm, in operating-system:
----
(bootloader (bootloader-configuration (bootloader (bootloader (inherit
grub-bootloader) (installer #~(const #t))))))
----
Thanks to snape in #guix. With this, /boot/grub/grub.cfg will be
generated, but Grub won't actually be installed.
Other system with Grub in MBR, addition to: /etc/grub.d/40_custom:
----
menuentry 'GuixSD' {
search --fs-uuid --set=root a3a97a6f-a4c9-4569-98a3-4306f4db9ff8
configfile /boot/grub/grub.cfg
}
----
Don't forget `sudo update-grub`.
--
Thorsten Wilms
thorwil's design for free software:
http://thorwil.wordpress.com/
next reply other threads:[~2018-03-12 18:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-12 18:43 Thorsten Wilms [this message]
2018-03-12 22:59 ` Dual-booting solution with only one actual Grub installation Tomáš Čech
2018-03-13 13:23 ` Martin Castillo
2018-03-13 14:05 ` Thorsten Wilms
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=2fa37bd4-17ff-286b-80ce-948e0b87ee62@freenet.de \
--to=t_w_@freenet.de \
--cc=help-guix@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.
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).