Warning: strpos() [function.strpos]: needle is not a string or an integer in /home/beardedd/public_html/home/comments.php on line 34
hOme.beardedDonkey - HOWTO Configure Drive Devices to Automount on Boot in Linux Mint 13
HOWTO Configure Drive Devices to Automount on Boot in Linux Mint 13 
This post documents how I configured my computer to automount my disk devices under Linux Mint 13.

There are a few ways to do this, but this method was recommended as being the safest way to do it.

Drives will be automounted using the /etc/fstab file, and we will use the UUID of the drive to mount it.

To automount you need:

1. The UUID of the partition
2. An existing mount point directory

To get the UUID of a partition

type the following command into console:
sudo blkid
and you should get some output that looks like:
/dev/sda1: LABEL="Win7" UUID="C26481916481893D" TYPE="ntfs" 
/dev/sda5: LABEL="Data-Live" UUID="F2A4B196A4B15E33" TYPE="ntfs"
/dev/sdb1: LABEL="Data-Backup" UUID="7F777C4F536ED854" TYPE="ntfs"
/dev/zram0: UUID="29998593-e49e-4f05-bb7c-8023d9a6f725" TYPE="swap"
/dev/sdc1: UUID="5372f43d-4d29-4e7b-a1df-72f416862a56" TYPE="ext4"
/dev/mapper/cryptswap1: UUID="258b6f37-5cfb-450f-a7ed-eced2bb0c3ac" TYPE="swap"
/dev/sdf1: LABEL="Seagate Expansion Drive" UUID="DE286A78286A4F97" TYPE="ntfs"
The UUID's are clearly shown here.

Create your mount point directories

You may need to be root to do this.
sudo mkdir /media/"Seagate Expansion Drive"
etc until you have all the mount points you need.

Edit /etc/fstab to automount on boot

Edit /etc/fstab as root.
sudo nano /etc/fstab
Add a line at the bottom of the file. Each line is the instructions for auto mounting a drive device.
UUID=DE286A78286A4F97   /media/Seagate\040Expansion\040Drive    ntfs    defaults,nls=utf8,umask=000,uid=1000,windows_names      0       0
Add additional lines for more disk devices as you need.

Save and exit the text editor.

Reboot. Verify the devices auto mounted on boot using the "disk free" command:
If it works, you should see all you devices mounted at the mount points you created.


The \040 in the mount point in the example above is for spaces.

Some options may not be required. I used the ones from the Linux Mint Community Forums.

Any lines that are word wrapped should not be. The entries in /etc/fstab should all be on 1 line.


The following pages were used to do this. No glory banditry involved.
http://forums.linuxmint.com/viewtopic.p ... mp;t=22093
http://forums.linuxmint.com/viewtopic.p ... p;t=115601

Comments are not available for this entry.