Note :
If your system can mount your hdd driver (not automount) skip this step and go to Main ActionPrepare Action
While older ntfs drivers were prone to eat your data in r/w-mode, ntfs-3g seems to be r/w safe. See the ntfs-3g page for more information.
As of CentOS 5.4 (kernel 2.6.18-164 or newer), the fuse kernel module is included in the kernel itself. Therefore, dkms and dkms-fuse are no longer required. If you have previously installed dkms-fuse, please uninstall it by a yum remove dkms-fuse command. Please note that CentOS-4 users need those 2 packages.
Make sure you have the rpmforge repo installed. If not, refer to Repositories.
Install the following packages.
yum install fuse fuse-ntfs-3g (*)
If the rpmforge repo is disabled by default,
yum --enablerepo=rpmforge install fuse fuse-ntfs-3g (option)
Note for CentOS-5 users: If you are still running CentOS 5.3 or older, then you would need to install kmod-fuse from ELRepo.
For CentOS-7 and CentOS-6 the EPEL repository is carrying later NTFS packages. EPEL is also usable for CentOS-5. To install, after enabling the repo per the Repositories page:
yum install ntfs-3g (*)
or if you prefer to leave EPEL disabled by default
yum --enablerepo epel install ntfs-3g (option)
You may also want to
yum install ntfsprogs ntfsprogs-gnomevfs (*)
for additional functionality. (Take, for example, ntfsclone to copy ntfs-partitions with or without empty space.)
Main Action
Mounting an NTFS filesystem
Suppose your ntfs filesystem is /dev/sda1 and you are going to mount it on /mymnt/win, do the following.
First, create a mount point.
mkdir /mymnt/win
Next, edit /etc/fstab as follows. To mount read-only:
/dev/sda1 /mymnt/win ntfs-3g ro,umask=0222,defaults 0 0
Or to mount read-write:
/dev/sda1 /mymnt/win ntfs-3g rw,umask=0000,defaults 0 0
You can now mount it by running: