Page 1 of 1

Repair ntfs, overwritten by win32diskimager

Posted: 04 Dec 2015, 10:15
by stephan1975
Hi folks,

I hope some of you might be able to help me. Two days ago I accidentially wrote a raspbmc-image to my portable hdd instead of an sd-card. The hdd, which originally was formatted in ntfs, now shows the following structure:

*FAT16 >32M 0 130 3 7 165 30 114688 (boot)
P Linux 7 165 31 398 97 19 6277120
D HPFS - NTFS 25169 141 61 35612 162 6 167768064
D HPFS - NTFS 25251 69 35 35694 89 43 167768064


Entering the filelist of the ntfs partition shows that the filesystem is not readable, it might be corrupted.

Is there anything I can do? Or is the hdd beyond repair?

Any help is appreciated!

Best regards

Stephan

Re: Repair ntfs, overwritten by win32diskimager

Posted: 06 Dec 2015, 10:44
by Fiona
When you wrote into your NTFS-partition and file system, some files and folder structure can be overriden and your file system could be damaged.
When you didnĀ“t write any data into your file system, please let me know.
Otherwise, only Datarecovery software could help reading underlying data.
Did you try PhotoRec?
http://www.cgsecurity.org/wiki/PhotoRec
http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step

Fiona

Re: Repair ntfs, overwritten by win32diskimager

Posted: 06 Dec 2015, 11:26
by stephan1975
Dear Fiona,

thank you very much for answering my request. No, I didn't do anything to the files themselves. No more active file actions were done to the hdd in the meantime.

Yes, I've tried photorec - even several times. Only if "Keep damaged files" in options is set to "Yes", there is a return of files - all of them, but they're all garbled. They're saved in "inode" folders. Unfortunately, they're not readable. I've tried it with different blocksizes, also with the blocksize of 4k. Maybe I should try some other values?

In the meantime, I've managed to restore the partition table. It doesn't change a lot, the partitions themselves are still as I've listed them in my first post.

Best regards

Stephan