Monday, February 1, 2010

Mount NTFS Partition on RHEL 5.x

First 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

mak

e 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

:wq

save & exit from file

Then execute this two commands in exact order

umount -a

mount -a

That’s it. Now You will able to see NTFS by executing df -kh or access your NTFS Volume from your mount point.


##########################100% Work#########################

web stats