From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Guix/GNU/Linux multi distro + GuixSD multi-site scenario Date: Mon, 28 Mar 2016 07:32:35 -0700 Message-ID: <87r3eusmf0.fsf@gmail.com> References: <86r3eyzfge.fsf@gmail.com> <8760w83jgg.fsf@dustycloud.org> <868u14hhaw.fsf@gmail.com> <8737rc3d36.fsf@dustycloud.org> <864mbrhmb3.fsf@gmail.com> <87wpomyjum.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akYDj-0006q3-El for help-guix@gnu.org; Mon, 28 Mar 2016 10:32:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akYDg-0000v6-9w for help-guix@gnu.org; Mon, 28 Mar 2016 10:32:43 -0400 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]:35444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akYDg-0000uz-31 for help-guix@gnu.org; Mon, 28 Mar 2016 10:32:40 -0400 Received: by mail-pf0-x230.google.com with SMTP id n5so138595662pfn.2 for ; Mon, 28 Mar 2016 07:32:39 -0700 (PDT) In-Reply-To: <87wpomyjum.fsf@gmail.com> (Alex Kost's message of "Mon, 28 Mar 2016 13:31:29 +0300") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: Alex Kost Cc: myglc2 , help-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alex Kost 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=3Dguix --syste= m=3D/var/guix/profiles/system --load=3D/var/guix/profiles/system/boot > initrd /var/guix/profiles/system/initrd > } > > My grub config=C2=B9 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 =E2=80=A6" and put t= he > result directory of this "testing" system to my grub.cfg). > > =C2=B9 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? =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJW+UCFAAoJEN1AmhXYIkaddyoQAM3uJxJCMpTmFBjH23d6wpJV IyiDMqGTevlWGfvQhyPF/HVYIV+sK45ialfL79H9rEG7aCwnTIM2jn3SaBadHk4g Q7SxFl35LjSq+1UMYlWHgHfQZVua/HajXT5xbFwTnxk4oDjINaJiwK5/dWMEYEaK 5/SexxUVpnLK5NgQMGIHTcl+Uob9Fw1ulPt5yJ5xiI9mc95Jl3+vn0VUdVeFjhQu hiLprlAq774pj8n6WV9LqadBVVLYsd+y47woVjGp3/2mYxwp+ZzvUQvQy2Ppe6Kp Of+BWVjl2WXhKW2oLp2y3BQd3r0luw1Zu/kgws5fo3T7hzQ2bKxTFY/vE7MTg1Ez 9UgKlJUCQjvOeN2MGpH2RABfGgLvoucw9VnWMz2CuPp/ZoUYgQGyRXcA2jTVFEwb mjaxkE8/gdi+Yd2lkK+PEC6Z1v72dd1RtayF1gD7jXCc6VfFQ1Pl411OnSOD4TuQ iTJ+4nguLJiyZCRWKJck9D1kJUDp8gc7dFf1YBOSiqRNTC7JXZIpxlKd7D09+2Lk ov1KNXeXn7pyJeqNRCtIzQndE5ygFml80ykPHdnIsOnA4sufJPUu45tTCz73snjr l5gBWTkNqdRVaTq+lp9S2E251ao+mavrzWC4ToRujpCKT2tcSU13fPJv3Qj+sMgl er1BnaQZ34IsGh46OiBI =pNJ9 -----END PGP SIGNATURE----- --=-=-=--