You are not logged in.
Hi there,
I have an external hard drive that I'd like to automount when I plug it in. Sometimes it seems to work, but other times I have to manually mount it. In order to make this a little easier, I copied the mounting info into my fstab file so that I could just run:
mount /dir/to/mount
However, now I can't actually boot up my machine unless the external drive is plugged in. I get some error from systemctrl saying one of the drives couldn't be loaded.
An obvious work around would be to write a one line script that mounts the drive for me, however, I'd like to learn how to do this correctly. I think the rules have changed a bit with systemd, as I didn't have this problem a few years ago.
Thanks for the help!
Last edited by B-80 (2015-05-17 08:14:08)
Offline
Add "nofail" to the options section.
EDIT: ...in /etc/fstab
Last edited by Head_on_a_Stick (2015-05-16 22:48:29)
Offline
devmon/udiskie/similar
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Add "nofail" to the options section.
EDIT: ...in /etc/fstab
Thanks for the answer, that fixed it.
Offline
Head_on_a_Stick wrote:Add "nofail" to the options section.
EDIT: ...in /etc/fstab
Thanks for the answer, that fixed it.
You're welcome but I think Mr.Elendig's post gives the actual solution (my proposal is just a workaround -- using fstab for a filesystem that is not permanently attached is sub-optimal)
Offline