Jan 25, 2011

Mount NTFS Partition in RHEL

Mount NTFS Partition in RHEL

Release:
RedHat Enterprise Linux 5

Problem:
Need to mount the Windows NTFS partition in RHEL 5

Solution:

1)      Install the “kernel-module-ntfs” package. Download this package from the below link.


Note: Download both rpm and ko file.

2)      Load the ntfs module to the kernel, and confirm with lsmod command

# rpm –ivh kernel-module-ntfs-xxxxx.rpm
# insmod kernel-module-ntfs-xxxxx.ko
# lsmod | grep ntfs

3)      Download the “ntfs-3g” and “fuse” packages from the below links.


4)      Install the ntfs-3g package by using the below commands

# tar –zxvf ntfs-3g-xxxx.tgz
# cd ntfs-3g-xxxx
# ./configure
# make
# make install

5)      Install the fuse package by using the below commands

# tar –zxvf fuse-xxx.tar.gz
# cd fuse-xxx
# ./configure
# make
# make install
# modprobe fuse
6)      Now mount the ntfs partition using the below command

# mount –t ntfs-3g /dev/sdb1 /mnt

Note: Here /dev/sdb1 is a windows NTFS partition. Also here usage of fuse version is depend upon the kernel version.


2 comments:

Anonymous said...

nice it works for me, I'm using Oracle Enterprise linux 5

Anonymous said...

thanks for your work, It works for me . I am using RHEL 4