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

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.

Content Protection by DMCA.com

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


36 Comments »

 
  • Harish says:

    perfect

  • Tejas Barot says:

    Great to know that its worked for you, Keep Visiting Blog

  • Sunil says:

    Thanks a lot.!!

    Works Great !!

  • [...] NTFS Partition Mounting on RHEL 5 Hello, You can go through following for Mounting NTFS Partition on RHEL 5 :- Link:- http://blog.ask4itsolutions.com/2009…ition-on-rhel/ [...]

  • xen devel says:

    [...] Xen … NTT Cyber Space Labs announced the availability of Kemari on the Xen Devel mailing list. …Mounting NTFS Partition on RHEL 5.x @ All Linux User's Blogif you are running xen kernel then only run this command. yum install kernel-xen-devel. if you are [...]

  • sharat says:

    thanks……… goooooood one try it

  • Tejas Barot says:

    Great if it works for you.

    Thanks keep visiting this blog and try to give feedback.

  • Yogesh says:

    greatttttttttttttttttttttttttt post dear thanks for the last 2 years i have been searching for mounting the NTFS but after reading this post and i have applied it successfully….

    I M So happy and thanks to the dear one who has posted this great work..

    THANKS FROM ALL LINUX COMMUNITY…………..

  • Tejas Barot says:

    Thanks a lot. Keep visit this blog.

  • Don Kamote says:

    Thanks a lot for this very helpful blog.

    Success!!!!!

  • TT says:

    Using http://dag.wieers.com/ repo works!!! Awesome post.

  • [...] Click on Below link to Continue Reading at Ask4 IT Solutions ( IT Solutions Provider India) Click on this link to continue reading :- http://blog.ask4itsolutions.com/2009/01/02/mounting-ntfs-partition-on-rhel/ [...]

  • Tejas Barot says:

    Can you please tell me what is entry in your fstab file?

  • Pradeep says:

    Gr8 work….!!! I already did it successfully, but my problem is
    how to make ntfs partitions auto-mount on system boot ??
    I think i am facing some problem with root permission, as on starting RHEL 5.2, i get something like
    “ntfs-3g-mount : fuse device is missing”
    “try modprobe fuse as root”
    But works fine when i manually mount the partitions……

    Any help…….

  • Tejas Barot says:

    Look at the comments below. I hope you find your solutions.

  • Pankaj says:

    hello sir,

    i have follow the above steps but still i am unable to mount ntfs partition on CentOS 5.3
    below is the details

    [root@localhost ~]# rpm -qa ‘fuse*’
    fuse-2.7.4-1.el5.rf
    fuse-ntfs-3g-2009.4.4-2.el5.rf
    [root@localhost ~]# uname -r
    2.6.18-128.el5xen
    [root@localhost ~]# uname -a
    Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:55:02 EST 2009 i686 i686 i386 GNU/Linux
    [root@localhost ~]#

  • kunta says:

    Dear sir,

    Thank you profusely for the post, because it did help me. I would advise anyone to make sure a command works before they put the command in the /etc/fstab file. Just my two cents on the question.
    What I mean is, because editing the /etc/fstab, one should actually run the
    mount -t ntfs /dev/sdax /mnt
    and make sure that this works before one umounts and re-mounts everything.

  • krishna says:

    Hi ,

    The o/op you asked is

    1) rpm -qa | grep fuse
    dkms-fuse-2.7.4-1.nodist.rf
    fuse-2.7.4-1.el5.rf
    fuse-ntfs-3g-2009.4.4-2.el5.rf

    2) uname -r
    2.6.18-8.el5xen

    Regards,
    Krishna

  • Tejas Barot says:

    can you send me output of thes both command
    rpm -qa | grep fuse and uname -r

    Please send me output of these command. Your errors solutions is in the comments before few days Johnny T was also facing the problem and he posted the solutions here also so read comments hopefully you get the solutions if not let me know

    Thanks

  • krishna says:

    Hi,

    Its very Nice document. I have installed in Virtual Mahcine its working fine. When i install in Actual desktop i am getting FATAL: Module fuse not found.
    Even after tring manually doing modprobe fuse still the same result. What mistake i am doing ?

    Regards,
    Krishna

  • Tejas Barot says:

    Thanks for a nice info.It might be help to others also.

    Thanks a lot.

  • Johnny T says:

    Hi, I was able to get it to work, and here’s how…

    Removed both fuse-2.7.4-1.el5.rf and
    fuse-ntfs-3g-2009.4.4-1.el5.rf.

    I then ran yum –enablerepo=rpmforge install fuse fuse-ntfs-3g dkms dkms-fuse

    I appreciate all of your help.

  • Tejas Barot says:

    Hi Did you execute this command yum -y install fuse fuse-ntfs-3g dkms dkms-fuse ? Still if it not works for you than try to install kernel-PAE and follow whole HOWTO may be it works for you .May be it or else i think this problem you are getting because you are running with x64 bit board and my this Howto is for i386 so may be because of this.

  • Johnny T says:

    To add:

    [root@....]# /bin/rpm -qa ‘fuse*’
    fuse-2.7.4-1.el5.rf
    fuse-ntfs-3g-2009.4.4-1.el5.rf
    [root@....]# uname -a
    Linux server 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

  • Johnny T says:

    Hi, modprobe fuse shows: FATAL: Module fuse not found.

  • Tejas Barot says:

    By Following these steps you go threw, but than also you are getting error than try to execute modprobe fuse and than try it. Let me know it’s working or not.

  • Johnny T says:

    Hello,

    I tried your instructions above. It installs all fine, but when mounting, I get

    FATAL: Module fuse not found.

    When I try installing Fuse, it says:

    package fuse-2.7.4-1.el5.rf is already installed

    Any thoughts?

    Thanks

  • Tejas Barot says:

    Congrats !!!!! Keep Visiting Blog. and keep send feedback. Thanks.

  • M Jamal says:

    Gggggrrrreeeeaaatttttt work Mr. Tejas.

    Thank You very much.

    ##################################100% ((((Success)))

  • Naresh says:

    gr8 man. 1TB hdd with NTFS file system were ordered, i was juggling to mount and steps documented were pretty straight forward and it kept me going with some issues, though these issues were becoz of my system.

    10 on 10 for this solution

  • Tejas Barot says:

    I will try to solve it out.

    First of all tell me did you execute mount -a exact after executing umount -a if not then try to execute this both commands in sequence
    umount -a
    mount -a
    and then go to your cd /mnt and execute your ls command is there files or folders of your NTFS drive?

  • Ajay Saini says:

    Hello Sir,
    I want to mount my NTFS partition fo Linux5.
    I found this link and tried to do that.
    But, I receive an error everytime:
    [root@station160 ~]# umount -a
    umount: /var/lib/nfs/rpc_pipefs: device is busy
    umount: /: device is busy
    [root@station160 ~]#

    Note: I am sending some info of my system.
    like:
    [root@station160 ~]# fdisk -l
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
    /dev/sda2 26109 60800 278663490 f W95 Ext’d (LBA)
    /dev/sda5 26109 28066 15727603+ 7 HPFS/NTFS
    /dev/sda6 28067 30677 20972826 7 HPFS/NTFS
    /dev/sda7 30678 33288 20972826 7 HPFS/NTFS
    /dev/sda8 33289 39815 52428096 7 HPFS/NTFS
    /dev/sda9 39816 39866 409626 83 Linux
    /dev/sda10 39867 52920 104856223+ 83 Linux
    /dev/sda11 52921 53964 8385898+ 82 Linux swap / Solaris
    /dev/sda12 53965 54225 2096451 83 Linux
    /dev/sda13 54226 56658 19543041 83 Linux
    Disk /dev/sdb: 1998 MB, 1998061568 bytes
    255 heads, 63 sectors/track, 242 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sdb1 1 242 1943833+ b W95 FAT32
    [root@station160 ~]#

    [root@station160 ~]# cat /etc/fstab
    LABEL=/ / ext3 defaults 1 1
    LABEL=/boot1 /boot ext3 defaults 1 2
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    LABEL=/home1 /home ext3 defaults 1 2
    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    LABEL=SWAP-sda11 swap swap defaults 0 0
    /dev/sda5 /mnt ntfs-3g defaults 0 0
    [root@station160 ~]#

    Note:
    If you have some solution for this problem,
    Please help me.
    I have to mount NTFS partition on Linux5.
    Thanks & Regards
    Ajay Saini

  • Tejas Barot says:

    I dont get your question.

    can you explain please what you exactly want to do ?

  • Nidheesh.G says:

    Thank you…(success)
    How to mount ntfs Dynamic volume in RHEL 5

  • Amit says:

    Hi Mr. Tejas

    this is great post from you actually i was trying from 3-4 days but your post done this in less than 15 minutes

    great post man

    Thanks a lot.

 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


one × 5 =