Auto-mount windows share on boot - manual OK, auto not ok!
Dear All,
Apologies if I am missing important details - I am very new at this.
I am trying to mount a windows network share on boot, with little luck. Mounting manually (with mount -t) works fine, so I added a line to fstab. Forcing a remount with mount -a also works fine (although there is an odd error "[mntent]: warning: no final newline at the end of /etc/fstab")
However, when I reboot, the network share does not auto-mount.
I tried adding "sudo mount -a" to rc.local, but no improvement.
Oddly, I was intending to use smb4k, but although the "remount on restart" option was selected, it also failed on reboot!
I like the explanation of not being able to mount until the network has started up, but that does not explain the failure of rc.local, right?
If nothing else, could someone please advise on what logs to check for messages?
Thank you in advance for your help!
|