From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoSt5-0006kZ-1i for qemu-devel@nongnu.org; Fri, 10 Oct 2008 21:03:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoSt2-0006jc-K0 for qemu-devel@nongnu.org; Fri, 10 Oct 2008 21:03:17 -0400 Received: from [199.232.76.173] (port=52648 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoSt2-0006jK-EC for qemu-devel@nongnu.org; Fri, 10 Oct 2008 21:03:16 -0400 Received: from rv-out-0708.google.com ([209.85.198.248]:24728) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KoSt1-0006P4-Tp for qemu-devel@nongnu.org; Fri, 10 Oct 2008 21:03:16 -0400 Received: by rv-out-0708.google.com with SMTP id f25so704542rvb.22 for ; Fri, 10 Oct 2008 18:03:14 -0700 (PDT) Message-ID: Date: Sat, 11 Oct 2008 03:03:14 +0200 From: "andrzej zaborowski" Subject: Re: [Qemu-devel] Converting installed windows (or ?) partition to virtual machine image In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4824.71.208.51.222.1223606490.squirrel@www.cora.nwra.com> Reply-To: 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 Cc: orion@cora.nwra.com 2008/10/10 Johannes Schindelin : > On Thu, 9 Oct 2008, orion@cora.nwra.com wrote: >> It would be nice though to think about what it would take to do this >> "right". Seems like you could source from a single partition and >> generate the proper MBR and partition table in the virtual machine image >> without too much trouble. A cursory glance seems to indicate that the >> vvfat format does something like this. > > vvfat does something completely different. It takes an existing directory > structure and simulates a VFAT partition from that, no matter what the > original file system was. It simulates a filesystem and it simulates a whole disk with a valid partition table and one partition in it, so yes, it does what is wanted and it shouldn't be hard to replace the part that simulates the filesystem with an existing partition or file. Cheers