Page 1 of 1

recover of raw files from a kvm virtual machine

Posted: 08 Sep 2014, 17:43
by eferrari
Hi,

i deleted two virtual machines which were created with kvm. I used the "raw"-format to store the virtual machines. Now they are gone. The raw format is just an image of the disk. More information here: http://www.inett.de/wiki/KVM_Images_mounten . Does photorec recognizes this format ? I think that the raw-format is the same as images from harddisks created with dd. If photorec does not know this format, is there a possibility that it can "learn" it ?

Thanks for any information.


Bernd

Re: recover of raw files from a kvm virtual machine

Posted: 09 Sep 2014, 12:21
by cgrenier
PhotoRec can recover images using the qcow and qcow2 file formats.
You can use a custom signature in .photorec.sig to search for the raw files

Code: Select all

raw 510 0x55 0xAA
http://www.cgsecurity.org/wiki/Add_your ... o_PhotoRec