Local Drive appears as two libraries in Steam
I'm trying to Dual Boot Windows and Bazzite with the winbtrfs driver as instructed by the wiki. And set it all up mostly going by a video made by "Mike's Tech Tips" and now I have a BTRFS partition on my drive that is automatically mounted to bazzite, and has a SteamLibrary folder with one game (said game being installed by Windows for testing purposes). But Steam keeps adding the drive twice, once the proper SteamLibrary folder, and once the root of the drive itself, thereby creating a steamapps folder and libraryfolder.vdf file in the same directory as the SteamLibrary folder. That wouldn't bother me much if it wasn't that each time I try to install something they both look the same.
I tried removing it by using the "Remove Library" button, I tried deleting the folder and files corresponding to the unwanted Library, and I also tried edditing the "libraryfolders.vdf" of Steam itself, but after a reboot the library keeps coming back
Is there some other way to get rid of this?
It's probably not relevant, but I am on NVIDIA drivers, due to my mistake of receiving an NVIDIA card from a friend for cheap
16 Replies
Sounds more like a Steam bug than an nvidia issue. If I have an SD card connected it shows up twice in Steam for me. Does the game work though?
Is your SteamLibrary folder in the root of the partition or in a subfolder? If it's in a subfolder that might be why it's showing the drive twice
It's in the root of the partition
The mountpoint should be
/run/media/FENRIR
And the SteanLibrary folder is
/run/media/FENRIR/SteamLibrary
I have tested two games so far and they seem to be working. It's just bothersome having to remove that extra library each time I wanna install a game because otherwise I don't know which library is the right one since they are both written as /run/media/FENRIR
Could we have a look at your fstab file
cat /etc/fstab
and the output of the mount
command? It's a bit odd that your mount points are in /run/media/x rather than /var/mnt/xSmall correction, it's /run/media/bazzite/FENRIR
But yeah, let me grab them
Although what output of the mount command is meant here? I have not used the mount command, the drive was mounted automatically by bazzite without my involvement. I wanted to do it myself but the Docs for bazzite mentioned that doing it yourself is not recommended anymore since automount was implemented
I was wondering if the device is somehow getting double mounted.
Dolphin also only mentions the drive once
The Internal Drive at the top is Wiindows
The Basic Data partition is another NTFS partition that I have on the same drive as Fenrir
bazzie-deck-nvidia_fedora is bazzite itself (separate drive from Windows)
And then there's FENRIR

I do have two partitions on that drive that are both getting mounted. Could it be related to that?
Maybe I should avoid the automount and just make a proper fstab entry using /var/mnt/
if this is permanently mounted media, I wouldn't rely on the automount that is used for SD cards.
I would remove both libraries from your Steam settings then make sure only one is added back in via desktop mode
Okay
Then i might also suggest changing this part of the docs since to me it suggests I should be using automount with non-removable drives since there's no section anywhere for how one should permanently mount secondary drives? I mean maybe this is also me having problems due to language barrier
But yes I will immediately attempt that change of mounting it permanently

wait for that to take over 😛
I give old and potentially bad advice when I am not aware of all the changes
To be fair, I'd rather make a permanent mount myself than trust an auto-mount like this
I just thought "It's probably recommended for a reason"
So it is adding /var/mnt/FENRIR/SteamLibrary
But also /var/mnt/FENRIR even though I only added the one I wanted of those two on the last reboot
I'm gonna try removing it again and rebooting
you may need to edit
libraryfolders.vdf
by handThat is technically one of the things I already did but it probably changed now because it's not auto-mount anymore
Okay just removing it did not work, so time to get my hands on libraryfolders.vdf
Stopped Steam, edited it by hand, even found out that there are two of them and edited the second one the same way
Checked that it was gone in Steam, rebooted, library returned anyway
Okay so after re-doing this, by first removing the drive in Steam, and then checking the libraryfolders.vdf (which at that point didn't even list that library anymore) and then also removing all excess library like the one for /run/media/bazzite/FENRIR, I was finally able to actually make the unwanted library disappear
Thank you very much for the help, even if this appears to be more of a Steam issue
yeah, it's a Steam thing not Bazzite. once Steam gets a whiff of a game drive, it'll latch on
and what makes matters worse is that game mode and desktop mode mount them in slightly different ways
drive/steamapps/
versus drive/SteamLibrary/steamapps/
by defaultYeah
I did also remove the steamapps folder and libraryfolder.vdf from the root of FENRIR this time, so that only the one in FENRIR/SteamLibrary remained