Just a thought

Problems mounting NTFS drive in Ubuntu

Posted by stringofthoughts on May 1, 2009

Most of the time ubuntu mounts the drive just by a mouse click but sometime the NTFS drives give error something like

$MFTMirr does not match $MFT(record3). Failed to mount ‘/dev/sda1’: Input/output error NTFS is either inconsistent, or there is a hardware fault, or it’s 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 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

This error is the result of improper shutdown or power off in the middle of windows startup. Simple put you need to run a check disk on the drive and everything will go away.  So if it’s a dual boot machine and you ‘ve windows boot into windows and open command prompt (Start -> Run -> {type} cmd and enter). let’s say the ntfs drive is F: then on the command prompt

C:\>chkdsk f: /f

After this boot into ubuntu and it’ll mount ntfs drives without a problem. The situation gets tricky if you ‘ve removed windows or windows got corrupted and you need to access drive for important file. For such situations you need to install ntfs tools in ubuntu

$ sudo apt-get install ntfsprogs

Ntfsprogs is very nice package containing tools to handle issues with ntfs drives in Linux. Lets say your troubled ntfs drive is /dev/sda1 . to fix the problem

$ sudo ntfsfix /dev/sda1

This should fix the problem. You need to reboot after this step.

Sometimes this also doesn’t work. For such situations you should keep a copy of Hiren’s Boot CD or System rescue CD these live CDs are rescue CDs and contains chkdsk tool, comes really handy in times like this.

I hope these solutions works  for you 🙂


One Response to “Problems mounting NTFS drive in Ubuntu”

  1. graveo said

    Thanks, stringofthoughts, your article is small and simple – right what I need! 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: