some days ago I ran diskpart clean on the wrong hard drive. Upon realizing what I had done, I immediately turned off the computer, so as to minimize the damage.
The partition map on my 250 GiB hard drive was as follows:
- Windows primary partition (filled the first portion of the hard disk)
- Linux partition with EXT4 filesystem (about 22 GiB)
- Linux swap partition (about 4 GiB)
The tool finally found all the partitions, so I rewrote the partition table and restored the NTFS boot sector with the backup copy stored into the filesystem. I then rebooted and performed a read-only filesystem check on both partitions (using fsck.ext4 from a Linux Live CD for the Linux partition and chkdsk from a WinPE USB key for the Windows one).
While the EXT4 filesystem was clean and intact, the CHKDSK tool reported instead that there were errors in the MFT.
At this point, I imaged the NTFS partition, fearing that TestDisk had failed to recognize its start sector. The tool reported that the partition started at cylinder 0, head 1, sector 1, however I don't know if it's right given that:
- I had Adobe products installed and that they make use of the FlexNet protection, which writes to sector 32 of the HDD (it might have confused TestDisk);
- before writing the partition table, I checked the list of files in the NTFS partition, some were not listed and I attributed that to minor corruption.
Thanks!



Help
Back to top










