Trying to install steam to different disk + use firejail

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post please read how to get help
Post Reply
shima-pan
Level 1
Level 1
Posts: 8
Joined: Sat Aug 18, 2018 9:14 pm

Trying to install steam to different disk + use firejail

Post by shima-pan » Thu Aug 23, 2018 11:27 am

Hi, so I found this guide http://jorisvr.nl/article/steam-firejail-debian on using steam with firejail, which seems simple enough. My problem is I need to install it to a different HDD because my SSD is small. I know you can change steam's directory for games but I am assuming that running firejail with --private it will not be able to locate directories outside of its box..

So I guess my question is how I should go about this? Is there some command in firejail I can use to allow it access to only one folder on seperate HDD, or would it make more sense to just install the whole package to something like HDD/steam and run it from there with firejail? If so how would I point firejail to programs on another disk?

This stuff might be obvious to other people but this is all still quite new to me so I could really use some help :? Thanks for reading

jschandi
Level 1
Level 1
Posts: 7
Joined: Wed Mar 07, 2018 10:46 pm

Re: Trying to install steam to different disk + use firejail

Post by jschandi » Fri Aug 24, 2018 1:07 am

Hi.
First things first, your HDD has to be either ext4 or ntfs. (This won't work for fat32.)

The procedure is simple enough. Just use the --private option for firejail to point to the HDD directory.

1. Make the directory in the HDD.
2. Run the firejail command with the --private=PATH-TO-DIRECTORY-IN-HDD
3. Run the commands as stated on the webpage.

I followed the procedure on a pendrive with no errors.

Hope you get it running.
Happy gaming.
JSChandi

Post Reply

Return to “Gaming on Linux Mint”