Systemd? If so.
Do it similar to this. I just grabbed that from my fstab. as you see it mounts my nfs share after boot, without asking me for my password or anything. If you need credentials, you can do that also, look at the options.
10.10.1.99:/volume1/Backups /mnt/nfs nfs tcp,_netdev,nofail,x-systemd.automount 0 0
I believe I tried the fstab route, but I'll revisit it again later this evening
note the x-systemd and automount parameters.
Is it a network share, or connected to the computer with USB?
Something like this would work for a cifs share adding credentials if you need those to access a share.
//server/share /pathto/mountpoint cifs credentials=/home/username/.smbcredentials,uid=shareuser,gid=sharegroup 0 0
It's sata internal. My old HDD. Mainly used for inactive steam games and media storage
(post is archived)