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
    
Did you solve this? I've been using the command qemu for the last month without any issues, maybe the raw file is corrupted? Did you try to do a md5 file to validate? –  Philippe Delteil Sep 24 at 17:54

protected by Community Sep 24 at 18:46

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Browse other questions tagged or ask your own question.