From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuPt7-0005Bo-Vj for qemu-devel@nongnu.org; Tue, 10 Jun 2014 13:31:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuPt0-0001xb-UL for qemu-devel@nongnu.org; Tue, 10 Jun 2014 13:31:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuPt0-0001x8-9V for qemu-devel@nongnu.org; Tue, 10 Jun 2014 13:31:02 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5AHV0rV020912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 10 Jun 2014 13:31:01 -0400 Message-ID: <539740D2.9060303@redhat.com> Date: Tue, 10 Jun 2014 19:30:58 +0200 From: Laszlo Ersek MIME-Version: 1.0 References: <20140610125650.GJ8813@tesla> <539721BD.8010700@redhat.com> <20140610161048.GM8813@tesla> <539731CA.5040108@redhat.com> <20140610171640.GO8813@tesla> In-Reply-To: <20140610171640.GO8813@tesla> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Booting a guest with OVMF List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kashyap Chamarthy Cc: pbonzini@redhat.com, Peter Jones , qemu-devel@nongnu.org On 06/10/14 19:16, Kashyap Chamarthy wrote: > On Tue, Jun 10, 2014 at 06:26:50PM +0200, Laszlo Ersek wrote: >> On 06/10/14 18:10, Kashyap Chamarthy wrote: > > [. . .] > >>> The USB stick is created with Fedora Rawhide image using this >>> script: http://people.freedesktop.org/~kay/installer/installer.sh >>> >>> $ sudo ./installer.sh /dev/sdb >>> >>> Then, invoke QEMU. >> >> That script is exactly what I don't want to run :) Can you upload the >> result somewhere? > > Yes, I can, but will have to wait till tomorrow -- the contents of the > script came down to 1.6G after trying to make an ISO as below. > > $ sudo dd bs=1k if=/dev/sdb2 of=fed-min2.iso conv=sparse (1) I think you should just format the disk image into a regular file, rather than dumping it to a USB stick, and then dumping it back from there. (2) Even if you opt for the USB "detour", the above dd command line is incorrect. You selected a specific partition on the USB stick as input block device. That's wrong, we need to see the entire disk (partition table, EFI system partition etc). Thanks Laszlo