@brothergc said in auto mount internal HHD:
@joekamprad said in auto mount internal HHD:
but back to topic… i just try to reproduce your problem, and i can see that a ssd formatted with ext4 is shown up inside nautilus and i do not need password to open, and this without any fstab hacking…
may you need to change the owner of the drive only to get what you want?
sudo chown -R *username* */mountpoint/name*
where username needs to be changed to your username and /mountpoint/name to the mountpoint of the ssd (/mnt/DATA/)
well I entered in the id of the drive then I rebooted now I cant access the drive at all I copied the id of the drive from terminal I am about to give up I probaly got in over my head here beeing a noob windows I know linux I do not perhaps you could recomend a easier distro as this version seems to lock me out of root access with out using a terminal command line .
First remove the entries you put in /etc/fstab (or put a # infront of the line to exclude (comment out) this entry
#UUID=5fub8587-0068-45ec-a945-15394170vv89 /mnt/DATA ext4 defaults,discard,noatime,user 0 2
so you do not need to paste this in if you need it later.
open filebrowser and go to other placesthere you will find the data hdd … if you try to open it asks for password and mount it.
This is the normal way … if you want to have it accessable without password and automounted you need to use fstab.
Depending on how you want to use it.
I have my private data on a second internal drive like your ssd and all my pictures, documents, videos, and music are saved there.
To get them without password as default i automount the drive under /mnt/data and the specific folders (pictures, documents, videos, and music) are linked to this folders under my /home/user/pictures /home/user/documents e.t.c. (user needs to be replaced with username) this is done also over /etc/fstab:
UUID=1fgtg4366-35256-45dc-a23425-15394132ff89 /mnt/daten ext4 defaults 0 2
/mnt/daten/Bilder /home/killajoe/Bilder auto bind 0 0
/mnt/daten/Dokumente /home/killajoe/Dokumente auto bind 0 0
/mnt/daten/Videos /home/killajoe/Videos auto bind 0 0
/mnt/daten/Musik /home/killajoe/Musik auto bind 0 0
[updates once a week] = [90% less problems]
how to add system logs