Accidentally formatted my ext2fs partition

Using TestDisk to repair the filesystem
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 https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
jbierkens
Posts: 1
Joined: 19 Nov 2012, 14:50

Accidentally formatted my ext2fs partition

#1 Post by jbierkens »

Hello,

My Linux data partition (/dev/sda6, ext2) was accidentally formatted with an ext2 file system.
Using TestDisk I am currently creating an image of the partition.

Do I have any hope of restoring the old file system and if so, how?

(Sorry, this might be in the forum somewhere but so far I can find only information about recovering partition tables or undeleting files. In this case I want to recover the filesystem on a single partition.)

Thank you,


Joris

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

Re: Accidentally formatted my ext2fs partition

#2 Post by cgrenier »

You can use PhotoRec to recover your data, but it won't find the original filenames.

Locked