Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I created a memory dump out of the userdata partition of my android device for recovery purposes. I need to be able to convert this dump.raw to a dump.vhd so I can be able to mount it up in Windows environment and do the recovery stuff...

It's a 26GB file and when I tried the following command it just finished the process without any output, however creating a file less that 1GB.

qemu-img convert -f raw -O vpc dump.raw dump.vhd

what am I doing wrong?

I'm using Kali btw, but that shouldn't be a problem, should it?

Result of qemu-img info dump.raw:

image: dump.raw
file format: raw
virtual size: 26G (27919580672 bytes)
disk size: 26G

however the linux itself shows it as

27.9 GB (27,919,580,253 bytes)


share|improve this question
Can you use qemu-img info on the output image and post the results? –  muru Jul 5 at 19:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.