From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: Re: Guix/GNU/Linux multi distro + GuixSD multi-site scenario Date: Mon, 28 Mar 2016 10:09:48 -0400 Message-ID: <86mvpig0cz.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: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akY0q-0004Uh-TK for help-guix@gnu.org; Mon, 28 Mar 2016 10:19:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akY0m-00058e-SJ for help-guix@gnu.org; Mon, 28 Mar 2016 10:19:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:36727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akY0m-00057c-LZ for help-guix@gnu.org; Mon, 28 Mar 2016 10:19:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1akY0A-00086e-S8 for help-guix@gnu.org; Mon, 28 Mar 2016 16:18:43 +0200 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Mar 2016 16:18:42 +0200 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Mar 2016 16:18:42 +0200 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: help-guix@gnu.org 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=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 Nice! Grub is kind of a netherworld for me. It is great to see a tangible example like this. Thanks! - George