LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (http://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   [centos] ntfs access (http://www.linuxquestions.org/questions/linux-distributions-5/%5Bcentos%5D-ntfs-access-549379/)

pcandpc 04-27-2007 01:07 AM

[centos] ntfs access
 
Hello?

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

Thanks.

fukawi2 04-27-2007 01:16 AM

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 :)

philnelson 05-12-2007 06:06 PM

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'

fukawi2 05-12-2007 06:13 PM

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/

philnelson 05-12-2007 06:17 PM

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

fukawi2 05-12-2007 06:27 PM

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.

philnelson 05-12-2007 07:02 PM

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.

philnelson 05-12-2007 07:09 PM

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.

fukawi2 05-12-2007 09:33 PM

linux-ntfs is read only access I believe... the 3g version gives write access as well.

igu 05-13-2007 07:20 AM

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

fukawi2 05-13-2007 10:01 PM

Whoops, sorry all!

philnelson 05-15-2007 02:22 PM

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.

grol 09-30-2007 11:15 PM

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..

drakethegreat 06-13-2008 06:48 PM

whats the output of lsmod?

grol 06-15-2008 09:28 AM

Quote:

Originally Posted by drakethegreat (Post 3184151)
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


All times are GMT -5. The time now is 09:42 AM.