How to mount a cifs drive at bootup
I've tried adding :
"sudo mount -a"
in the .xintrc file. I boot without a login manager and simply run startx from the cli. The added line line in .xinitrc seems to do nothing. There is no password prompt and the drive in the fstab (cifs type) is not mounted. I can run "sudo mount -a" after i execute startx and everything works fine. I'm trying to find a way to mount the drive automatically at boot
Thanks
Posted Feb 18, 2026, 2:20 AM UTC
23