This Blog is intended to collect information of my various Intrests,pen my opinion on the information gathered and not intended to educate any one of the information posted,but are most welcome to share there view on them
Friday, July 15, 2011
Mounting NTFS Partition on RHEL 5.x
irst Setup RPMForge Repository by running this command :- wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Install DAG’s GPG Key by executing following command:- rpm – -import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Verify the package you have downloaded:- rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
Install the package :-
rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
or if you dont find packages here try some other repositories like rpmfusion, epel hope you will get it..
after this run yum list command if that runs completely then Intall gcc packages from your RHEL CD/DVD or any other repository where gcc packages available.
GCC Packages is must for Mounting NTFS.
After GCC installed
run this command :-
yum -y install fuse fuse-ntfs-3g dkms dkms-fuse
if you are running xen kernel then only run this command
yum install kernel-xen-devel
if you are running PAE kernel then only run this command
yum install kernel-PAE-devel
Now Make Entry in your /etc/fstab file
make backup of your /etc/fstab by executing this command
cp /etc/fstab /etc/fstab.bkp
now open your /etc/fstab file in your favorite editor
vim /etc/fstab like below example
/dev/sda1 /mnt/ntfs ntfs-3g defaults 0 0
save & exit from file
Then execute this two commands in exact order
That’s it. Now You will able to see NTFS by executing df -kh or access your NTFS Volume from your mount point.