How to auto mount a hard disk in Linux Mint
A while ago I installed a SSD in my development machine and made it the main drive when I installed Linux Mint (17). The 1TB hard disk now gets recognised by Linux Mint, in that it shows up in the list of devices in Nemo (file manager). But applications can’t use it until I’ve clicked on it in Nemo
Time to fix this. I used the instructions I found at http://community.linuxmint.com/tutorial/view/1197:
“Go to Disks from the start menu, select the partition you want to mount, press the “more actions” button, then “edit mount options”, uncheck the “automatic mount options” and make sure that “mount at startup” is ticked, press OK and restart the system.”
Good start. Now when I reboot the system, the HDD is mounted at /mnt/<random string>. Let’s move it to somewhere sensible, say /mnt/disk2:
- Create the mount point. You’ll probably need to use sudo
- sudo mkdir /mnt/disk2
- sudo chown <user name> /mnt/disk2
- Menu -> Accessories -> Disk
- Click on the HDD, click on the partition, click on the two cogs, select “Mount Options”
- Change the Mount Point to /mnt/disk2
- Reboot to check
That works. Now /mnt/disk2 is the new mount point