Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am having trouble mounting my external hard drive, every time I try and do so I get the following message:

"Error mounting /dev/sdb1 at /media/fuzzy27/My Book: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdb1" "/media/fuzzy27/My Book"' exited with non-zero exit status 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."

How do I go about or what do I need to do in order to fix this error/problem without losing any of the data on my hard drive?

Is there no other way of fixing it without having to reinstall windows or finding someone using windows?

share|improve this question
    
see the message: "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." Windows problems you fix with windows tools. –  Rinzwind Jul 21 at 13:58
    
yeah I think you have to shut down restart windows and then come to ubuntu to access it. Is the drive encrypted or something? –  Creator Jul 21 at 13:59
2  
As the message says: "run chkdsk /f on Windows then reboot into Windows twice." This means you have to boot Windows or take the drive to a friend who has a computer running Windows. Then use the Windows Command Line and enter the command "chkdsk /f X: where X is the external drive. Then as the message says, reboot into Windows twice. –  user68186 Jul 21 at 14:00
    
I couldn't agree more. You need to run chkdsk /f on a windows environment or use HirensBootCD booted into a USB. I've been through the same and it helped me to fix. –  AzkerM Jul 21 at 15:47

1 Answer 1

Install ntfs-3g with sudo apt-get install ntfs-3g. Then run the ntfsfix command on your NTFS partition.

ntfsfix v2.0.0 (libntfs 10:0:0)

Usage: ntfsfix [options] device

Attempt to fix an NTFS partition.

-h, --help             Display this help
-V, --version          Display version information

For example: ntfsfix /dev/hda6

Developers' email address: linux-ntfs-dev@lists.sf.net Linux NTFS homepage: http://www.linux-ntfs.org

=======================================

You can use a program called ntfsprogs. If its not installed, you can install it by, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install ntfsprogs

Once installed, you need to find out you NTFS drive name, just do sudo fdisk -l, to find that out, once you know the name, then

sudo ntfsfix /dev/sdXX

Make sure that you replace the XX with your drive's name.

Note: Whenever you're dealing with partition, make sure that you have a complete backup just to be on the safe side.

===================================

sudo apt-get install testdisk

Then run it:

sudo testdisk

and follow the instructions. You must search for partitions and then write the changes.

Thanks to answerers here:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.