Linux mint | How to automount drive on startup system
To automount drive on startup system
Follow this steps .. | tested on mint 17.2
- Go to the Startup Applications..
- Write a name for this operation such as “Mount ntfs drives”.
- Then in command input box, write this
udisks --mount /dev/sda2
to automount the ntfs partition.
Note: You need to replace the/dev/sda2with your actual NTFS partition number.
You can get this number by this command:sudo blkid
Below is the output of this command in my computer.
/dev/sda1: UUID="89b18940-d5ff-4ce1-a85a-42cdd0369016" UUID_SUB="57d79ff6-7b53-44bc-82ec-ef783a23efc3" TYPE="btrfs" /dev/sda2: LABEL="Main" UUID="A80C1BD70C1B9F7E" TYPE="ntfs" /dev/sda3: LABEL="Work" UUID="01CCB271A80A07E0" TYPE="ntfs" /dev/sda5: LABEL="Free" UUID="CA9A-4F0A" TYPE="vfat" /dev/sda6: LABEL="Ubuntu" UUID="364126ac-01c9-4dd2-ab19-eecc733a9640" TYPE="ext4" /dev/sda7: LABEL="Free2" UUID="ed26eebb-524b-4533-869a-9dbd2b92bd64" TYPE="xfs" /dev/sda8: UUID="312d4cd9-21a9-4c0d-aa34-26230e70fa89" TYPE="swap"
- For Mounting with Executable permission use:
udisks --mount /dev/sda2 --mount-options=umask=022
Caution: If you are a bit worried with security, you may choose not to have this functionality.
Have fun.. 🙂