Possible Duplicate:
Best undelete tool for NTFS/FAT?
I was working in windows and decided to reboot. When I reboot, the drive that the windows partition is on is unrecognizable and is not even listed. So I boot into ubuntu. I can not mount the drive and it is never recognized in nautilus. I am pretty sure it is not a mechanical error, for it spins fine, and I can do 'cat sdg'(sdg being it's location) and large amounts of data being spewed out. The only way I was able to detect it is through the Disk Utility program, and it is able to display information about the drive, but it says the drive is unformatted and is 500 GB of undefined. How should I go about recovering this?
EDIT: I just ran the analyze function of testdisk and it was able to recognize the three windows partitions. What should I do from here? I only have enough space available to back up one partition (the only one I care about).
EDIT2: In the analyze screen, it lists two partitions as deleted. One of them being the one i want to recover. How would I recover it?
EDIT3: I have successfully recovered all of the partitions using testdisk. The cause of all this turned out to be a trojan, I think. The drive is now functioning again. Thanks for the help.