From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dpyqc-0006BX-2T for qemu-devel@nongnu.org; Tue, 05 Jul 2005 21:37:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dpyqa-0006AY-Ch for qemu-devel@nongnu.org; Tue, 05 Jul 2005 21:37:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dpylm-0005FW-Uh for qemu-devel@nongnu.org; Tue, 05 Jul 2005 21:32:11 -0400 Received: from [64.233.184.206] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpyWJ-0007YO-QR for qemu-devel@nongnu.org; Tue, 05 Jul 2005 21:16:11 -0400 Received: by wproxy.gmail.com with SMTP id 40so768242wri for ; Tue, 05 Jul 2005 18:09:50 -0700 (PDT) Message-ID: Date: Wed, 6 Jul 2005 10:09:50 +0900 From: Magnus Damm Subject: Re: [Qemu-devel] Re: Building a disk image? In-Reply-To: <20050705204209.GB18456@jbrown.mylinuxbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050705204209.GB18456@jbrown.mylinuxbox.org> Reply-To: Magnus Damm , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 7/6/05, Jim C. Brown wrote: > On Tue, Jul 05, 2005 at 12:55:49PM -0500, Matt Lawrence wrote: > > I guess I don't don't quite understand how to get the partition table s= et > > up correctly with losetup. It looks like another issue. Also, how do = I > > get the bootloader configured correctly in a disk image? I'm still a b= it > > confused. > > > > -- Matt >=20 > First of all, losetup will not work with qcow images. You will need to us= e > raw images if you want to be able to use losetup. fdisk (and cfdisk and s= fdisk) > have the same restriction. One solution for that problem would be to access the images through qemu. My little tool fsimage does that for you, but no bootloader is included for now. If there is enough interest then I would be happy to add new features such as bootloaders. http://lists.gnu.org/archive/html/qemu-devel/2005-03/msg00106.html / magnus