Mount a Network Drive on a Raspberry Pi

This has been tested on Jessie with the PIXEL Desktop. I haven’t tested it in previous versions. ┬áSubstitute the IP address in fstab and the share name, as appropriate!

# Make a directory in /mnt
sudo mkdir /mnt/DataDisk

# Edit fstab:
sudo nano /etc/fstab

# Add a line with a similar format as below
// /mnt/DataDisk cifs guest,iocharset=utf8,_netdev,x-systemd.automount 0 0

# Reboot and check that things mount OK after a reboot
sudo shutdown -r now


Leave a Reply

Your email address will not be published.