Monday, January 4, 2010

Mounting NTFS Partition on RHEL5 with fuse-ntfs-3g

Here the simple steps for how to mount linux partitions in Redhat Enterprise Linux 5 (RHEL5)

First want to create rpmforge repository for get packages.
you can get steps here.

The gcc packages are important for installing fuse-ntfs-3

Intall gcc packages from your RHEL CD/DVD or other repository where gcc packages available. ( try EPEL or rpm fusion )

-- I am used my own dvd repository.
-- You can get this repository creation steps here.

After GCC installed
do following ,

#yum -y install fuse fuse-ntfs-3g dkms dkms-fuse

this will install needed packages for mounting

Now want to create mount point , for that

#mkdir /mnt/windows

Now want to make entry in your /etc/fstab for permanent mount.

If want make back up use following comment

#cp /etc/fstab /etc/fstab.bkp

Before make entry in fstab want to know which type of hard disk we are using
if you know already skip this step, otherwise use following commant
#fdisk -l
Out put of this comment , under device boot it shows /dev/hda1 or /dev/sda1

Note it.

Now open your /etc/fstab file with following commant

#vim /etc/fstab

use following entry in it,

/dev/hda1 /mnt/windows ntfs-3g defaults 0 0

Then save and exit.

reboot system or use following comment to mount

#mount /mnt/windows


That is all. you made it. By this way you can mount all ntfs partition.

VN:F [1.7.8_1020]

No comments:

Post a Comment