Re: USB drive not mounting on boot
One way to always mount a USB drive at login is to use USB paths. As long as you always plug the drive in the same port, you should be fine.
First, find the USB path to your device.
1) Unplug the device
2) Open a terminal and cd to /dev/disk/by-path
3) Type ls -al
You will get a list of paths like this
4) Plug in the device and execute another ls -al. Write down the new path that has appeared, which might look like
lrwxrwxrwx 1 root root 10 Dec 11 08:44 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 11 08:44 pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 11 08:44 pci-0000:00:1f.2-scsi-0:0:0:0-part4 -> ../../sda4
It's a new symlink leading to ../../sdX1 where X is a letter.
5) Now you have your USB path. If you plug in a new device in this port, it may create a different sdX1 for Linux but the path will remain the same. Let's use that.
6) In your Startup Applications, add this new entry
bash -c "gvfs-mount -d `readlink -f /dev/disk/by-path/<path_to_your_USB_port>`"
That's it! Cheers!
husband@wife$ make sandwich
husband@wife$ sudo make sandwich