Are you trying to resolve the error 'NTFS partition failed to mount' ?
This guide is for you.
Sometimes, After installing NTFS and rebooting it is not possible to mount NTFS partition.
In this context, we shall look into method to fix this NTFS error.
How to fix NTFS partition failed to mount error ?
Here we will make use of NTFSfix.
It is a tiny and useful utility that fixes some common NTFS problems.
Also, it is a part of the ntfs-3g package (an open-source implementation of NTFS) and it repairs several fundamental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.
In order to run it on our computer, we need to install the NTFS-3g package as follows.
1. On Debian, Ubuntu & Mint
$ sudo apt-get install ntfs-3g
2. On RHEL, CentOS & Fedora
$ sudo yum install epel-release
$ sudo yum install ntfs-3g
After installing the ntfs-3g package, we run the below command to figure out where the mount point is. For example, /dev/sda5:
sudo fdisk -l
Then we run the below command and provide the NTFS partition that has issues as an argument:
$ sudo ntfsfix /dev/sda5
In order to perform a dry-run where ntfsfix does not write anything, but only shows what would have been done, we use the -n or –no-action option:
$ sudo ntfsfix -n /dev/sda5
Also, it has another useful switch -b or –clear-bad-sectors for clearing the list of bad sectors.
This feature is particularly useful after cloning an old disk with bad sectors to a new disk:
$ sudo ntfsfix -b /dev/sda5
Moreover, ntfsfix supports clearing the volume dirty flag if the volume can be fixed and mounted. For that, we run the below command:
$ sudo ntfsfix -d /dev/sda5
The ntfsfix can only repair some NTFS partition errors. If it fails, chkdsk will probably succeed.
If we have windows installed, we can also load Windows and run its disk checking program, chkdsk.