From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Trying to install Guix with Qemu Date: Sat, 20 Sep 2014 22:33:47 +0200 Message-ID: <87y4te3uc4.fsf@gnu.org> References: <20140920034331.GG5972@n0nb.us> 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]:36134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVRLy-0004Cx-CQ for guix-devel@gnu.org; Sat, 20 Sep 2014 16:34:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVRLt-00064g-KU for guix-devel@gnu.org; Sat, 20 Sep 2014 16:33:58 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:52025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVRLt-0005xa-E5 for guix-devel@gnu.org; Sat, 20 Sep 2014 16:33:53 -0400 In-Reply-To: <20140920034331.GG5972@n0nb.us> (Nate Bargmann's message of "Fri, 19 Sep 2014 22:43:31 -0500") 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: Nate Bargmann Cc: guix-devel@gnu.org Nate Bargmann skribis: > I've just started playing with Guix and would like to do so using Qemu > rather than bare metal. As the GNU system is only available for Guix > 0.7 as a USB drive image, this has posed a bit of a vexing problem to > me. I am a Qemu novice (I usually use Virtual Box) but I did get it to > boot the USB image file and also was able to mount a created qcow2 disk > image for it. That is where I seem to have run aground. FWIW a recipe to install the system in a VM was posted at (also read subsequent messages for troubleshooting.) > It seems that Qemu when passed the -usb option makes that image /dev/sda > and the image file I intend to install to must be given with the -hdb > option. When I edited /mnt/etc/config.scm I assumed the disk image > would be /dev/sda but that seems to have resulted in at least Grub > (maybe more packages) being installed into the USB image. Clearly, this > isn't what I want. Do I specify /dev/sdb in config.scm and then just > boot it as -hdb in the future? The best thing to do is to assign a label to that partition, and then refer to that label in config.scm, as noted under =E2=80=9CPreparing for Installation=E2=80=9D at . > I apologize if this is more of a Qemu question as I didn't see anything > in the Qemu documentation that steered me toward reversing its drive > assignments. Hopefully, I'm not the only person interested in exploring > the GNU system/Guix in a virtual machine, am I? It=E2=80=99s even better on the metal. ;-) HTH, Ludo=E2=80=99.