Having some issues with steam library

Hi there, i did put an initial mesage in the general chat for bazzit but it got massively overshadowed by arguments lol. I added my second drive to my system as described in the documentation here https://universal-blue.discourse.group/docs?topic=970 Im now trying to add that location to my steam library folders so it installs to that mount point, but when i try and add it to it, it for some reason adds it as /var Im most likely doing something incorrect but hoping i can get some support for this?
Universal Blue
Auto-Mounting Secondary Drives
Thanks, I fixed it now.
Solution:
In summary the solution was as follows: * There were two mappings for the /var/mnt/games folder in the /etc/fstab folder * This was probably caused by the drive being previously formatted as an NTFS partition. * This appears to be preventing Steam from seeing the other drive...
Jump to solution
50 Replies
wolfyreload
wolfyreloadā€¢6mo ago
Yes, things can get a little heated in the chat rooms šŸ˜… . lets just doublecheck your permission on your mount point please run a ls -l /mnt for me and send over the output
KaZaK
KaZaKOPā€¢6mo ago
thanks wolfy ill run that now
luke@DESKTOP-0TB9HH8:~$ ls -l /mnt
lrwxrwxrwx. 4 root root 7 May 25 20:35 /mnt -> var/mnt
luke@DESKTOP-0TB9HH8:~$ ls -l /mnt
lrwxrwxrwx. 4 root root 7 May 25 20:35 /mnt -> var/mnt
Also ta for helping the other day, i stupidly didnt read the docs when installing all this and realised 100% of the questions and issues i had was due to me not reading šŸ˜„
wolfyreload
wolfyreloadā€¢6mo ago
sorry let's try ll /var/mnt I keep forgetting that Bazzite puts mounts in a different place. šŸ™‚ And no problem
KaZaK
KaZaKOPā€¢6mo ago
luke@DESKTOP-0TB9HH8:~$ ll /var/mnt
total 0
drwxr-xr-x. 1 luke luke 56 May 28 11:57 games
luke@DESKTOP-0TB9HH8:~$ ll /var/mnt
total 0
drwxr-xr-x. 1 luke luke 56 May 28 11:57 games
wolfyreload
wolfyreloadā€¢6mo ago
Permissions looks good
KaZaK
KaZaKOPā€¢6mo ago
i think it has something to do with the fact theres an existing library in steam on
/var/home/luke/.local/share/steam
/var/home/luke/.local/share/steam
wolfyreload
wolfyreloadā€¢6mo ago
In steam try the "Let me choose another location" option and make a SteamLibrary folder in /var/mnt/games
No description
KaZaK
KaZaKOPā€¢6mo ago
ah okay where is that option exactly im guessing its not storage right?
wolfyreload
wolfyreloadā€¢6mo ago
It's in Storage when you select Add drive
KaZaK
KaZaKOPā€¢6mo ago
ah okay so i add that and it doesnt do anything weirdly what it did do before is add /var as a library im wondering if a reinstall of steam might help?
wolfyreload
wolfyreloadā€¢6mo ago
If you click on Add, it will give you a browser where you can select the path that you want
No description
KaZaK
KaZaKOPā€¢6mo ago
Yeh thats what ive been doing i go to storage, then add drive, brings up the file browser, i select /var/mnt/games
wolfyreload
wolfyreloadā€¢6mo ago
And if you make a folder in /var/mnt/games e.g. SteamLibrary, does that work? Not every app likes being in the root folder of a drive
KaZaK
KaZaKOPā€¢6mo ago
Yeh i did attempt that before, that also doesnt seem to work
wolfyreload
wolfyreloadā€¢6mo ago
If you like I can record a quick video and we can see if the if anything is missed in the steps
KaZaK
KaZaKOPā€¢6mo ago
https://steamcommunity.com/discussions/forum/1/1736588252383879184/ so i read this before which indicated to me its because theres an existing steam library on that drive, or rather on the
/var/home/luke/.local/share/steam
/var/home/luke/.local/share/steam
KaZaK
KaZaKOPā€¢6mo ago
okay ill record a vid two secs
KaZaK
KaZaKOPā€¢6mo ago
KaZaK
KaZaKOPā€¢6mo ago
oh woops, forgot the /var at the beginning , two secs
KaZaK
KaZaKOPā€¢6mo ago
KaZaK
KaZaKOPā€¢6mo ago
there we go, but it still did the same problem youll also notice the /var there, not sure how to get rid of that in the drop down
wolfyreload
wolfyreloadā€¢6mo ago
yeah I saw, that, try select it, then select the ... and the then select the Remove Library option. I think that the /var is confusing it
KaZaK
KaZaKOPā€¢6mo ago
i didnt see that option before šŸ˜„ ill try now okay tried adding it back in after it getting removed, selecting the Steam folder inside /var/mnt/games makes that /var option appear again, i removed and then added in just /var/mnt/games/ and /var/mnt/games but neither appear
KaZaK
KaZaKOPā€¢6mo ago
wolfyreload
wolfyreloadā€¢6mo ago
It's working. Just select the Rename Library option
No description
KaZaK
KaZaKOPā€¢6mo ago
AH goddamnit šŸ˜‚
wolfyreload
wolfyreloadā€¢6mo ago
No clue why it decided to call it /var
KaZaK
KaZaKOPā€¢6mo ago
Do i ignore the free space thing then? cause its a 1.8TB drive i added or rather mounted
wolfyreload
wolfyreloadā€¢6mo ago
Make it the Default with "Make Default" install a game and check that it goes to the right place It's probably showing the space of your main drive instead of the mounted drive for some reason
KaZaK
KaZaKOPā€¢6mo ago
okay trying that now Okay i have an issue when i select a game larger then 122GB, it wont install as it doesnt have enough space hold on
wolfyreload
wolfyreloadā€¢6mo ago
Maybe close steam and open it again. It might be confusing itself
KaZaK
KaZaKOPā€¢6mo ago
okay will try that okay so library dissapeared and now i cant add it again okay should i try unmounting, and starting everything from scratch?
wolfyreload
wolfyreloadā€¢6mo ago
Maybe but lets first have a look at your fstab file cat /etc/fstab
KaZaK
KaZaKOPā€¢6mo ago
luke@DESKTOP-0TB9HH8:~$ cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat May 25 19:40:44 2024
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=2255302b-ae13-4bf3-bc9d-b73b4e80bc7e /boot ext4 defaults 1 2
UUID=D7FF-2A51 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=f73f72e3-62c3-4dae-998f-3778cad4ab67 /var/mnt/games ext4 noatime,errors=remount-ro,nofail,rw,exec,noatime 0 0
UUID=7fa408d3-3ef2-4f24-89f1-21b439bfd4c7 /var/mnt/games ext4 defaults,noatime,errors=remount-ro,nofail,rw,exec,noatime,users 0 0
luke@DESKTOP-0TB9HH8:~$ cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat May 25 19:40:44 2024
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=2255302b-ae13-4bf3-bc9d-b73b4e80bc7e /boot ext4 defaults 1 2
UUID=D7FF-2A51 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=f73f72e3-62c3-4dae-998f-3778cad4ab67 /var/mnt/games ext4 noatime,errors=remount-ro,nofail,rw,exec,noatime 0 0
UUID=7fa408d3-3ef2-4f24-89f1-21b439bfd4c7 /var/mnt/games ext4 defaults,noatime,errors=remount-ro,nofail,rw,exec,noatime,users 0 0
theres two entries there with different uuids
wolfyreload
wolfyreloadā€¢6mo ago
ummm yeah, that would be a problem
KaZaK
KaZaKOPā€¢6mo ago
šŸ˜„ shall i unmount it in kde, remove those entries in fstab?
wolfyreload
wolfyreloadā€¢6mo ago
try a sudo umount /var/mnt/games then remove the mounts from kde partition manager then lets have a look at your fstab file again
KaZaK
KaZaKOPā€¢6mo ago
okay so ive ran umount, gone to kde, what should i do in there? the drives empty so i dont mind a full wipe and clean format
wolfyreload
wolfyreloadā€¢6mo ago
You want to remove the mount points
KaZaK
KaZaKOPā€¢6mo ago
Okay so ive done that, this is my fstab file now
luke@DESKTOP-0TB9HH8:~$ cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat May 25 19:40:44 2024
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=2255302b-ae13-4bf3-bc9d-b73b4e80bc7e /boot ext4 defaults 1 2
UUID=D7FF-2A51 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=f73f72e3-62c3-4dae-998f-3778cad4ab67 /var/mnt/games ext4 noatime,errors=remount-ro,nofail,rw,exec,noatime 0 0
UUID=7fa408d3-3ef2-4f24-89f1-21b439bfd4c7 /var/mnt/games ext4 defaults,noatime,errors=remount-ro,nofail,rw,exec,noatime,users 0 0
luke@DESKTOP-0TB9HH8:~$ cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat May 25 19:40:44 2024
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=2255302b-ae13-4bf3-bc9d-b73b4e80bc7e /boot ext4 defaults 1 2
UUID=D7FF-2A51 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=85a6fa76-3148-43fa-9c53-7c773e400909 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=f73f72e3-62c3-4dae-998f-3778cad4ab67 /var/mnt/games ext4 noatime,errors=remount-ro,nofail,rw,exec,noatime 0 0
UUID=7fa408d3-3ef2-4f24-89f1-21b439bfd4c7 /var/mnt/games ext4 defaults,noatime,errors=remount-ro,nofail,rw,exec,noatime,users 0 0
i did run a systemctl daemon-reload Okay i got it fixed @wolfyreload , i basically manually edited the fstab, wiped the partition, made sure everything was from scratch and did each step carefully, rebooted, went to steam and voila it was there in all its size i reckon the duplicate entries in fstab was causing issues user error for sure
wolfyreload
wolfyreloadā€¢6mo ago
I think I know what happened. You had the drive before. It was an ntfs drive. Then I told you to format it to ext4. Then you ended up with two drives. One real and one fake
KaZaK
KaZaKOPā€¢6mo ago
Ohhh yeh that could be it šŸ˜„ oh well, whatever the problem was its sorted now
wolfyreload
wolfyreloadā€¢6mo ago
Before you celebrate install a game there and see that it works
KaZaK
KaZaKOPā€¢6mo ago
Yeh guna give that a go now its reserving space....downloading runtimes....and now its downloading the game ill check the folder
wolfyreload
wolfyreloadā€¢6mo ago
Sounds very promising
KaZaK
KaZaKOPā€¢6mo ago
yeh we're good its working šŸ™‚ now to reinstall my games to that drive, thanks for the help thank god for gigabit internet šŸ˜„
wolfyreload
wolfyreloadā€¢6mo ago
Does this sound about right?
Solution
wolfyreload
wolfyreloadā€¢6mo ago
In summary the solution was as follows: * There were two mappings for the /var/mnt/games folder in the /etc/fstab folder * This was probably caused by the drive being previously formatted as an NTFS partition. * This appears to be preventing Steam from seeing the other drive * The solution was manually remove both /var/mnt/games entries in /etc/fstab * Then restart the machine and re-add the drive in KDE partition manager * Now steam is detecting it as another drive correctly
KaZaK
KaZaKOPā€¢6mo ago
Yep thats exactly right
wolfyreload
wolfyreloadā€¢6mo ago
Cool. Now lets just hope the games work šŸ™‚ Please mark the above as the answer
Want results from more Discord servers?
Add your server