all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Guix/GNU/Linux multi distro + GuixSD multi-site scenario
Date: Mon, 28 Mar 2016 23:05:16 +0300	[thread overview]
Message-ID: <87poue8j2b.fsf@gmail.com> (raw)
In-Reply-To: <87r3eusmf0.fsf@gmail.com> (Chris Marusich's message of "Mon, 28 Mar 2016 07:32:35 -0700")

Chris Marusich (2016-03-28 17:32 +0300) wrote:

> Alex Kost <alezost@gmail.com> writes:
>
>> Hi, I also use double boot (GuixSD and ArchLinux).  I do it like this:
>> at first I never let GuixSD to reinstall grub by using --no-grub option
>> ("guix system reconfigure --no-grub ...").  Instead I installed grub
>> manually (into a separate "boot" partition) and I use my own "grub.cfg",
>> which has an entry for the latest GuixSD system.  This entry may look
>> like this:
>>
>> menuentry 'GuixSD' {
>>     search --no-floppy --label --set guix
>>     linux  /var/guix/profiles/system/kernel/bzImage --root=guix --system=/var/guix/profiles/system --load=/var/guix/profiles/system/boot
>>     initrd /var/guix/profiles/system/initrd
>> }
>>
>> My grub config¹ also has entries for a previous system generation (I can
>> boot any generation by editing a number in a grub boot menu) and for a
>> particular system (sometimes I do "guix system build …" and put the
>> result directory of this "testing" system to my grub.cfg).
>>
>> ¹ https://github.com/alezost/config/blob/master/etc/grub.cfg
>
> If you take the path from guix system build and manually insert it into
> your grub.cfg file, do you have any guarantee that the next guix gc
> won't remove your system files?

That's why if I really need a system, I do a reconfiguring.  I use "guix
system build" just to test a system.  If it's OK, I reconfigure the
system, otherwise I don't need it and I want it to be gc-ed.  Besides, I
do "guix gc" very rarely (once in several months), and before it, I
carefully check what profiles/system generations I want to keep and what
can be removed.

-- 
Alex

  reply	other threads:[~2016-03-28 20:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25 16:32 Guix/GNU/Linux multi distro + GuixSD multi-site scenario myglc2
2016-03-26 23:31 ` Christopher Allan Webber
2016-03-27  0:53   ` myglc2
2016-03-27  1:48     ` Christopher Allan Webber
2016-03-27 17:18       ` myglc2
2016-03-28 10:31         ` Alex Kost
2016-03-28 14:09           ` myglc2
2016-03-28 14:32           ` Chris Marusich
2016-03-28 20:05             ` Alex Kost [this message]
2016-03-28 16:39           ` Christopher Allan Webber
2016-03-28 19:56             ` Alex Kost
2016-03-29 16:03               ` 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=87poue8j2b.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=cmmarusich@gmail.com \
    --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.
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.