Install NTFS driver for CentOS

First, I download the driver by visiting http://www.linux-ntfs.org

Second, there are two versions of rpm files available for Redhat Enterprise 4, kernel 2.6.9-34.ELsmp, which I downloaded both. But none works. I found there installed locations by running rpm again

rpm -qpl kernel-module-ntfs-2.6.9-34.0.2.ELsmp-2.1.20-0.rr.10.0.i686.rpm

It showed the location is /lib/modules/2.6.9-34.0.2.ELsmp/, but the correct kernel library path is /lib/modules/2.6.9-34.ELsmp/. That’s why modprobe failed to find the installed file. So I copied the file to the correct path

cp -R /lib/modules/2.6.9-34.0.2.ELsmp/kernel/fs/ntfs /lib/modules/2.6.9-34.ELsmp/kernel/fs/

Then I successfully run
modprobe ntfs
dmesg | grep ntfs
mount /dev/sda1 /disk3 -t ntfs -r -o umask=0222

The problem is that the disk mounted is read only

Leave a Reply