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?


Solution:Jump to 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...
85 Replies

Correction: Both my NVMe drives will not auto-mount.
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
I don't think so? Is that the auto-mount settings I screenshotted or something else?
No
ujust disable-automounting
We have an udev rule generatorOkay, I'll try disabling it after dinner.
If you run games from NTFS drives, no support will be given.
Just a warning
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?
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
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...
Alright, I'll give that a try then.
Follow the guide closely and it should work fine
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.
can you post your fstab here
sudo cat /etc/fstab | fpaste
the automount generator should automount your Btrfs partition
but it has to be labeledAlso 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.
Yes, KDE Partition Manager
If you need to shrink your NTFS partition, use Windows for that
More reliable
less chance of total filesystem corruption
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
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.
also, you need to use the UUID of the drive you're using
instead of ext4,nofail do defaults,nofail
Can I just edit the fstab file itself or do I need to do some terminal commands or something?
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
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".
because automounting NTFS in linux is a horrible idea and you need to
chkdsk
in windowsIt says "Windows has scanned the file system and found no problems."
now it marked it as clean and you can shrink
It still won't let me shrink it, gave the same error message.
you need to chkdsk the right filesystem
you need to give it a mount letter
and then chkdsk X:
replace X with mount letter

Specified the letter and it's still not letting me.
do /F
so /F after E:
Now I'm getting "An unexpected error has occurred".
During scan?
When attempting to shrink the partition
The scan looked fine
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
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.

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
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.
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
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.
I can help you through installing WinBtrfs, making the Btrfs partition etc, don't worry
I have done it myself in the past
Where do I download it from? maharmstone's Github page?
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
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?
amd64
don't do it yet though
Yeah I know, just asking in advance since I'm not doing much right now.
first make the Btrfs partition
in Bazzite
Should I delete the E: partition in KDE partition manager as well, once it's empty?
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?
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.
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
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.
Yes, Bazzite only supports Btrfs officially, but with WinBtrfs you can use your Btrfs drive in Windows
With little to no issues
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.
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?
When I click on the Games (Shared) btrfs partition in Dolphin.
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 partitionhttps://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.
Remove all the stuff from the KDE automount stuff
What I mean is
ujust enable-automounting
I already did, everything is unchecked.
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

including the 0's at the end, just the entire line
Alright I did that stuff and it's still making me act as Admin in order to access the Games (Shared) partition.
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
"UUID=0AC2-87CB /var/mnt vfat nofail,umask=0077,shortname=winnt "
Did you change the wrong line? that's supposed to be /boot/efi
:huh:
how booting still works is beyond me
Is this in fstab? I'm sure I only deleted the ntfs line you said to.
sudo cat /etc/fstab | fpaste
Okay yeah I found it
that /var/mnt
needs to be /boot/efi
or you will break your system
the one with vfat
Okay just changed it
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
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
Alright done
What about the permission here? I can't find how to change it in the partition manager.
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 defaultI got "Operation not permitted"
mount first
or is it mounted?
Wasn't at the time, seemed to work now.
try rebooting see if it automounts
good luck!
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.
your windows games folder is ntfs
you're not planning to play games off of that, are you?
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.