I have a laptop that spends 90% of it’s time on a single network, and a server with several shares where I store files, like pictures.
For example I have my fstab configured with this line:
//192.168.224.45/Pictures /home/jediwan/Pictures cifs credentials=/home/jediwan/.smbcredentials,uid=1000,gid=1000,x-systemd.automount 0 0
And it works great as long as I’m on the same network. But if I’m not on my main network the PC struggles to load GNOME and eventually crashes. What do?
EDIT: Adding nofail
worked
The OS will wait until the mount is successful with these settings, which is why GNOME doesn’t load. Try adding
nofail
to your options. It should continue with the boot process if you are out of the network with that option set. (https://wiki.archlinux.org/title/Fstab#External_devices)Archwiki to the rescue as usual
This did it thank you