* Dual-booting solution with only one actual Grub installation
@ 2018-03-12 18:43 Thorsten Wilms
2018-03-12 22:59 ` Tomáš Čech
2018-03-13 13:23 ` Martin Castillo
0 siblings, 2 replies; 4+ messages in thread
From: Thorsten Wilms @ 2018-03-12 18:43 UTC (permalink / raw)
To: help-guix
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dual-booting solution with only one actual Grub installation
2018-03-12 18:43 Dual-booting solution with only one actual Grub installation Thorsten Wilms
@ 2018-03-12 22:59 ` Tomáš Čech
2018-03-13 13:23 ` Martin Castillo
1 sibling, 0 replies; 4+ messages in thread
From: Tomáš Čech @ 2018-03-12 22:59 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 859 bytes --]
On Mon, Mar 12, 2018 at 07:43:39PM +0100, Thorsten Wilms wrote:
>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))))))
>----
Very nice indeed! Thanks for sharing.
S_@
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dual-booting solution with only one actual Grub installation
2018-03-12 18:43 Dual-booting solution with only one actual Grub installation Thorsten Wilms
2018-03-12 22:59 ` Tomáš Čech
@ 2018-03-13 13:23 ` Martin Castillo
2018-03-13 14:05 ` Thorsten Wilms
1 sibling, 1 reply; 4+ messages in thread
From: Martin Castillo @ 2018-03-13 13:23 UTC (permalink / raw)
To: help-guix
[-- Attachment #1.1: Type: text/plain, Size: 474 bytes --]
Hi,
On 12.03.2018 19:43, Thorsten Wilms wrote:
> 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.
I mentioned it in [0], and I think I got the idea from some other post
in guix-devel or help-guix.
Martin
[0]: https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00134.html
--
GPG: 7FDE 7190 2F73 2C50 236E 403D CC13 48F1 E644 08EC
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dual-booting solution with only one actual Grub installation
2018-03-13 13:23 ` Martin Castillo
@ 2018-03-13 14:05 ` Thorsten Wilms
0 siblings, 0 replies; 4+ messages in thread
From: Thorsten Wilms @ 2018-03-13 14:05 UTC (permalink / raw)
To: help-guix
On 13.03.2018 14:23, Martin Castillo wrote:
> I mentioned it in [0], and I think I got the idea from some other post
> in guix-devel or help-guix.
>
> Martin
>
> [0]:https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00134.html
I think I even came across that threat, but forgot about it, as it
didn't lead to me to a complete solution.
Regarding the discussion about adding cases to --no-bootloader, I think
this belongs into the configuration, not an option given to `guix system
reconfigure`, which one might forget to pass all too easily.
--
Thorsten Wilms
thorwil's design for free software:
http://thorwil.wordpress.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-13 14:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-12 18:43 Dual-booting solution with only one actual Grub installation Thorsten Wilms
2018-03-12 22:59 ` Tomáš Čech
2018-03-13 13:23 ` Martin Castillo
2018-03-13 14:05 ` Thorsten Wilms
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.