From: ludo@gnu.org (Ludovic Courtès)
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: guix system init co-existing with other distros
Date: Sun, 21 Feb 2016 23:12:41 +0100 [thread overview]
Message-ID: <87oab9sofa.fsf@gnu.org> (raw)
In-Reply-To: <87r3gg8o1u.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sat, 13 Feb 2016 19:26:05 +0100")
Jan Nieuwenhuizen <janneke@gnu.org> skribis:
> I am using this snippet in (operatating-system) to multi-boot
>
> (bootloader
> (grub-configuration
> (device "/dev/sda")
> ;; Here is my hack (grub-configuration appends bzImage to `linux')
> ;; to add a custom entry for debian on /dev/sda3 to the Grub menu
> ;; On Debian, do:
> ;; sudo mkdir -p /boot/latest
> ;; sudo ln -s $(ls -t /boot/vmlinuz*|head -1) /boot/latest/bzImage
> ;; sudo ln -s $(ls -t /boot/initrd*|head -1) /boot/latest/initrd
> (menu-entries
> (list (menu-entry
> (label "debian")
> (linux "(hd0,msdos3)/boot/latest")
> (linux-arguments
> '("root=UUID=73ede06b-19e0-4d09-bc1e-23fe6c76d77a ro"))
> (initrd "(hd0,msdos3)/boot/latest/initrd"))))))
Did you run “guix system init config.scm /”?
That’s how I did my first GuixSD install long ago, so I had a safety net
since the other distro was still around.
However, in practice, each distro will want to fiddle with /etc, so it
is inconvenient at best to switch distros if they share the same root
file system.
> how are you all doing this? Can we/do we want to give almost-GuixSD
> users a better experience?
Good question! I’m not sure I fully understand your hack but I’d like
to read more about it. :-)
Ludo’.
next prev parent reply other threads:[~2016-02-21 22:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-13 18:26 guix system init co-existing with other distros Jan Nieuwenhuizen
2016-02-18 20:26 ` Andreas Enge
2016-02-18 21:40 ` Jan Nieuwenhuizen
2016-02-21 22:12 ` Ludovic Courtès [this message]
2016-02-21 22:54 ` Jan Nieuwenhuizen
2016-02-23 13:40 ` Ludovic Courtès
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=87oab9sofa.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=janneke@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.
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.