Lutris has issues installing to secondary drive.

System information: Processor: AMD 9800x3d GPU: MSI 4090 Surpim Hydro Motherboard: Gigabyte X670E AORUS MASTER Ram: 96GB Corsair Dominator DDR5 Release: bazzite-nvidia-open-stable Summary: I have two drives, both nvme. I've modified my /etc/fstab to automount the secondary drive at system boot. It is formated btrfs and mounts with defaults with no backup and no fsck order. (defaults 0 0) I've tried installing games like Escape from Tarkov, Genshin Impact, and more to the secondary drive using Lutris. Lutris installs NORMALLY error out with a generic "Installation failed" error unless I let it install to my home directory. I tried setting world RWX on the mount point for that drive and confirmed my user has full permission in the directory to read write and execute. My normal solution to this would be to select lutris in flatseal and grant permission for the flatpak but flatseal doesn't see Lutris at all.
9 Replies
wolfyreload
wolfyreload2w ago
Lutris is layered so you won't find it in flatseal. It's weird that your user has permissions to write to the drive and Lutris does not could we have a look at your fstab file in here?
Black Magix
Black MagixOP2w ago
UUID=7fcd2756-e6cc-4284-975e-084f5c1158b5 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=f6a6b1f5-5e23-45c4-a448-755ec1fe3e9a /boot ext4 defaults 1 2
UUID=C4C7-B6A4 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=7fcd2756-e6cc-4284-975e-084f5c1158b5 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=7fcd2756-e6cc-4284-975e-084f5c1158b5 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=baefc49e-720d-4937-a8c6-bc8a446c2cb7 /run/media/blackmagix/Games/ btrfs defaults 0 0
UUID=7fcd2756-e6cc-4284-975e-084f5c1158b5 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=f6a6b1f5-5e23-45c4-a448-755ec1fe3e9a /boot ext4 defaults 1 2
UUID=C4C7-B6A4 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=7fcd2756-e6cc-4284-975e-084f5c1158b5 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=7fcd2756-e6cc-4284-975e-084f5c1158b5 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=baefc49e-720d-4937-a8c6-bc8a446c2cb7 /run/media/blackmagix/Games/ btrfs defaults 0 0
and to confirm permissions
Black Magix
Black MagixOP2w ago
No description
Black Magix
Black MagixOP2w ago
any ideas?
asen23
asen232w ago
use the option from docs
Black Magix
Black MagixOP2w ago
can you clarify that?
asen23
asen232w ago
https://docs.bazzite.gg/Advanced/KDE_Partition_Manager_Auto_Mount_Guide/#btrfs if you want to use your own option the important one is exec
KDE Partition Manager Auto Mount Guide - Bazzite Documentation
Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices.
Black Magix
Black MagixOP6d ago
No change. Every installer is erroring out
File "/usr/lib/python3.13/site-packages/lutris/util/jobs.py", line 30, in target
result = self.function(*a, **kw)

File "/usr/lib/python3.13/site-packages/lutris/installer/interpreter.py", line 322, in dispatch
prev_cwd = os.getcwd()

FileNotFoundError: [Errno 2] No such file or directory
File "/usr/lib/python3.13/site-packages/lutris/util/jobs.py", line 30, in target
result = self.function(*a, **kw)

File "/usr/lib/python3.13/site-packages/lutris/installer/interpreter.py", line 322, in dispatch
prev_cwd = os.getcwd()

FileNotFoundError: [Errno 2] No such file or directory
If I leave it to install in my home directory it works perfectly. The install location is /run/media/blackmagix/Games/ (as seen in the fstab above)
Eternal_Hunter
Hmm, you could try changing the fstab mounting to the usual /mnt/createdirname instead. You'll need to sudo mkdir that mountpoint, but that's it.

Did you find this page helpful?