oriharel
Posts: 1
Joined: Sun Mar 13, 2016 8:24 pm

mount -a at boot

Sun Mar 13, 2016 8:30 pm

Hi,
I want to mount a network share drive (located on an Ubuntu server, served with samba server). In the terminal I use

Code: Select all

sudo mount -a
I have /etc/fstab set up correctly (the mount works).
The problem is that when I reboot, the mount goes away and I need to do it manually each time. How can I set it up after boot? I probably want something that happens after the network is up.

Thanks.

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: mount -a at boot

Mon Mar 14, 2016 3:18 am

Try setting the "Wait for Network at Boot" option in raspi-config.

Code: Select all

sudo raspi-config
Set it to slow boot, wait for network

Return to “Raspberry Pi OS”