all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Sun, 21 Sep 2014 20:56:13 +0200	[thread overview]
Message-ID: <87r3z4246q.fsf@gnu.org> (raw)
In-Reply-To: <20140921031031.GB4254@n0nb.us> (Nate Bargmann's message of "Sat, 20 Sep 2014 22:10:31 -0500")

Nate Bargmann <n0nb@n0nb.us> skribis:

> * On 2014 20 Sep 15:36 -0500, Ludovic Courtès wrote:
>> 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.)
>
> Trying the method shown in the referenced thread, except for having a
> separate swap image, left me with a very slow system to boot.  It took
> about two minutes for the Grub menu to appear and then I gave up after
> several minutes of no indication that the kernel would ever start.  I
> suspect the VM had device contention between competing /dev/sda devices.

This is weird, there’s no reason why it would be slower than whatever
else you did before.  Are you running QEMU with ‘-enable-kvm’?

> I went back to the way I had originally had success booting the USB
> image file and now my target hard disk is /dev/sdb1.  Looking at the SCM
> template in section 6.1.4 of the installation manual, I see the function
> template:
>
>          (bootloader (grub-configuration (device "/dev/sdX")))
>
> Is it possible to specify a UUID for the device here?

This device name is passed directly to ‘grub-install’.  If that command
supports UUIDs, that would work.  I suspect it really needs a /dev name,
though (info "(grub) Invoking grub-install"):

       grub-install INSTALL_DEVICE

     The device name INSTALL_DEVICE is an OS device name or a GRUB device
  name.

Now, this device name just needs to be correct at the time GRUB is
installed; it doesn’t matter afterwards.

Ludo’.

  reply	other threads:[~2014-09-21 18:56 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
2014-09-20 22:12   ` Nate Bargmann
2014-09-21  3:10   ` Nate Bargmann
2014-09-21 18:56     ` Ludovic Courtès [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3z4246q.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.