LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 04-27-2007, 12:07 AM   #1
pcandpc
Member
 
Registered: Apr 2005
Posts: 241

Rep: Reputation: 30
[centos] ntfs access


Hello?

In CentOS 5, how can I access ntfs
drives/partitions/volumes?

Thanks.
 
Old 04-27-2007, 12:16 AM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Code:
mkdir /mnt/windows
mount /dev/hda1 /mnt/windows -t ntfs3g -r -o umask=0222
Obviously, replace /dev/hda1 with whatever the proper partition you're trying to access is
 
Old 05-12-2007, 05:06 PM   #3
philnelson
LQ Newbie
 
Registered: May 2007
Location: Silicon Valley
Distribution: various, mostly Linux
Posts: 5

Rep: Reputation: 0
didn't work for me

Quote:
Originally Posted by fukawi2
Code:
mkdir /mnt/windows
mount /dev/hda1 /mnt/windows -t ntfs3g -r -o umask=0222
Obviously, replace /dev/hda1 with whatever the proper partition you're trying to access is
Just tried it, got:

mount: unknown filesystem type 'ntfs3g'
 
Old 05-12-2007, 05:13 PM   #4
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Your distribution might not come with the ntfs3g driver... What distribution are you using?

If you don't have it (which it's pretty obvious you don't :P), then you can get it here if your distribution doesn't provide a package for it:
http://www.ntfs-3g.org/
 
Old 05-12-2007, 05:17 PM   #5
philnelson
LQ Newbie
 
Registered: May 2007
Location: Silicon Valley
Distribution: various, mostly Linux
Posts: 5

Rep: Reputation: 0
What distribution?

Quote:
Originally Posted by fukawi2
Your distribution might not come with the ntfs3g driver... What distribution are you using?

If you don't have it (which it's pretty obvious you don't :P), then you can get it here if your distribution doesn't provide a package for it:
http://www.ntfs-3g.org/
I am using (mostly) vanilla CentOS 5
 
Old 05-12-2007, 05:27 PM   #6
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Well we never heard back from the original poster, so I don't know if it actually worked for him/her.

I've only read that CentOS comes with the ntfs3g driver, but I haven't actually used it, so I can't vouch that it does.
 
Old 05-12-2007, 06:02 PM   #7
philnelson
LQ Newbie
 
Registered: May 2007
Location: Silicon Valley
Distribution: various, mostly Linux
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by pcandpc
Hello?

In CentOS 5, how can I access ntfs
drives/partitions/volumes?

Thanks.
For read-only access, I just finished installing and testing (at least to the extent of copying a file from a USB disk) the Red Hat Enterprise Linux 5 drivers found here:

http://www.linux-ntfs.org/

That solved my problem- I don't trust this USB drive anyway, I plugged it into my CentOS box because it was acting up on a Windows XP machine, so I sure don't want to start writing to it just now, even if ntfs-3g is "1.0".

I hope it helps you also.
 
Old 05-12-2007, 06:09 PM   #8
philnelson
LQ Newbie
 
Registered: May 2007
Location: Silicon Valley
Distribution: various, mostly Linux
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by fukawi2
Well we never heard back from the original poster, so I don't know if it actually worked for him/her.

I've only read that CentOS comes with the ntfs3g driver, but I haven't actually used it, so I can't vouch that it does.
Mine didn't.

CentOS is a clone of Enterprise Linux.

See http://www.linux-ntfs.org/ "About RedHat/FC RPMs" for a quick explanaton of Red Hat and NTFS and all the RPMs and instructions required to get the kernel modules installed.
 
Old 05-12-2007, 08:33 PM   #9
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
linux-ntfs is read only access I believe... the 3g version gives write access as well.
 
Old 05-13-2007, 06:20 AM   #10
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
Quote:
Originally Posted by philnelson
Just tried it, got:

mount: unknown filesystem type 'ntfs3g'
The filesystem type is not ntfs3g but ntfs-3g. You used a wrong command. Use this one, as its documention suggests:
Code:
mount -t ntfs-3g /dev/hda1 /mnt/windows

Last edited by igu; 05-13-2007 at 06:21 AM.
 
Old 05-13-2007, 09:01 PM   #11
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Whoops, sorry all!
 
Old 05-15-2007, 01:22 PM   #12
philnelson
LQ Newbie
 
Registered: May 2007
Location: Silicon Valley
Distribution: various, mostly Linux
Posts: 5

Rep: Reputation: 0
well, yes

Quote:
Originally Posted by igu
The filesystem type is not ntfs3g but ntfs-3g. You used a wrong command. Use this one, as its documention suggests:
Code:
mount -t ntfs-3g /dev/hda1 /mnt/windows
Well, yes, I did use the wrong command. I do that a lot, for various reasons.

Thanks for the correction. Those people who actually install ntfs-3g on their CentOS 5 systems will need to know the right command and they might Google for it instead of reading the documentation, come upon this thread (which placed highly, for some reason, in my Google search looking for the quickest way to add NTFS to a newly installed CentOS 5 system) and get useful information, eventually.
 
Old 09-30-2007, 10:15 PM   #13
grol
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
Hello?

I've got troubles with ntfs-3g, although it looks like the problem is more with FUSE module rather than ntfs-3g driver. It returns:
Code:
FATAL: Module fuse not found.
fuse: device not found, try 'modprobe fuse' first
FUSE mount point creation failed
Unmounting /dev/sda1 (External HD)
I tried
Code:
$ sudo /sbin/modprobe fuse
FATAL: Module fuse not found.
And it's not listed in (should it be?)
Code:
/lib/modules/2.6.18-8.1.14.el5/kernel/fs/
/dev/fuse exists, so it's all good here.

Does anyone know what could have gone wrong in my installation?

Thanks..

Last edited by grol; 09-30-2007 at 11:03 PM.
 
Old 06-13-2008, 05:48 PM   #14
drakethegreat
Member
 
Registered: Sep 2004
Location: Seattle, WA
Distribution: None (Linux doesn't support my basic hardware)
Posts: 61

Rep: Reputation: 15
whats the output of lsmod?
 
Old 06-15-2008, 08:28 AM   #15
grol
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by drakethegreat View Post
whats the output of lsmod?
Look at the date of the post mate I'm on suse now and a lot of things are out of the box here, including ntfs-3g. Thanks for the reply anyway, best of luck
 
  


Reply

Tags
centos, centos5, fuse, modprobe, mount, ntfs, ntfs3g, windows


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Access Problem on CentOS 4.3 sfarber53 Linux - Networking 7 11-16-2006 11:27 AM
Remote Access for CentOS 4 shole Linux - Software 2 04-10-2006 01:16 AM
how I can centos ntfs compile? Grave Linux - General 2 12-23-2005 07:50 PM
NTFS access almost but not quite there mulciber Linux - General 3 06-11-2005 12:35 PM
Captive NTFS -- full r/w ntfs access for Linux spurious Linux - Software 6 01-09-2004 12:29 AM


All times are GMT -5. The time now is 06:29 AM.

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