recover of raw files from a kvm virtual machine

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read
Posts: 1
Joined: 08 Sep 2014, 17:23

recover of raw files from a kvm virtual machine

#1 Post by eferrari » 08 Sep 2014, 17:43


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: . 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.


Sponsored links

User avatar
Site Admin
Posts: 4812
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France

Re: recover of raw files from a kvm virtual machine

#2 Post by cgrenier » 09 Sep 2014, 12:21

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 ... o_PhotoRec


Who is online

Users browsing this forum: No registered users and 2 guests