You are not logged in.

#1 2025-03-16 20:29:40

MistaSteel28
Member
Registered: 2025-03-16
Posts: 5

[SOLVED]Steam will not allow 2nd drive to be added

I was able to add the drive previously and it's permanently added in fstab, I did a clean install of steam after having another issue (which is now solved due to the clean install) but now steam wont allow the drive to be added when It can be seen and I have full ownership of the drive (/run/media/username/2TB-HDD/) unless i need to some how give steam permission, using steam console "library_folder_add /run/media/username/2TB-HDD/Steam/steamapps/" outputs "Failed mounting that path!" I am forgetting something but I don't know what.

Last edited by MistaSteel28 (2025-03-19 23:21:49)

Offline

#2 2025-03-16 23:18:54

cryptearth
Member
Registered: 2024-02-03
Posts: 1,395

Re: [SOLVED]Steam will not allow 2nd drive to be added

which version of steam? multilib/steam? multilib/steam-native-runtime? flatpak?
what FS is the partition you try to use? ext4? xfs? btrfs? zfs?

Offline

#3 2025-03-16 23:30:07

MistaSteel28
Member
Registered: 2025-03-16
Posts: 5

Re: [SOLVED]Steam will not allow 2nd drive to be added

I am using multilib/steam with an ext4 partition

Offline

#4 2025-03-17 11:45:12

cryptearth
Member
Registered: 2024-02-03
Posts: 1,395

Re: [SOLVED]Steam will not allow 2nd drive to be added

can you please try this:
run "steam" (without parameters) from terminal and try to add a new folder via the graphical settings
see if you get any error message (either as popup or as console log)
post the entire output
also: please post at least a "ls -alFh" and "stat" of the folder you like to add - maybe it could a permission issue
also: is the folder empty or does it contain data? does it contain a "steamlibraryfolder.vdf"?

Offline

#5 2025-03-17 21:53:44

MistaSteel28
Member
Registered: 2025-03-16
Posts: 5

Re: [SOLVED]Steam will not allow 2nd drive to be added

drwxr-xr-x 4 root   root     80 Mar 17 16:17 ./
drwxr-xr-x 3 root   root     60 Mar 17 16:17 ../
drwxrwxrwx 4 username username 4.0K Mar 17 16:22 2TB-HDD/
Couldn't write /boot/.steam_exec_test.sh: Permission denied
sh: line 1: /run/media/username/2TB-HDD/.steam_exec_test.sh: Permission denied
Failed system("/run/media/username/2TB-HDD/.steam_exec_test.sh") in execute test: 32256
sh: line 1: /run/media/username/2TB-HDD/Steam/.steam_exec_test.sh: Permission denied
Failed system("/run/media/username/2TB-HDD/Steam/.steam_exec_test.sh") in execute test: 32256
  File: Steam
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 8,17    Inode: 48234497    Links: 3
Access: (0755/drwxr-xr-x)  Uid: ( 1000/  username)   Gid: ( 1000/  username)
Access: 2025-03-17 16:22:06.529769758 -0500
Modify: 2025-03-17 16:43:46.727034330 -0500
Change: 2025-03-17 16:43:46.727034330 -0500
 Birth: 2025-03-17 16:22:06.529769758 -0500

the folder is empty
but it is giving permission denied
no steamlibraryfolder.vdf located
ps: sorry for the long response time but i have work

Last edited by MistaSteel28 (2025-03-18 10:04:11)

Offline

#6 2025-03-18 03:04:17

cryptearth
Member
Registered: 2024-02-03
Posts: 1,395

Re: [SOLVED]Steam will not allow 2nd drive to be added

please use code-tags for console output

Couldn't write /boot/.steam_exec_test.sh: Permission denied
sh: line 1: /run/media/username/2TB-HDD/.steam_exec_test.sh: Permission denied

that looks wrong
I mean - it's right you don't have write access to /boot without root elevation - but why the hell would steam even try that?
please post your /etc/fstab and output of "mout" (without parameters) - I have the suspicion you have mounted the partition multiple times

Offline

#7 2025-03-19 00:51:18

MistaSteel28
Member
Registered: 2025-03-16
Posts: 5

Re: [SOLVED]Steam will not allow 2nd drive to be added

 # Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p2
UUID=8cb807aa-4803-4e45-b337-2614d582b18a       /               ext4            rw,relatime     0 1

# /dev/nvme0n1p1
UUID=BF23-698C          /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro   0 2

# /dev/sdb1
UUID=a08b4d4f-2765-440c-aa13-29d394835d86 /run/media/username/2TB-HDD ext4 errors=remount-ro,defaults,users,noatime,nodiratime,nofail 0 2
 proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=15926832k,nr_inodes=3981708,mode=755,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/nvme0n1p2 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=41,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=9442)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/credentials/systemd-journald.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/credentials/systemd-resolved.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
tmpfs on /run/credentials/systemd-networkd.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=15972160k,nr_inodes=1048576,inode64)
/dev/nvme0n1p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
/dev/sdb1 on /run/media/username/2TB-HDD type ext4 (rw,nosuid,nodev,noexec,noatime,nodiratime,errors=remount-ro)
tmpfs on /run/credentials/getty@tty1.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=3194428k,nr_inodes=798607,mode=700,uid=1000,gid=1000,inode64)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) 

Here are the things you requested, I thank you for all of this help, I wonder if i fat fingered something when making the fstab, the thing that gets me is it was originally working too before I uninstalled and re installed it. again I thank you a lot for this assistance!

Offline

#8 2025-03-19 23:15:14

MistaSteel28
Member
Registered: 2025-03-16
Posts: 5

Re: [SOLVED]Steam will not allow 2nd drive to be added

ISSUE RESOLVED!!!! all i needed to do was add exec to the end of my string

 UUID=a08b4d4f-2765-440c-aa13-29d394835d86 /run/media/username/2TB-HDD ext4 errors=remount-ro,defaults,users,noatime,nodiratime,nofail,exec 0 2

thank you for your assistance!

ps The error messages indicate that Steam is trying to execute a script

(.steam_exec_test.sh)

on my second drive

(/run/media/username/2TB-HDD)

, but it's being denied permission.

Last edited by MistaSteel28 (2025-03-19 23:21:13)

Offline

Board footer

Powered by FluxBB