Steam for Linux

Steam for Linux

Steam storage settings keeps forgetting my secondary drive.
Every time I boot up my Ubuntu machine and go into steam I have to re add my secondary drive for the games to appear installed in my library. Unsure what the issue could be as the drives appear fine on start up in my file explorer.
< >
Showing 1-6 of 6 comments
Cpt_Kopfschmerz 22 Aug, 2024 @ 2:03am 
check if the second drive is in fstab to be loaded on start.
Closed Caption 22 Aug, 2024 @ 10:49pm 
Originally posted by Cpt_Kopfschmerz:
check if the second drive is in fstab to be loaded on start.
Thanks that was the solution for me.
janrahan 23 Aug, 2024 @ 4:05pm 
Originally posted by Cpt_Kopfschmerz:
check if the second drive is in fstab to be loaded on start.
Hi do you have a link for how this is done? I'm new to Linux and having the same issue.
tfk 23 Aug, 2024 @ 4:45pm 
fstab is the configuration file which lists all mount points which are loaded at boot time.

Its located at /etc/fstab

You can edit it using a text editor like nano.

sudo nano /etc/fstab

If you want to connect a drive partition to a mount point, create a folder where you want to access it. For example /home/[user]/games/.

Add a line to fstab.

/dev/sda2 /home/yourusername/games/ ext4 defaults 0 2

Save and test with the following command.

sudo mount -a

If you get errors, don't reboot, first fix the error and re-test.

That's about it.
janrahan 23 Aug, 2024 @ 4:53pm 
Originally posted by tfk:
fstab is the configuration file which lists all mount points which are loaded at boot time.

Its located at /etc/fstab

You can edit it using a text editor like nano.

sudo nano /etc/fstab

If you want to connect a drive partition to a mount point, create a folder where you want to access it. For example /home/[user]/games/.

Add a line to fstab.

/dev/sda2 /home/yourusername/games/ ext4 defaults 0 2

Save and test with the following command.

sudo mount -a

If you get errors, don't reboot, first fix the error and re-test.

That's about it.
Thanks!
tfk 23 Aug, 2024 @ 5:15pm 
Have fun!

Oh yeah. If you need to give yourself access to your drive partition, after mounting just do a chown (change owner) on the folder.

For example:

sudo chmod -R yourusername:yourusername /home/yourusername/games/
< >
Showing 1-6 of 6 comments
Per page: 1530 50