Received: from [140.186.70.92] (port=48607 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtSWr-0006pG-SB for qemu-devel@nongnu.org; Sat, 26 Feb 2011 17:22:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtSWp-0007kH-Vc for qemu-devel@nongnu.org; Sat, 26 Feb 2011 17:22:21 -0500 Received: from smtp2.iitd.ernet.in ([202.141.68.44]:58268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtSWp-0007k9-6l for qemu-devel@nongnu.org; Sat, 26 Feb 2011 17:22:19 -0500 Message-ID: <4D697D0C.7020708@cse.iitd.ac.in> Date: Sun, 27 Feb 2011 03:52:04 +0530 From: Dushyant Bansal MIME-Version: 1.0 Subject: Re: [Qemu-devel] Stupid question? References: <4D697B97.4000706@fransdb.nl> In-Reply-To: <4D697B97.4000706@fransdb.nl> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Frans de Boer Cc: qemu-devel@nongnu.org On Sunday 27 February 2011 03:45 AM, Frans de Boer wrote: > Hi all, > > This is the only QEMU list, so I put my question her. > How can I copy the contents of a "*.raw" image to a real HD partition > or vice versa. > I often use a virtual image using qemu/kvm to test some OS's and want > to migrate them to a HD partition if the time is right. Also, I like > to preserve old partitions for future use/reference. > > Any suggestions? > > Regards, Frans. > You can mount it using losetup. http://blog.piotrj.org/2009/03/mounting-raw-kvmqemu-image.html Thanks, Dushyant