On Sun, Feb 27, 2011 at 6:22 AM, Dushyant Bansal <cs5070...@cse.iitd.ac.in> 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
losetup is fine, can we directly use dd ?