Possible to recover from mkfs.ntfs ?

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
Posts: 1
Joined: 15 Feb 2013, 22:30

Possible to recover from mkfs.ntfs ?

#1 Post by jangoyvaerts »

As many people in here I'm afraid I did a terrible mistake. :-/

Trying to shrink an ntfs partition with bad sectors. So...

* ntfsresize -s 250000M -b /dev/sda3 => worked
* Used gparted to set the partition to the right size (it was still spanning the whole disk)
By distraction I used gparted instead of fdisk. I've deleted the partition (no harm done I presume) and I recreated it.

I guess the recreate did mkfs.ntfs. As a result the partition is empty. No files at all. I guess I quick formatted the partition.

Is there a way to recover from this ?

Thanks in advance...

PS. Of course no backup. :-(

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

Re: Possible to recover from mkfs.ntfs ?

#2 Post by cgrenier »

Try TestDisk, Analyse, Quick Search, Stop, Deeper Search, try to list the files from each partition. If you are very lucky, you will see your files.
If it isn't the case, run PhotoRec on the partition http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step