Can't Auto-Mount Disks or Set Install Directory As Existing One

So I recently installed Bazzite and have the basic setup done, but I'm not able to properly auto-mount my disks or set my library directory to be the one I already have set up. Under System Settings I set all my disks to auto-mount but I still have to enter my password to mount my second NVMe drive every time I reboot. The Help Center isn't of any help either as it seems to be broken, it's transparent and moving it around creates after-images inside the window where the documentation is supposed to be shown. Steam also doesn't allow me to set my existing Steam Library as the install directory, when I select it in Storage Settings and hit OK it doesn't do anything. I'm guessing having my drives auto-mount is important for this to work but it might be something else. What else do I have to do to get it to auto-mount and how can I have a shared library between Windows and Bazzite?
No description
No description
Solution:
"UUID=0AC2-87CB /var/mnt vfat nofail,umask=0077,shortname=winnt " Did you change the wrong line? that's supposed to be /boot/efi...
Jump to solution
85 Replies
AGuyWhoPlaysGames
Correction: Both my NVMe drives will not auto-mount.
CheckYourFax
CheckYourFax4d ago
It's the auto mount generator did you disable that? Also, running games on NTFS filesystem is not supported. We support Btrfs and Ext4 only. NTFS doesn't support all the filesystem features required, and you will eventually run into issues
AGuyWhoPlaysGames
I don't think so? Is that the auto-mount settings I screenshotted or something else?
CheckYourFax
CheckYourFax4d ago
No ujust disable-automounting We have an udev rule generator
AGuyWhoPlaysGames
Okay, I'll try disabling it after dinner.
CheckYourFax
CheckYourFax4d ago
If you run games from NTFS drives, no support will be given. Just a warning
AGuyWhoPlaysGames
Do I need to make a partition with one of those filesystems to act as my game library in order to share it between Linux and Windows?
CheckYourFax
CheckYourFax4d ago
You can use WinBtrfs on Windows as game storage Though there's not many people who use it, requires some work to set up, and only little support can be given but its infinitely better than using NTFS on linux
CheckYourFax
CheckYourFax4d ago
Mike's Tech Tips
YouTube
How to set up a shared btrfs partition for sharing games between Wi...
In this video we'll be looking at how to create a shared btrfs partition for sharing our Steam game library between Bazzite and Windows. Timestamps 00:00 Introduction 00:48 Creating our shared btrfs partition in GParted 01:40 Installing WinBtrfs 02:32 WinBtrfs Secure Boot work around 03:16 WinBtrfs permission configuration 05:10 Hiding your Baz...
AGuyWhoPlaysGames
Alright, I'll give that a try then.
CheckYourFax
CheckYourFax4d ago
Follow the guide closely and it should work fine
AGuyWhoPlaysGames
Gonna eat dinner now but I'll see if those help. Both drives are still unmounted on boot and require me to put in my password.
CheckYourFax
CheckYourFax4d ago
can you post your fstab here sudo cat /etc/fstab | fpaste the automount generator should automount your Btrfs partition but it has to be labeled
AGuyWhoPlaysGames
Also I'm on KDE Plasma and not Gnome so I'm not sure how to create the new partition. I'm assuming with KDE Partition Manager but the "New Partition" option is greyed out.
CheckYourFax
CheckYourFax4d ago
Yes, KDE Partition Manager If you need to shrink your NTFS partition, use Windows for that More reliable less chance of total filesystem corruption
CheckYourFax
CheckYourFax4d ago
ext4 is not a valid mount option for ntfs lol you're lucky you got nofail in there otherwise you would've gotten in emergency mode I still recommend against auto mounting NTFS drives unless you're using them actively for media and file copying, but manual mounting would suffice for that
AGuyWhoPlaysGames
I don't know why they'd be ext4 if that's not the default. I've just been doing my best to follow guides and get Bazzite set up with a shared game library.
CheckYourFax
CheckYourFax4d ago
also, you need to use the UUID of the drive you're using instead of ext4,nofail do defaults,nofail
AGuyWhoPlaysGames
Can I just edit the fstab file itself or do I need to do some terminal commands or something?
CheckYourFax
CheckYourFax4d ago
you can edit it yourself, but if you screw up 1 little whitespace you will be in emergency mode on next boot You could also use KDE Partition Manager make sure to disable auto mounting in KDE settings, that thing has never worked correctly the way you dod that is selecting the partition (while its NOT mounted) and then "Edit Mount Point" but you also got to be careful there
AGuyWhoPlaysGames
When I attempt to shrink my NTFS partition on my second drive in Disk Management I get the message "The volume you have selected to shrink may be corrupted".
CheckYourFax
CheckYourFax4d ago
because automounting NTFS in linux is a horrible idea and you need to chkdsk in windows
AGuyWhoPlaysGames
It says "Windows has scanned the file system and found no problems."
CheckYourFax
CheckYourFax4d ago
now it marked it as clean and you can shrink
AGuyWhoPlaysGames
It still won't let me shrink it, gave the same error message.
CheckYourFax
CheckYourFax4d ago
you need to chkdsk the right filesystem you need to give it a mount letter and then chkdsk X: replace X with mount letter
AGuyWhoPlaysGames
Specified the letter and it's still not letting me.
CheckYourFax
CheckYourFax4d ago
do /F so /F after E:
AGuyWhoPlaysGames
Now I'm getting "An unexpected error has occurred".
CheckYourFax
CheckYourFax4d ago
During scan?
AGuyWhoPlaysGames
When attempting to shrink the partition The scan looked fine
CheckYourFax
CheckYourFax4d ago
its still not shrunk? If you got the space, backup that drive, and just reformat it probably easier aka just delete the NTFS partition and either just go for a shared WinBtrfs partition or make a smaller NTFS partition together with a new Btrfs one You want to have a shared game library between Bazzite and Windows right? That's the only supported way to do it
AGuyWhoPlaysGames
I wasn't given the option to. Closed it, checked the event logs and now re-opened Disk Management and suddenly it seems to be allowing me to shrink it.
CheckYourFax
CheckYourFax4d ago
for some reason when you chkdsk the dirty bit isn't removed oh must be from when the unexpected error occured basically what happens is that when something happens to a drive, a dirty bit is set, and then later removed when it is finished if it doesn't finish that dirty bit isn't removed and you have to Chkdsk /f again Basically it will be impossible to shrink that partition The best thing you can do is back up whatever is on that partition, and then delete the partition and re-create it safest option
AGuyWhoPlaysGames
I'm given the option to shrink the partition now, but it seems to only be letting me shrink it by about 400GB even though I have 1.59TB free.
CheckYourFax
CheckYourFax4d ago
this happens sometimes that's why best option is to just copy all files in the partition to a folder delete the partition and then remake it smaller since its not your boot drive that is simple
AGuyWhoPlaysGames
Might've been when I was backing up my PC, I cancelled it because I realized there was some stuff I didn't actually want backed up. So I cancelled the backup and changed the settings to exclude some folders then did a new backup.
CheckYourFax
CheckYourFax4d ago
I can help you through installing WinBtrfs, making the Btrfs partition etc, don't worry I have done it myself in the past
AGuyWhoPlaysGames
Where do I download it from? maharmstone's Github page?
CheckYourFax
CheckYourFax4d ago
Yep, but follow the video I posted earlier It tells you step by step what to do its not too hard If you set it up properly, you can share your games library with Bazzite and Windows
AGuyWhoPlaysGames
I'll try. Just waiting on the files to transfer from my E drive to C so I can format it. Which Winbtrfs .exe am I supposed to run? amd64 or x86?
CheckYourFax
CheckYourFax4d ago
amd64 don't do it yet though
AGuyWhoPlaysGames
Yeah I know, just asking in advance since I'm not doing much right now.
CheckYourFax
CheckYourFax4d ago
first make the Btrfs partition in Bazzite
AGuyWhoPlaysGames
Should I delete the E: partition in KDE partition manager as well, once it's empty?
CheckYourFax
CheckYourFax4d ago
no, it should be gone if its gone in Windows Disk Management will do fine for deleting the partition doesn't matter much do you still want an NTFS partition on that drive?
AGuyWhoPlaysGames
Might be good to have a smaller one on there for stuff I can't run on Bazzite. Maybe only slightly smaller than my Btrfs partition even. Could have a 700GB NTFS partitition and that'd leave about 850GB for the Btrfs partition, doubt I'd need more than that for games. Not like I'm gonna have my whole library installed at once.
CheckYourFax
CheckYourFax4d ago
Sounds good I would just go ahead and delete the partition in Disk Management and then make a new NTFS partition straight away, and then reboot to Bazzite to make the Btrfs partition
AGuyWhoPlaysGames
Aaaand now Grub isn't even showing up, I just boot straight into Windows. :clueless: Okay nvm My UEFI Hard Disk Drive BBS Priorities got reset so Windows was set to boot first for some reason but I changed it back. Alright I made the btrfs partition, am I supposed to run Winbtrfs in Windows? A little confused because the instructional video doesn't show him making the partition in Bazzite.
CheckYourFax
CheckYourFax4d ago
Yes, Bazzite only supports Btrfs officially, but with WinBtrfs you can use your Btrfs drive in Windows With little to no issues
AGuyWhoPlaysGames
Alright I'm on the step where I'm setting up the partition to auto-mount in Bazzite now, and it's asking me to put in my password to act as Admin when I try accessing the btrfs partition which didn't happen in the instructional video. Also I didn't think to ask about it earlier but is this process also part of how I get games from GOG running in both Windows and Bazzite? I already installed the Heroic Games Launcher.
CheckYourFax
CheckYourFax4d ago
You can but its a little harder because with Heroic and Lutris games are installed inside the prefix Where is it asking this. in Bazzite?
AGuyWhoPlaysGames
When I click on the Games (Shared) btrfs partition in Dolphin.
CheckYourFax
CheckYourFax4d ago
can you post output of /etc/fstab again? i think your mount options are wrong sudo cat /etc/fstab | fpaste Also, you could just enable automounting again it should recognize your btrfs partition
AGuyWhoPlaysGames
https://paste.centos.org/view/a2d40042 Should I reboot after applying or should it work immediately? It doesn't seem to be showing the btrfs partition at all in auto-mount settings. Only the one for Windows.
CheckYourFax
CheckYourFax4d ago
Remove all the stuff from the KDE automount stuff What I mean is ujust enable-automounting
AGuyWhoPlaysGames
I already did, everything is unchecked.
CheckYourFax
CheckYourFax4d ago
and then reboot Btw Delete the ntfs line in fstab it won't work anymore just make sure you don't leave trailing spaces with those mount options you should be able to access the drive without a password defaults gives rw to all users
CheckYourFax
CheckYourFax4d ago
No description
CheckYourFax
CheckYourFax4d ago
including the 0's at the end, just the entire line
AGuyWhoPlaysGames
Alright I did that stuff and it's still making me act as Admin in order to access the Games (Shared) partition.
CheckYourFax
CheckYourFax4d ago
Can you go to KDE Partition Manager, unmount, and then press Edit Mount Point? I know what happened When you made the partition you put Permissions on "Only Root" (This is selected by default) and not swapped to "Everyone" sudo chown -R username:username /var/mnt/games change username to your username on both sides of :
Solution
CheckYourFax
CheckYourFax4d ago
"UUID=0AC2-87CB /var/mnt vfat nofail,umask=0077,shortname=winnt " Did you change the wrong line? that's supposed to be /boot/efi
CheckYourFax
CheckYourFax4d ago
:huh: how booting still works is beyond me
AGuyWhoPlaysGames
Is this in fstab? I'm sure I only deleted the ntfs line you said to.
CheckYourFax
CheckYourFax4d ago
sudo cat /etc/fstab | fpaste
AGuyWhoPlaysGames
Okay yeah I found it
CheckYourFax
CheckYourFax4d ago
that /var/mnt needs to be /boot/efi or you will break your system the one with vfat
AGuyWhoPlaysGames
Okay just changed it
CheckYourFax
CheckYourFax4d ago
can you show me it before you reboot because if you make a mistake you will boot into emergency mode sudo cat /etc/fstab | fpaste
CheckYourFax
CheckYourFax4d ago
i don't think it matters much, but remove the extra space between /boot/efi and vfat then you're good save it and reboot
AGuyWhoPlaysGames
Alright done What about the permission here? I can't find how to change it in the partition manager.
CheckYourFax
CheckYourFax4d ago
also do the chown sudo chown -R username:username /var/mnt/games that will fix it just make sure to change to your actual username sudo chown -R bazzite:bazzite /var/mnt/games by default
AGuyWhoPlaysGames
I got "Operation not permitted"
CheckYourFax
CheckYourFax4d ago
mount first or is it mounted?
AGuyWhoPlaysGames
Wasn't at the time, seemed to work now.
CheckYourFax
CheckYourFax4d ago
try rebooting see if it automounts good luck!
AGuyWhoPlaysGames
Seemed to work for the shared games folder Not for the Windows games folder or the partition with Windows itself though. Also I'm wondering if I should shrink the games folder a bit and give more space to Bazzite, because I thought I'd be able to run more of my programs like Krita and Kdenlive that I had already installed on Windows without installing them on Bazzite again, so I only made the partition 64GB. Seems like it's all working now, as far as having a Shared Steam Library.
Kyle Gospo
Kyle Gospo4d ago
your windows games folder is ntfs you're not planning to play games off of that, are you?
AGuyWhoPlaysGames
No. Guess it isn't a big deal to have to put the password in for the cases where I just want to move some files around. Hopefully getting my GOG Library set up in a similar way isn't too much trouble.

Did you find this page helpful?