From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50148 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtShu-0002mO-V6 for qemu-devel@nongnu.org; Sat, 26 Feb 2011 17:33:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtShq-0000ni-2Z for qemu-devel@nongnu.org; Sat, 26 Feb 2011 17:33:46 -0500 Received: from [83.160.137.85] (port=18042 helo=pubserv1.fransdb.nl) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtShp-0000nc-Rp for qemu-devel@nongnu.org; Sat, 26 Feb 2011 17:33:42 -0500 Received: from localhost (localhost [127.0.0.1]) by pubserv1.fransdb.nl (Postfix) with ESMTP id 68D272158 for ; Sat, 26 Feb 2011 23:33:40 +0100 (CET) Received: from pubserv1.fransdb.nl ([127.0.0.1]) by localhost (pubserv1.fransdb.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TzTHN5HzQrNR for ; Sat, 26 Feb 2011 23:33:38 +0100 (CET) Received: from [192.168.100.23] (unknown [192.168.100.23]) by pubserv1.fransdb.nl (Postfix) with ESMTPA id C24A51A14 for ; Sat, 26 Feb 2011 23:33:37 +0100 (CET) Message-ID: <4D697FC1.9040704@fransdb.nl> Date: Sat, 26 Feb 2011 23:33:37 +0100 From: Frans de Boer MIME-Version: 1.0 Subject: Re: [Qemu-devel] Stupid question? References: <4D697B97.4000706@fransdb.nl> <4D697D0C.7020708@cse.iitd.ac.in> In-Reply-To: <4D697D0C.7020708@cse.iitd.ac.in> 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: qemu-devel@nongnu.org On 02/26/2011 11:22 PM, Dushyant Bansal wrote: > 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 > Thanks, that seems a good way to start. Sorry for the obvious, but Linux has so many options/features, I sometimes use the lazy way to get answers. Regards, Frans.