used mkfs on wrong ntfs harddrive

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
xforce23
Posts: 2
Joined: 16 Dec 2016, 23:11

used mkfs on wrong ntfs harddrive

#1 Post by xforce23 »

so I just used mkfs.ext2 on my 8TB harddrive where I save all my important files, and noticed it too late

I assume none of the files were overwritten, but I noticed my mistake quite late, so the fileystem should be completely destroyed

how are my chances of recovering my files or better restoring the filesystem? is there any hope?

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

Re: used mkfs on wrong ntfs harddrive

#2 Post by cgrenier »

You can use TestDisk, Advanced, Boot, BackupBS to restore the NTFS boot sector.
You should be able to access most of your file after that but when an ext2/3/4 filesystem is formated, backup superblock are written a little bit everywhere and they have overwritten data, so some of the recovered files will be corrupted.

xforce23
Posts: 2
Joined: 16 Dec 2016, 23:11

Re: used mkfs on wrong ntfs harddrive

#3 Post by xforce23 »

backup superblock are written a little bit everywhere and they have overwritten data, so some of the recovered files will be corrupted
thats ok, as long as i approximately get back the old folder structure, i can redownload the corrupt files,



i just scanned using another program, and it found almost all files
i could alraedy recover my important documents

im gonna use testdisk now

my problem is i do not have a separate 8TB drive (the one i mkfs'd is 8TB)

do I need to buy an extra drive to repair/save it?

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

Re: used mkfs on wrong ntfs harddrive

#4 Post by cgrenier »

To repair the NTFS boot sector, no need of another disk.

Locked