How to mount ntfs partition under CentOS

Jephe Wu - http://linuxtechres.blogspot.com


Steps:
1.  CentOS 5
Refer to http://wiki.centos.org/TipsAndTricks/NTFS
If your version is CentOS 5.4 and above, you can install rpmforge repo first, then run yum install fuse fuse-ntfs-3g

For installing rpmforge repo, go to http://dag.wieers.com/rpm/FAQ.php#B to install it

If you are using proxy server, use command rpm --httpproxy 10.0.0.1 --httpport 8080 -Uvh URL

If your version is CentOS 5.3 and below, you can install kmod-fuse from ELRepo (refer to
http://elrepo.org/tiki/tiki-index.php)
So, firstly, install ELRepo as follows:

rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
To install ELRepo for RHEL-5, SL-5 or CentOS-5:
rpm -Uvh http://elrepo.org/elrepo-release-5-1.el5.elrepo.noarch.rpm

after that, go to /etc/yum.repo.d/, vi file elrepo.repo to enable them, then run 'yum install kmod-fuse' to install fuse module.
or yum --enablerepo=elrepo kmod-fuse, so you don't have to edit file to enable them.

mounting ntfs:

mount -t ntfs-3g /dev/sda1 /mnt/windows

References:


1. ntfs-3g http://www.tuxera.com/community/ntfs-3g-download/