From: ludo@gnu.org (Ludovic Courtès)
To: Nate Bargmann <n0nb@n0nb.us>
Cc: guix-devel@gnu.org
Subject: Re: Trying to install Guix with Qemu
Date: Sat, 20 Sep 2014 22:33:47 +0200 [thread overview]
Message-ID: <87y4te3uc4.fsf@gnu.org> (raw)
In-Reply-To: <20140920034331.GG5972@n0nb.us> (Nate Bargmann's message of "Fri, 19 Sep 2014 22:43:31 -0500")
Nate Bargmann <n0nb@n0nb.us> 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
<http://lists.gnu.org/archive/html/guix-devel/2014-09/msg00149.html>
(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 “Preparing for
Installation” at
<http://www.gnu.org/software/guix/manual/html_node/System-Installation.html>.
> 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’s even better on the metal. ;-)
HTH,
Ludo’.
next prev parent reply other threads:[~2014-09-20 20:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-20 3:43 Trying to install Guix with Qemu Nate Bargmann
2014-09-20 20:33 ` Ludovic Courtès [this message]
2014-09-20 22:12 ` Nate Bargmann
2014-09-21 3:10 ` Nate Bargmann
2014-09-21 18:56 ` Ludovic Courtès
2014-09-22 1:38 ` Nate Bargmann
2014-09-30 5:25 ` Ernesto Celis
2014-09-30 11:36 ` Installing Guix with VirtualBox Ludovic Courtès
2014-11-22 8:18 ` 白熊
2014-11-22 9:28 ` 白熊
2014-11-22 15:27 ` David Thompson
2014-11-23 11:52 ` 白熊
2014-09-30 14:17 ` Trying to install Guix with Qemu Nate Bargmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4te3uc4.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=n0nb@n0nb.us \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).