From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix system init co-existing with other distros Date: Sun, 21 Feb 2016 23:12:41 +0100 Message-ID: <87oab9sofa.fsf@gnu.org> References: <87r3gg8o1u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXcFP-00072v-To for guix-devel@gnu.org; Sun, 21 Feb 2016 17:13:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXcFL-0001Xf-TJ for guix-devel@gnu.org; Sun, 21 Feb 2016 17:12:59 -0500 In-Reply-To: <87r3gg8o1u.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sat, 13 Feb 2016 19:26:05 +0100") 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: Jan Nieuwenhuizen Cc: guix-devel@gnu.org Jan Nieuwenhuizen 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=3DUUID=3D73ede06b-19e0-4d09-bc1e-23fe6c76d77a ro")) > (initrd "(hd0,msdos3)/boot/latest/initrd")))))) Did you run =E2=80=9Cguix system init config.scm /=E2=80=9D? That=E2=80=99s how I did my first GuixSD install long ago, so I had a safet= y 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=E2=80=99m not sure I fully understand your hack but I=E2= =80=99d like to read more about it. :-) Ludo=E2=80=99.