Before we get started, make sure you have the app "Flatseal" installed. You can install it with this command, if you don't already have it:
flatpak install com.github.tchx84.Flatseal
Drauger OS 7.7 and older do not ship with Flatseal preinstalled, so please double check if you have it!
Secondly, please install the package arch-install-scripts
:
sudo apt install arch-install-scripts
Finally, please make sure your games drive is formatted in a Linux-native filesystem, such as EXT4 or BTRFS, as Proton often has problems with NTFS drives, and many games cannot be stored on FAT32/exFAT drives at all.
In order for this drive to work reliably with Steam, it needs to be setup to automount. To do that, first, make a folder where you would like to access this drive. Since this is for a games drive, we will put it under our home directory, in a folder named "Games":
mkdir ~/Games
Next, mount the drive under that directory. Here, we will assume that drive is /dev/sdb
, and it has a single partition:
sudo mount /dev/sdb1 ~/Games
Next, we will use the genfstab
command to update our FSTAB file. This will automatically have the drive we just mounted auto-mount at every reboot. First, test and make sure nothing is being removed that needs to be mounted:
genfstab -U / | grep -vE "loop|portal" | sed -z 's/\n\n\n//g'
Please read the output carefully, as the command provided above is automatically going to remove entries from your FSTAB that don't need to be there, as well as wasted empty lines.
If everything you need is there, make a backup of your old FSTAB:
sudo cp /etc/fstab /etc/fstab.bak
Then make the new one:
genfstab -U / | grep -vE "loop|portal" | sed -z 's/\n\n\n//g' | sudo tee /etc/fstab
With Flatseal installed, open it, and scroll down the panel on the left until you see Steam. Click on it. This will give you access to controlling all of Steam's permissions.
Scroll down until you get to the "Filesystem" section. Then, click the "Add" icon (circled in red below).
Then, in the empty text box that pops up (circled in yellow above), type in where you have your new drive mounted (in our case, ~/Games).
Once you see the Yellow triangle to the left turn in to a diamond (depending on your theme, this may be red, blue, or some other color), you can close Flatseal.
If you had Steam open before, close it completely, and relaunch it. Otherwise, open Steam now, and navigate to your Steam Settings:
Once Steam Settings, go to Storage, click the drop drown, the click "Add Drive" and add your drive!