WARNING! - I hold no responsibility for anything you do to your system as a result of this information I have supplied.
IMPORTANT READ!
The result of this guide could potentially cause yum to install packages and/or updates you might not want. I would recommend that you read about the CentOS Plus repository and kernel before proceeding! My server access is purely by SSH, (the box has no more than a power cord and network cables hooked up). Since I have done this I have noticed that the command line is a little choppy. I have not found the cause of this, due to this I am going to again recommend that you back up any data that is important and be prepared in case something doesn't work right.
On to the point of this thing!
I am writing this post because I found quite a few forum posts and articles with problems/solutions to NTFS on CentOS 5. Many solutions proposed were either indirect or did not work for me. My hope is that I can save some other people a little time.
Here is what I did it is very simple and you don't have to even manually recompile your kernel.
Add the Centos Plus repository to your yum config:
Code:
vi /etc/yum.repos.d/CentOS-Base.repo
Find the section that looks like this:
Code:
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
You need to change the line:
enabled=0
to say:
enabled=1
NOTE: The
CentOS Wiki has some examples and more in depth option configurations that you may want to look at!
Next use yum to update your system:
Once the update has completed, reboot your system and check to see if the ntfs module is available:
Code:
modprobe -l | grep ntfs
If you see:
/lib/modules/2.6.18-53.1.13.el5.centos.plus/kernel/fs/ntfs/ntfs.ko
Then you should be able to mount an ntfs device.
If not then try:
Then attempt the mount again.
Hopefully this guide helps you!