I was wondering how can i automount my ntfs disk upon startup without having to doubleclick on it and insert password.
thnx
Automount HD
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Automount HD
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Automount HD
You add a line to /etc/fstab like this one
Open fstab with gksudo gedit or in KDE kdesu kate
Of course you probably do not have sda1, open gparted and check what you have
you also have to make a directory in media named as the "dev"
Code: Select all
/dev/sda1 /media/sda1 ntfs defaults,umask=007,gid=46
Of course you probably do not have sda1, open gparted and check what you have
you also have to make a directory in media named as the "dev"
Code: Select all
sudo mkdir /media/sda1
Re: Automount HD
Is, umask=007 strictly necessary, since defaults contains user, Husse?
Re: Automount HD
Hey MagnusB - you're probably right
This is the line I got automagically at some time - I just open fstab and copy it - it works nicely for me
This is the line I got automagically at some time - I just open fstab and copy it - it works nicely for me
Re: Automount HD
Ok, I was just curious. I always thought defaults made sure that the user had full read/write access to the disk.
Re: Automount HD
MagnusB ,
I usually put it in too. You would be correct if the defaults were always set like we expect them to be. But that isn't always the case. The defaults are whatever whoever put the distro together decided they were. It doesn't hurt to have it and it might prevent an additional problem from popping up.
Fred
I usually put it in too. You would be correct if the defaults were always set like we expect them to be. But that isn't always the case. The defaults are whatever whoever put the distro together decided they were. It doesn't hurt to have it and it might prevent an additional problem from popping up.
Fred
Re: Automount HD
I folloed your guide and with the help of a similar ubuntu thread i managed it out! It seems that the defaults for umask are zeros...i guess here is my fstab file to check it out!