My WD suddenly stopped getting recognized by Windows after a power surge. I was perturbed by the thought that it may have been permanently damaged by a hardware fault. But since it contained a lot of important data, I decided that I would try to fix it using software tools before sending it to WD for replacement.

I tried getting chkdsk in Windows to check it, but during the couple of times that I could get Windows to assign a drive letter to it, chkdsk stopped running half way through citing a “read error”.

Next option was to try getting gparted to repair it. However it failed stating the fsck.ntfs wasnt installed.

Next I ran ntfsfix on the partition (it was partitioned as ntfs). Though repair took over an hour to complete, at the end of it, it was recognized by Linux. I then tried connecting it to Windows and found that Windows recognized it as well.