Error mounting external HDD, something wrong with NTFS

Forum rules
Before you post please read this
Post Reply
jiawen
Level 2
Level 2
Posts: 50
Joined: Sun Mar 17, 2013 5:29 pm

Error mounting external HDD, something wrong with NTFS

Post by jiawen »

While trying to do a major backup to my external 2 TB Toshiba drive, I plugged a scanner into the same USB breakout cable. It apparently borked some switch in the HDD, because the backup operation canceled and I can no longer mount the drive successfully. When I try, I get this message:

Code: Select all

Error mounting /dev/sde1 at /media/<me>/TOSHIBA EXT: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sde1" "/media/<me>/TOSHIBA EXT"' exited with non-zero exit status 13: $MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sde1': 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.
When I check the drive in Gparted, I get this message:

Code: Select all

$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sde1': Input/output error
NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
The usage of the /f parameter is very IMPORTANT! No modification was
made to NTFS by this software.

Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for ntfs file system support:  ntfsprogs / ntfs-3g.
I cannot run chkdsk (see this thread -- basically, I can't load Windows at all) and the problem didn't start in Windows, anyway. There is no installation candidate for ntfsprogs, and ntfs-3g is already the newest version.

What else can I do to make this drive mount correctly? Will I have to reformat it?
Laurent85
Level 17
Level 17
Posts: 7018
Joined: Tue May 26, 2015 10:11 am

Re: Error mounting external HDD, something wrong with NTFS

Post by Laurent85 »

NTFS is a native Microsoft filesystem, unless using suggested Microsoft tools there is no fix available.
Image
User avatar
austin.texas
Level 20
Level 20
Posts: 12045
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Error mounting external HDD, something wrong with NTFS

Post by austin.texas »

You can try a manual mount

Code: Select all

udisks --mount /dev/sde1
If all you have on the Toshiba drive is a backup, you could try formatting it, and start over.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
User avatar
Flemur
Level 19
Level 19
Posts: 9547
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Error mounting external HDD, something wrong with NTFS

Post by Flemur »

google ["chkdsk /f" "bootable"] -> "How do I run CHKDSK /F from a blue screen on Windows XP? I cannot get to a command prompt at all."
http://answers.microsoft.com/en-us/wind ... bf5?auth=1
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
jiawen
Level 2
Level 2
Posts: 50
Joined: Sun Mar 17, 2013 5:29 pm

Re: Error mounting external HDD, something wrong with NTFS

Post by jiawen »

austin.texas wrote:You can try a manual mount

Code: Select all

udisks --mount /dev/sde1
When I try that, I get this error:

Code: Select all

Mount failed: Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sde1': 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.
:?
If all you have on the Toshiba drive is a backup, you could try formatting it, and start over.
Yeah, it looks like that's what I'll have to do. I was hoping not to destroy those backups -- it'll inevitably be now that something goes horribly wrong with my main partitions.
Flemur wrote:google ["chkdsk /f" "bootable"] -> "How do I run CHKDSK /F from a blue screen on Windows XP? I cannot get to a command prompt at all."
http://answers.microsoft.com/en-us/wind ... bf5?auth=1
As I said, I cannot successfully boot the Windows OS on this computer, so that advice seems less than useful.
User avatar
austin.texas
Level 20
Level 20
Posts: 12045
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Error mounting external HDD, something wrong with NTFS

Post by austin.texas »

Boot into Mint and run this command

Code: Select all

sudo lsblk -f
That will list your drives and partitions for you so that you can correctly identify the external 2 TB Toshiba drive.

Then, install ntfsprogs

Code: Select all

sudo apt-get install ntfsprogs
Check the first partition on the Toshiba drive (assuming that it is /dev/sdb1)

Code: Select all

sudo ntfsfix /dev/sdb1
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
User avatar
Flemur
Level 19
Level 19
Posts: 9547
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Error mounting external HDD, something wrong with NTFS

Post by Flemur »

Flemur wrote:
google ["chkdsk /f" "bootable"] -> "How do I run CHKDSK /F from a blue screen on Windows XP? I cannot get to a command prompt at all."
http://answers.microsoft.com/en-us/wind ... bf5?auth=1
As I said, I cannot successfully boot the Windows OS on this computer, so that advice seems less than useful.
You didn't even read it.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
karlchen
Level 21
Level 21
Posts: 14396
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Error mounting external HDD, something wrong with NTFS

Post by karlchen »

Hello, jiawen. Hello, Flemur. Hello, austin.texas.

Let me try to sum up the relevant details from this thread, hoping that this will help everybody to have a common understanding of the situation:

jiawen, you state you cannot boot Windows 7 and therefore you cannot run a chkdsk on the external NTFS formatted harddisk.
Flemur pointed you to a Microsoft webpage where you will find a way of doing so from the Windows 7 recovery console.
Question is whether you can reach the Windows 7 recovery console from your harddisk or from the Windows 7 installation DVD?

austin.texas suggests to use a command named ntfsfix under Linux Mint 17.x in order to check and repair the NTFS filesystem on the external harddisk. Provided this succeeds there will be no need to use Windows 7 or the Windows 7 recovery console.
Let me add a few details on ntfsfix:
ntfsfix was a part of the software package ntfsprogs. In 2011 the package ntfsprogs was integrated into the software package ntfs-3g and ceased to exist as a separate software package. The software package ntfs-3g comes pre-installed on Linux Mint. This is true for Linux Mint 13, and this is true for Linux Mint 17.x.
So the command ntfsfix will already be present on the Mint 17.x system. No need to install anything.
On Mint 13 ntfsprogs still existed as a transitional software package which simply pulled-in ntfs-3g, if it had not been installed before.
On Mint 17.x, ntfsprogs is no longer available ("apt-cache policy ntfsprogs" will not find any installation candidate any longer.).
Yet, see above, ntfsfix comes pre-installed.

So it is worthwhile reading

Code: Select all

man ntfsfix
in order to find out how to use ntfsfix at the terminal command prompt.
But be aware that ntfsfix can only fix very fundamental problems like the filesystem being marked dirty, although it actually is not.

A problem like the reported "$MFTMirr does not match $MFT (record 0)" might be outside the scope of problems which ntfsfix will try to solve.
In this case, we would be back to Flemur's advice, using the Windows 7 recovery console in order to run chkdsk on the NTFS filesystem of the external harddisk.

Best regards,
Karl
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
The Prophet's Song
janssensantoon78
Level 1
Level 1
Posts: 2
Joined: Thu Jul 28, 2016 4:08 pm

Re: Error mounting external HDD, something wrong with NTFS

Post by janssensantoon78 »

Thanks everbody for this thread.

Some time ago I had this problem with UBUNTU with an external drive I used on a Mac OS X. I had to use an other pc under windows OS XP.
Today I did the same thing, I forgot that OS X reads the HDD, but I cannot remount it using Mint.
Thanks to "sudo ntfsfix /dev/sd*1" al well that ends well.

PS : Did not try to mount it with Debian.
: Think that it is OS X that rewrites something on the partition.

Antoon
User avatar
Flemur
Level 19
Level 19
Posts: 9547
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Error mounting external HDD, something wrong with NTFS

Post by Flemur »

karlchen
Flemur pointed you to a Microsoft webpage where you will find a way of doing so from the Windows 7 recovery console.
...but mostly how to make a bootable CD/DVD to fix the NTFS partition when windows won't boot.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Post Reply