chkdsk /f from the Windows 7 installation DVD, it quits in the second stage (of three) saying it "failed to transfer logged messages."
Normally it would say this after finishing, but it doesn't get to the end. I first tried running chkdsk from xp, but it also stops midway.
I ran chkdsk in a loop until dir runs successfully, but since chkdsk never gets to fix anything (which I suppose it does at the end), dir always returns "data error (crc)" so the loop never finishes.
This drive (WD My Passport, a terrible quality drive) works poorly, but I don't have enough space on another drive to clone it, so I'm trying to get the filesystem working so I can copy the important files off it.
How can I fix the filesystem?
chkdsk did finish, but almost immediately the disk became corrupted again. Rather than run chkdsk again, I used TestDisk to copy the files.