So i edited the /etc/fstab
file, and added this line
/dev/sdb1 /media/additionaldrive1 ext4 defaults 0 2
and most times, my hard drive is there waiting for me in the right location. but sometimes, and I'm not sure if i'ts at boot up, or sometimes afterwards, since I generally don't need to the use the drive immediately after boot up, I find the drive not at /media/addtionaldrive1
, but at some seemingly random address of "62ae4915-ee29-414e-a684-fc700064d952"
This is annoying as it breaks file references to that drive (it has my virtual machine images). Any idea what the problem is? Reboot generally solves, it's not a very nice solution though.
edit:here is the fstab file:
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext4 errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
/dev/sdb1 /media/additionaldrive1 ext4 defaults 0 2
You can prevent this from happening by using UUID in place of device paths.
Your fstab should look something like
You can find out details at https://help.ubuntu.com/community/Fstab
and a guide on how to set this up at http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/