Easily set drives to mount automatically at boot

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
User avatar
MintBean
Level 8
Level 8
Posts: 2153
Joined: Fri Aug 07, 2015 6:54 am
Location: Blighty

Easily set drives to mount automatically at boot

Postby MintBean » Tue Oct 10, 2017 5:06 pm

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.
Last edited by MintBean on Tue Oct 10, 2017 6:45 pm, edited 1 time in total.

User avatar
xenopeek
Level 24
Level 24
Posts: 21278
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Easily set drives to mount automatically at boot

Postby xenopeek » Tue Oct 10, 2017 6:41 pm

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.
Image

User avatar
MintBean
Level 8
Level 8
Posts: 2153
Joined: Fri Aug 07, 2015 6:54 am
Location: Blighty

Re: Easily set drives to mount automatically at boot

Postby MintBean » Tue Oct 10, 2017 6:47 pm

Hey, thanks for the sticky, xenopeek!
In light of your advice, I've removed the unnecessary line.


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 7 guests