3
2
I executed the following command from a Ubuntu live cd terminal (dont ask why).
dd if=/dev/zero of=/dev/sdb2 bs=512 count=1
Where sdb2 is a NTFS partition (third partition) on a disk. Suffice to say it is now messed up. When I boot into windows 7, it does show me E drive but when I click on it it asks me to format it.
I am not ever sure what I did, did I mess up partition table or only the MFT? Is there any way to get the data back>
1Did you allow the operation to complete? If so your data is toast, if not you might have something recoverable left on the disk. – Tog – 2012-11-29T11:18:26.833
TestDisk to the rescue... And considering you pretty much overwrote your NTFS partition with zeroes, you might want to look at this (possibly related) question: How to recover deleted files from (formatted) FAT32/NTFS drive in Linux? – Breakthrough – 2012-11-29T11:54:35.013