From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: New Install Date: Sat, 19 Sep 2015 13:26:30 +0300 Message-ID: <877fnmvh61.fsf@gmail.com> References: <87a8slrsm0.fsf@igalia.com> <1324985136.1923036.1442568280519.JavaMail.yahoo@mail.yahoo.com> <876137sf6n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdFLk-0005pF-2W for guix-devel@gnu.org; Sat, 19 Sep 2015 06:26:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdFLf-0004t1-3u for guix-devel@gnu.org; Sat, 19 Sep 2015 06:26:32 -0400 Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:35011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdFLe-0004su-SU for guix-devel@gnu.org; Sat, 19 Sep 2015 06:26:27 -0400 Received: by lagj9 with SMTP id j9so43865805lag.2 for ; Sat, 19 Sep 2015 03:26:26 -0700 (PDT) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id y10sm2014775lal.23.2015.09.19.03.26.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Sep 2015 03:26:25 -0700 (PDT) In-Reply-To: <876137sf6n.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 18 Sep 2015 21:25:20 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s (2015-09-18 22:25 +0300) wrote: > Richard skribis: [...] >> Fair enough. May I suggest that at some point (many, many months from no= w) >> it might be worth re-visiting that idea? I expect that I am not the only >> user who might consider multibooting and who has an established boot >> system. > > The main difficulty here is that the GRUB config file that GuixSD > generates typically include references to files under /gnu/store, and > one wouldn=E2=80=99t want to maintain that by hand. I maintain my grub.cfg by hand (so I always use "guix system --no-grub =E2= =80=A6"). But it is not necessary to point to /gnu/store, because there is "/var/guix/profiles/system/" which contains all necessary links to the store. So a grub entry for booting GuixSD may look like this (assuming that 'guix' is the label of the partition with GuixSD): menuentry GuixSD { search --label --set=3Droot guix linux /var/guix/profiles/system/kernel/bzImage --root=3Dguix --system= =3D/var/guix/profiles/system --load=3D/var/guix/profiles/system/boot initrd /var/guix/profiles/system/initrd } If someone is interested, here is the relevant part of my grub.cfg with several GuixSD entries: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=grub-guix.cfg function boot_guix { search --no-floppy --label --set guix linux ${guix_system}/kernel/bzImage --root=guix --system=${guix_system} --load=${guix_system}/boot initrd ${guix_system}/initrd } menuentry 'GuixSD (current)' --id guix --class guix --class gnu-linux --class os { set guix_system=/var/guix/profiles/system boot_guix } menuentry 'GuixSD (stable)' --class guix --class gnu-linux --class os { set guix_system=/var/guix/profiles/system-18-link boot_guix } menuentry 'GuixSD (testing)' --class guix --class gnu-linux --class os { set guix_system=/gnu/store/2592rnmais3d51bycm64wx46dgrb1cr5-system boot_guix } --=-=-=--