Page 1 of 1

How to fix an external ntfs formatted usb drive

Posted: 15 Mar 2013 16:52
by longtom
I had it a couple of times (and just now agian) that I had the following error message on some old usb stick or external drive:

Code: Select all

Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sdb1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
You could do a chkdsk [drive] in Windows – but who has Windows? …

Seen before? I did. And reformatted that stick -loosing data etc etc.
Well- if you ever do – here is something which might help you:

Download ntfs tools (if not already installed):

Code: Select all

sudo apt-get install ntfsprogs
Next – go and fix it:

Code: Select all

sudo ntfsfix /dev/sdb1
assuming that sdb1 is your faulty drive. You can see that in the error message as above.

This should fix it.