Reply to topic

fstab drives not connected at boot

chrislccc
Registered Member
Posts
1
Karma
0

fstab drives not connected at boot

Fri Oct 16, 2020 1:05 pm
I am using KDE Neon 5.2. I have some NAS drives. In fstab on my laptop, connected wirelessly, I added instructions in /etc/fstab to mount the drives. eg.

Code: Select all
//192.168.1.111/Drive1        /mnt/Drive1    cifs guest,uid=1000,iocharset=utf8,vers=1.0 0 0


If I issue a
Code: Select all
sudo mount -a
these drives get mounted, but they don't get mounted at boot. How can I get them to mount at boot time?

Chris
User avatar Mamarok
Manager
Posts
5018
Karma
13
OS
I guess you mean Neon 5.20


Currently running Kubuntu 20.10 beta, Plasma 5.19.5, Frameworks 5.74.0, Qt 5.14.2, kernel 5.8.0-25
FWIW: it is always useful to state the exact Plasma version and distribution when asking questions in this forum, makes it easier for us to help ...
koffeinfriedhof
Registered Member
Posts
195
Karma
1
OS
Hi,

assuming your Samba-setup is valid (I never used it) you just have to wait for the network to be setup before the mounting works. The easiest way is to add _netdev to your fstab-entry. If this does not work either, set up a systemd-mount-unit.

 
Reply to topic

Bookmarks



Who is online

Registered users: ab, Baidu [Spider], Bing [Bot], claydoh, cmb, DeMus, frantesta, Google [Bot], hagdervriese, KayshiAri, koffeinfriedhof, Marius82, shmu26, Sogou [Bot], Yahoo [Bot]