You are not logged in.
Pages: 1
Topic closed
I'm trying to mount my hard drive to /mnt/2TB automatically at startup. My /etc/fstab looks like this...
/dev/sda2 / ext4 errors=remount-ro 0 1
/dev/sdb1 /mnt/2TB ntfs auto,exec,rw,users,uid=1000 0 0
ls / shows...
drwxrwxrwx 3 root root 4096 Jun 30 20:09 mnt
ls /mnt shows...
drwxrwxrwx 1 root root 4096 Jun 20 21:21 2TB
When I restart the disk mounts fine but I cannot write anything to disk. I want to mount this disk so that anyone can read, write, and execute on it. I specified these options in my fstab. What options am I missing?
EDIT:
I figured it out. I had to install ntfs-3g. Once I did that I changed my fstab to this...
/dev/sda2 / ext4 errors=remount-ro 0 1
/dev/sdb1 /mnt/2TB ntfs-3g defaults,uid=1000 0 0
Then I changed /mnt permissions to ...
drwxr-xr-x 3 root root 4096 Jun 30 20:09 mnt
Then I changed /mnt/2TB permissions to...
drwxrwxrwx 1 necbot users 4096 Jun 20 21:21 2TB
Works great!
Last edited by necbot (2014-07-02 00:07:43)
Offline
Hi,
I just wanna say a quick THANK YOU!!!!11111
I worked like 3 days on getting my ntfs usb-stick to mount correctly on my Raspberry Pi. Then I read your answer and dude, thanks.
Everything works smoothly as expected and it worked like a charm.
I am so happy right now, that I created this account just to thank you xD (I'll delete it afterwards)
This solution is so simple, but I didn't find it anywhere (after like 20 hours of googling), so yeah...
Just thanks
Offline
And, on that happy note, I shall use this opportunity to close this old thread.
I created this account just to thank you xD (I'll delete it afterwards)
No need, you are welcome here. Besides, you cannot
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed