Page 1 of 1

Easily set drives to mount automatically at boot

Posted: Tue Oct 10, 2017 5:06 pm
by MintBean
This is for people who to enable a second drive to auto-mount at system start up WITHOUT editing a system file by hand.

1. Open the application 'Disks' from the Mint menu. (It's under 'Accessories.')
2. In the left hand part of the window, click on the disk which contains the partition you wish to mount.
3. The partition layout of the selected disk will appear in the right hand portion of the window.
4. Select the partition you wish to auto-mount by clicking on it. The selected partition will be highlighted.
5. Optional - If you wish to immediately mount the disk, you can do so by pressing the triangular 'play' button that appears to the left below the partition display. This will NOT cause it to auto-mount on next boot.
You may unmount the partition if you wish by pressing the square 'stop' button that appears where the play button was.
6. Click the cog icon <additional partition options> and select 'edit mount options.'
7. Switch 'automatic mount options' to OFF.
8. Check the 'mount at startup' box.
9. Optional - choose a custom mount point - in the 'Mount point' box, enter the mount point. I always choose something in the /mnt directory. e.g. '/mnt/Mydiscname'
10. Optional - give your disk a nice display name. This is the name it will appear as on the desktop. Enter your chosen name in the 'display name' field.
11. Hit OK and close the disks application. The disk should automount on next boot.

Re: Easily set drives to mount automatically at boot

Posted: Tue Oct 10, 2017 6:41 pm
by xenopeek
Good tutorial! Stickied.
MintBean wrote:11. Optional - if the disk is a solid state (SSD) you may wish to stop the system writing the time of the last file access to files when they are used. This saves on writes which add wear to the disk. To do this, edit the field that has no label but contains a bunch of options like 'nosuid,nodev,nofail,x-gvfs-show'. Leave the existing contents intact, but add ',noatime' to the end (without the quotes, with the preceding comma as indicated.)
You already wrote it as optional but I think this is dated information. The kernel uses relatime by default and that only updates the last access time when the file is modified—at which time the file's information block is written anyway to update the last modified time. When compared to relatime, noatime doesn't further reduce disk writes.

Re: Easily set drives to mount automatically at boot

Posted: Tue Oct 10, 2017 6:47 pm
by MintBean
Hey, thanks for the sticky, xenopeek!
In light of your advice, I've removed the unnecessary line.

Re: Easily set drives to mount automatically at boot

Posted: Tue Feb 19, 2019 10:22 am
by nickname
Excellent write-up. Still works in Linux Mint 19.1, xfce.

Thanks.

Re: Easily set drives to mount automatically at boot

Posted: Fri Apr 26, 2019 8:07 am
by PaulCarry
nickname wrote:
Tue Feb 19, 2019 10:22 am
Excellent write-up. Still works in Linux Mint 19.1, xfce.

Thanks.
+1 Was just about to confirm this too.

Re: Easily set drives to mount automatically at boot

Posted: Sun May 12, 2019 9:45 am
by deanr72
This was one of the first majorly frustrating issues I had with a Linux distro when I first switched from Windows. A very useful sticky indeed.