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: Sun, 21 Sep 2014 20:56:13 +0200 Message-ID: <87r3z4246q.fsf@gnu.org> References: <20140920034331.GG5972@n0nb.us> <87y4te3uc4.fsf@gnu.org> <20140921031031.GB4254@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]:60934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVmJ6-0005Rb-Av for guix-devel@gnu.org; Sun, 21 Sep 2014 14:56:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVmJ1-00071N-IN for guix-devel@gnu.org; Sun, 21 Sep 2014 14:56:24 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:52672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVmJ1-000708-CN for guix-devel@gnu.org; Sun, 21 Sep 2014 14:56:19 -0400 In-Reply-To: <20140921031031.GB4254@n0nb.us> (Nate Bargmann's message of "Sat, 20 Sep 2014 22:10: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: > * On 2014 20 Sep 15:36 -0500, Ludovic Court=C3=A8s wrote: >> FWIW a recipe to install the system in a VM was posted at >> >> (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=E2=80=99s no reason why it would be slower than whatev= er else you did before. Are you running QEMU with =E2=80=98-enable-kvm=E2=80= =99? > 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 =E2=80=98grub-install=E2=80=99. 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=E2=80=99t matter afterwards. Ludo=E2=80=99.