Posts: 177
rmcellig
Joined: 04 Mar 2014
#1
I got it to mount! I used this:

Code: Select all

sudo mount -t ntfs-3g /dev/sdb1 /media/vinyl/
Now all I have to do is click on the vinyl folder on my desktop and voila!

How can I make it persistant so I don't always have to type this in every time I restart my machine?
Last edited by rmcellig on 15 Jun 2015, 19:01, edited 1 time in total.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
What I use when I wish to automount drives as user during bootup.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.howtogeek.com/howto/38125/htg-explains-what-is-the-linux-fstab-and-how-does-it-work/"
linktext was:"http://www.howtogeek.com/howto/38125/ht ... s-it-work/"
====================================


Careful. Check it before you wreck it. Always make a backup of / etc/fstab before editing original.
Posts: 177
rmcellig
Joined: 04 Mar 2014
#3
I'm always in my fstab file. So I can add it there? I'll see how that works out.
Posts: 177
rmcellig
Joined: 04 Mar 2014
#4
This is the entry in my fstab file for my external NTFS usb pen drive.

When I restart my machine and try and open the vinyl folder a permission error message appears. Can I tweak my fstab entry to deal with this?

Code: Select all

UUID=45DA03247D40E7E3 /media/vinyl ntfs-3g noauto,users,noexec,uid=1000,gid=users,dmask=002,fmask=113,relatime 0 0
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#5
rmcellig wrote:This is the entry in my fstab file for my external NTFS usb pen drive.

When I restart my machine and try and open the vinyl folder a permission error message appears. Can I tweak my fstab entry to deal with this?

Code: Select all

UUID=45DA03247D40E7E3 /media/vinyl ntfs-3g noauto,users,noexec,uid=1000,gid=users,dmask=002,fmask=113,relatime 0 0
go ahead and use the"auto" instead of"noauto". IIRC, you have to be root to mount ntfs-3g drives.
Posts: 177
rmcellig
Joined: 04 Mar 2014
#6
That did it! How simple was that!!


Thanks for the help.