April 25, 2009

Mounting NTFS Partition on RHEL 5.x !!!!!!!

):-First of all,Setup RPMForge Repository by running this command :-

#wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-.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

):- To 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

):- 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

/dev/sda1 /mnt/ntfs ntfs-3g defaults 0 0


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.

No comments:

Post a Comment