Introduction: Assigning Multiple Drives to Steam on Linux
So I moved one of my work machines home and since i don't really need any of the windows applications i permanently switched over to the Ubuntu installation(was a dual boot setup).
Now a few months later i need some extra space for my Steam games. So decided to install them on the old windows partition.
Those of you who are in the same boat already know that NTFS partitions(or most non ext4 partitions) don't auto mount by default..
so here is a culmination of my figuring out how to do that....
and get Steam to use the NTFS partition as the directory for downloading and installing games.
I believe that this can also be used to mount external hard drives.. though you'll need to leave them plugged in at all times to avoid problems.
Note: The instructions below was culled from several forum posts, which will be mentioned and linked at the end.
Step 1: View All Partitions on Your System
1) Hit Ctrl – Alt – T on your keyboard to open Terminal. When terminal opens, run the commands below to view all partitions on your system. The drive should already be attached to your Ubuntu machine.
you should see something like the image above
in my case I need to automount the two NTFS drives named "ReactorCore" and "Rehoboth" so from now on wherever you see those names, replace them with your drive labels
Step 2: Make a Note of Your Drive IDs
2) You need to note down the UUID(Drive Id)in my case its
10B062CCB062B83C for Reactorcore
7E02626002621E01 for Rehoboth
(you can drag to select and copy it out of the terminal and into a notepad or wherever)
Step 3: Edit the Fstab File
3) Go back to the Terminal and run
sudo gedit /etc/fstab
this opens the fstab file.
which should look like this without any entries for your ntfs partitions
Scroll to the bottom and add the following entries for your drives
UUID=10B062CCB062B83C /mnt/reactor ntfs-3g defaults,locale=en_US.utf8 0 0
Note: the UUID is what tells linux which drive to mount, and the name "reactor" is the name it will show up under.. it can be anything you like.
So my fstab file now looks like the second image
4) Save the file and close it. Terminal may have some messages, its ok.. either close that terminal and start a new one or continue in the same.
Step 4: Create Mount Points
5) run the commands below to create the mount point you specified in the fstab file.
sudo mkdir /mnt/reactor
In my case i did this again for the second drive "rehoboth" as well
6) Make yourself "owner" of the mount point by running the commands below
sudo chown chaitanyak /mnt/reactor
Replace "chaitanyak" with your username, and "reactor" with your mount name
again, do this for all the drives you are mounting.
Step 5: Restart and See If It Worked
7) Restart your computer and go to /mnt to access the drives.
you can drag them to the side panel to create bookmarks for easier access
Step 6: Configure Steam Library Folders
8) Launch Steam, in the top menu
click "steam" and go to settings.
now on the side menu click "downloads"
and you'll see the "Steam Library Folders" button
Step 7: Add a New Folder
9) now you see this.. a list of the folders on various drives.. in your case it will probably just be the first one..
click the "Add Library Folder" to add one of your newly added drives..which will show up under "mnt" as seen in the images..
select the drive and click "new folder"
Step 8: Set the Default Folder
that creates the folder.. now back in the folder list, you can right click and set it as the default one.
Thats it! happy gaming!
Participated in the
Hack Your Day Contest
Participated in the
Digital Life 101 Challenge
5 months ago on Step 5
Cool my machine won't boot now. Any tips?
Reply 5 months ago
Try using a live usb to .. 🤷♂️🤦♂️ edit your fstab file back to the way it was?
And then try a different method than in this instructable..
Reply 5 months ago
Really sorry about the trouble your having.