LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-29-2010, 12:21 AM   #1
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Rep: Reputation: 0
how to mount ntfs on linux?


hi everybody,
i have installed three flavours of linux on vmware
1.rhel5
2.centos 5.5
3.fedora 14

and also install centos 5.5 on a seprate hard disk(not on vwware)

i want to mount my pen drive on linux which is ntfs.i have tried a lot on rhel5 only.please tell whether it is possible mount ntfs on any distributions i have mentioned above?

i have already installed fuse,fuse-devel,fuse libs,ntfs-3g,ntfs-3g libs on rhel5.but i still got error
"fatal : module fuse not found"
"ntfs unknow file system"

please tell me what things are left?
 
Old 12-29-2010, 12:38 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,230

Rep: Reputation: 132Reputation: 132
1. Confirm the ntfs module on this path itself(the directory should be the kernel version)
Quote:
cd /lib/modules/2.6.18-5-686/kernel/fs/
2. Confirm any device detect with NTFS
Quote:
fdisk -l | grep NTFS
 
Old 12-29-2010, 01:37 AM   #3
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
cd /lib/modules/2.6.18-5-686/kernel/fs/
is giving the following error

Quote:
bash: cd: /lib/modules/2.6.18-5-686/kernel/fs/: No such file or directory
so it means modules are not installed but i have done it.what is the root cause of this error?
 
Old 12-29-2010, 01:48 AM   #4
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,230

Rep: Reputation: 132Reputation: 132
Please find right path as i mentioned
Quote:
[root@Est ~]# uname -r
2.6.18-164.el5
[root@Est ~]#
[root@Est ~]#
[root@Est ~]# cd /lib/modules/2.6.18-164.el5/kernel/fs/
 
Old 12-29-2010, 04:20 AM   #5
Xeratul
Senior Member
 
Registered: Jun 2006
Location: Debian Land
Posts: 1,331

Rep: Reputation: 83
for a ro:
Code:
mkdir /mnt/ntfs
mount /dev/XXX /mnt/ntfs
or
for a rw:
Code:
apt-get install ntfs-3g
then config the /etc/fstab
Code:
/dev/XXX /mnt/XXX ntfs-3g auto,user,defaults,force 0 0
##echo "/dev/hda1       /mnt/hda1       vfat    user,rw,auto,umask=0000,uid=1000,gid=1000  0    2" >> /etc/fstab
 
Old 12-30-2010, 01:31 AM   #6
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
IN /lib/modules/2.6.18-5-686/kernel/fs/
ntfs is not available.but i have installed ntfs-3g
 
Old 01-01-2011, 01:10 AM   #7
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
it works for me on centos 5.5 after installing all reqd packages but it worked only once.again it is not detecting ntfs filesystem
 
Old 01-04-2011, 01:15 AM   #8
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
please somebody help me.i want to use ntfs on rhel5 but it is not working at all even after installing the all reqd rpms
 
Old 01-09-2011, 03:59 AM   #9
networking.dept
Member
 
Registered: Dec 2010
Location: Ahmedabad
Distribution: Red Hat Enterprise Linux and Fedora
Posts: 44

Rep: Reputation: 8
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/
 
Old 01-09-2011, 04:14 AM   #10
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
its not working.how to know if kernel is pae or xen ?
 
Old 01-09-2011, 11:43 AM   #11
networking.dept
Member
 
Registered: Dec 2010
Location: Ahmedabad
Distribution: Red Hat Enterprise Linux and Fedora
Posts: 44

Rep: Reputation: 8
Hi,

It is working fine. Many of tried it and worked for them, This is my blog itself and i have posted it after successful test.

Requesting you to check steps carefully and the try to follow it, It should work. If not then tell me where exact you are facing difficulties.

To knowing what kernel you are usign Please Execute Following Command :-

# uname -r

Last edited by networking.dept; 01-09-2011 at 11:45 AM. Reason: Missed some content to answer
 
Old 01-09-2011, 11:45 AM   #12
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 257

Rep: Reputation: 58
Also

http://wiki.centos.org/TipsAndTricks/NTFS
 
Old 01-10-2011, 01:16 AM   #13
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
in centos it is working.the problem is in rhel5.its not working at all.uname -r only tell about version nothing else.
 
Old 01-10-2011, 01:27 AM   #14
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
"uname -r" should indicate which kernel version you are using. If it is a xen or pae kernel, you will see xen or pae in the name.

Check with "lsmod" if the "fuse" module is loaded. If not, modprobe it. Make sure you use "ntfs-3g" in your mount command or fstab file for the filetype.

You don't need CONFIG_NTFS_FS enabled in your kernel if you use ntfs-3g.

zcat /proc/config.gz | grep -i ntfs
# CONFIG_NTFS_FS is not set

You can check a filesystem with:
sudo file -s /dev/<device_node>

Last edited by jschiwal; 01-10-2011 at 01:29 AM.
 
Old 01-10-2011, 01:46 AM   #15
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
its not finding fuse.showing module fuse not found.i have installed on centos as well as on rhel5 by same way.but its not working in rhel5.
 
  


Reply

Tags
mount, ntfs, ntfs3g


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount Windows NTFS in Linux Xorix Linux - Newbie 2 03-29-2007 10:58 AM
how to mount ntfs drive in Linux shueib Linux - Newbie 1 10-21-2005 10:08 AM
Mount windows xp (ntfs) in linux Mordeth_0 Linux - Newbie 6 07-17-2004 05:26 PM
Linux bootable CD that can mount NTFS? Whitehat General 4 08-30-2003 10:20 PM
How do mount a NTFS disk in Linux Scratchmaster Linux - Newbie 4 08-15-2002 06:42 PM


All times are GMT -5. The time now is 06:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration