Http://wiki.centos.org/TipsAndTricks/NTFS
[Note: If you are running a centosplus kernel, see this section]
Installing required packages
Make sure you haveRpmforge repo installed. If not, refer to repositories.
Install the following packages.
yum install fuse fuse-ntfs-3g dkms dkms-fuse
(Dkms and dkms-fuse install the fuseKernel module)
If the rpmforge repo is disabled by default,
yum --enablerepo=rpmforge install fuse fuse-ntfs-3g dkms dkms-fuse
If you are using the atrpms repository there is no need to installDkmsAndDkms-Fuse(You still needFuse-ntfs-3gFrom rpmforge ).
The line to install from atrpms then is
yum install fuse-kmdl fuse
Do not mix from both repositoriesIf you have rpmforge and atrpms installed. Choose one to install fuse from. You might want to take a look at the yum priorities plugin to priorize one repository over the other.
Make sure that you have the correct kernel-devel package installed-especially having one that matches yourRunning Kernel. Dkms hasKernel-develAs a requirement, but that only pulls inStandardKernel-devel package.
If you are running the xen kernel (kernel-xen), you need
yum install kernel-xen-devel
If you're running kernel-PAE, you need to install
yum install kernel-PAE-devel
Same goes for Kernel-SMP and so on.
Mounting an NTFS filesystem
Suppose your NTFS filesystem is/Dev/sda1And you are going to mount it on/Mymnt/win, Do the following.
First, create a mount point.
mkdir /mymnt/win
Next,Edit /Etc/fstabAs follows. To mount read-only:
/dev/sda1 /mymnt/win ntfs-3g ro,umask=0222,defaults 0 0
To mount read-write:
/dev/sda1 /mymnt/win ntfs-3g rw,umask=0000,defaults 0 0
You can now mount it by running:
mount /mymnt/win
Users of the centosplus Kernel
In centosplus (repositories/centosplus) Kernels, both NTFs and fuseKernel ModulesAre enabled. the main difference between NTFs and ntfs-3g is that the former is read-only, whilst the latter is read-write. therefore, if you do not need write access to a NTFS filesystem, there is no need to install additional packages. simply add this line/Etc/fstab:
/dev/sda1 /mymnt/win ntfs ro,umask=0222,defaults 0 0
If you wish to have read-write access, you wocould need the fuse-ntfs-3g package. But, because the fuse module is already available in the kernel, you do not need the dkms package:
yum install fuse fuse-ntfs-3g
However, The fuse kernel module has ded in centos 5 (as of August 2007) produces a message: Warning: deficient fuse kernel module detected. it still works, but it is advised that the fuse module from rpmforge (newer) be used instead. also, you shoshould Update to the latest kernel which does not suffer from this issue.
Therefore, run:
yum install fuse fuse-ntfs-3g dkms dkms-fuse
To replace the existing fuse kernel module with the one from rpmforge.
See also:
Http://wiki.linux-ntfs.org/doku.php? Id = NTFS-en # can_ I _mount_an_ntfs_volume (read-only mounting)
Written and currently maintained by akemiyagi. Comments/improvement welcome.