PDA

View Full Version : NTFS-3g problem - Can mount when logged in, but not on startup


Katoom
2006-12-30, 10:49 AM CST
Hey,

I have an USB harddrive with NTFS, and I want to read/write to it, which I have been able to do,
using this command in terminal:
ntfs-3g /dev/sdc1 /media/Ekstern -o force

I want this to happen automatically on startup, so I edited the /etc/fstab file:
/dev/sdb1 /media/Ekstern ntfs-3g defaults,force 0 0

But, on startup it says something about not having permissions, and not finding /dev/fuse
It flashes past so fast, I cant see excactly what it says. But, now it wont show up at all, not even with just read access.

What should I put in the fstab file to make it mount with read/write on startup?

Thanks in advance,
Katoom

Seve
2006-12-30, 11:03 AM CST
Hello:
How did you install ntfs-3g ?
If you used yum to install it then the needed fuse rpms would also be installed.

Seve

Katoom
2006-12-30, 12:03 PM CST
Installed fuse, same thing happened.
Tried this in the fstab:
/dev/sdb1 /media/Ekstern ntfs-3g rw,defaults,force,umask=0000 0 0

Same thing again.

Seve
2006-12-30, 12:25 PM CST
Hello:
How did you install ntfs-3g ?
If you used yum to install it then the needed fuse rpms would also be installed.

All you need in your fstab is as follows:

/dev/sdb1 /media/Ekstern ntfs-3g defaults 0 0

This will auto-mount with r/w and be good to go. :)

http://www.ntfs-3g.org/index.html#usage

Seve

Dies
2006-12-30, 03:29 PM CST
Does Selinux interfere with this?
I thought it did for me but not 100% on that because I set it to permissive .

buddha
2006-12-30, 04:56 PM CST
This is a known limitation due to SELinux and is documented here:
http://www.ntfs-3g.org/support.html#selinux

See the above link for workaround and more details.

Katoom
2006-12-30, 07:49 PM CST
This is a known limitation due to SELinux and is documented here:
http://www.ntfs-3g.org/support.html#selinux

See the above link for workaround and more details.

Fixed it!! Thank you so much!