6 posts
• Page 1 of 1
-
Posts: 7
- Joined: 11 Mar 2017
#1
Hi everyone! Is it possible to automount my data storage internal drive in AntiX-16.1? If possible how could I do it exactly? It would be very important, because my disk that contains the system has only 10 Gb space, and I can not reach my internal 1Tb drive at the moment with my data on it. Thank you for the help and advices in advance! Have a nice day!
Last edited by Zoleeka88 on 24 Apr 2017, 17:33, edited 1 time in total.
-
Posts: 850
- Joined: 26 Jul 2012
#2
Add it to your /etc/fstab file.
-
Posts: 4,164
- Joined: 20 Feb 2009
#3
Just to add to what fatmac said.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.howtogeek.com/howto/38125/htg-explains-what-is-the-linux-fstab-and-how-does-it-work/"
linktext was:"https://www.howtogeek.com/howto/38125/h ... s-it-work/"
====================================
Just curious. Spacefm should be able to see and mount your 1 TB drive. you just have to manually mount it after every boot up. That is a feature.
I know you said automount. I just don't consider manual mount a hassle is all.
Edit: Always make back ups first before editing root text files. In case you screw up. You will have have the original to fall back on. Because /etc/fstab edit screw ups will sometimes cause a system to not boot up anymore.
2nd edit: In case you need more info. Click the red link in my signature and follow the instructions.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.howtogeek.com/howto/38125/htg-explains-what-is-the-linux-fstab-and-how-does-it-work/"
linktext was:"https://www.howtogeek.com/howto/38125/h ... s-it-work/"
====================================
Just curious. Spacefm should be able to see and mount your 1 TB drive. you just have to manually mount it after every boot up. That is a feature.
I know you said automount. I just don't consider manual mount a hassle is all.
Edit: Always make back ups first before editing root text files. In case you screw up. You will have have the original to fall back on. Because /etc/fstab edit screw ups will sometimes cause a system to not boot up anymore.
Code: Select all
sudo cp /etc/fstab /etc/fstab.backup
-
Posts: 7
- Joined: 11 Mar 2017
#4
Yes I tried to mount it manually using space, but what I get is this error message:
Also If I open up a root window, I can mount the disk like that, but the owner of the disk is ROOT, and also if I reboot the computer I can not open the disk with my normal user account, and if I put it in to my fstab file still can not mount it as normal user.
I wouldn't like to use root account just to copy files from the data disk or get something from it. I would like to be able to use it as just the normal user if possible, like I can in MX-16.
Also If I open up a root window, I can mount the disk like that, but the owner of the disk is ROOT, and also if I reboot the computer I can not open the disk with my normal user account, and if I put it in to my fstab file still can not mount it as normal user.
I wouldn't like to use root account just to copy files from the data disk or get something from it. I would like to be able to use it as just the normal user if possible, like I can in MX-16.
-
Posts: 850
- Joined: 26 Jul 2012
#5
The entry should look something like the following, this is off the top of my head, so please read up on the exact way that you need.
(You need to be the root operator or use sudo to alter & save /etc/fstab.)
Code: Select all
/dev/sdb1 /data ext4 auto,exec,users,rw
-
Posts: 7
- Joined: 11 Mar 2017
#6
Now it seems it's working properly. Thank you very much for your help Fatmac and Rokytnji. __{{emoticon}}__