Need to automatically mount an external network shared folder Linux Mint 18

marceloNYC
marceloNYC used Ask the Experts™
on
Dear experts,

I have a laptop running Linux Mint 18. And I always manually mount an external shared folder when fire up. How do I do this at boot up?

The folder is a shared with an Western Digital external hard drive that has a static IP address. Currently I use the GUI to access.

Thanks!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sr. Systems Administrator
Commented:
you would want to add an entry to /etc/fstab
it would look something like this...

//folder/share /mnt/share cifs <options> 0 0

Open in new window


replace <options> with whatever options you are currently using with mount
replace /mnt/share with whatever the share is mounted to
you can test it with mount -a
if you don't test and it has an error, upon reboot the system might hang (learned the hard way :) )
marceloNYCMiddle-Tier Administrator

Author

Commented:
I had it like this in etc/fstab  

afp://ZuluNASWD.local/Movies/
marceloNYCMiddle-Tier Administrator

Author

Commented:
The credentials should be anonymous.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial