Every time I log in, I need to go to disks and mount all my partitions manually.
How can I make it automatic?
Every time I log in, I need to go to disks and mount all my partitions manually.
How can I make it automatic?
Use the "Disks" app.
Load the Disks app (In System) and select the disk with the filesystem you want to mount on startup.
Then select the filesystem on that disk and click on the gears (for configuration).
Select "Edit Mount Options" from the popup menu.
On the setup options, click to check the "Mount on Startup" box. (This will add the entry to fstab when you click on "OK").
Reboot, and your filesystem should be available.
I agree with other comments here regarding manually adding lines to fstab via CLI/text editor. If you take the time to look at your fstab file it will help you understand what changes have been made and, ultimately the CLI method will become faster for you.
gnome-disk-utility
. I can't understand, why people identify programs by simple common words (like title name) in Linux/Ubuntu world, where all is configurable and replacable. Not every linux distribution has "Disks" in "Main menu".
– user1742529
Dec 13 '18 at 10:01
1 - Write down the UUID of the drive that you want to mount by executing the following command:
sudo blkid
2 - Then edit the fstab:
sudo gedit /etc/fstab
3 - Add at the end of the file fstab:
UUID=D638F77338F7514B /media/baraldi/win_www ntfs defaults 0 0
Be sure the UUID matches what you recorded in the first step
4 - Restart
That is all. Good Luck.
/etc/fstab
[file system table] is a list file filesystems to mount, either automatically or on command. it'll load hdds, network (nfs, samba & more) & more. add entries to your existing file which will have at least one entry (your / drive to enable boot). have the entriesauto
mount. you didn't say whatdisks
so I'll not go further . – guiverc Oct 20 '17 at 11:31ext4
, options are "if errors, remount read-only", freq.count, pass_no. make an entry with new UUID, location to mount drives, type-of-format etc. – guiverc Oct 20 '17 at 11:47man fstab
to get help on fstab, though most people probably use a duckduckgo.com (or other) – guiverc Oct 20 '17 at 11:49