I used Mounting Guide but my drive doesnt automount

I followed the bazzite mounintg guide, but the drive always need manual mounting. Here is my fstab: ´´´ #New Partition /var/mnt/games /var/mnt/games defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail 0 0 /etc/fstab Created by anaconda on Thu Mar 20 13:54:43 2025 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=7ee910b2-dd78-4eea-8a7d-e9de4852e7d8 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=1c244940-139d-4948-bca6-84d296cf21f6 /boot ext4 defaults 1 2 UUID=E87B-B4F1 /boot/efi vfat umask=0077,shortname=winnt 0 2 UUID=7ee910b2-dd78-4eea-8a7d-e9de4852e7d8 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=7ee910b2-dd78-4eea-8a7d-e9de4852e7d8 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=20774a98-c667-4873-ade7-abb2ffc3f475 /var/mnt/games btrfs compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail 0 0 ´´´
43 Replies
asen23
asen232mo ago
try putting the file between 3 backticks like ``` content ``` it will show up like
content
content
World peace
World peaceOP2mo ago
doesnt work with the backticks 🤷‍♂️
amel
amel2mo ago
copy paste fairy has arrived
#New Partition /var/mnt/games /var/mnt/games defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail 0 0
#
/etc/fstab
Created by anaconda on Thu Mar 20 13:54:43 2025
#
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=7ee910b2-dd78-4eea-8a7d-e9de4852e7d8 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=1c244940-139d-4948-bca6-84d296cf21f6 /boot ext4 defaults 1 2
UUID=E87B-B4F1 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=7ee910b2-dd78-4eea-8a7d-e9de4852e7d8 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=7ee910b2-dd78-4eea-8a7d-e9de4852e7d8 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=20774a98-c667-4873-ade7-abb2ffc3f475 /var/mnt/games btrfs compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail 0 0
#New Partition /var/mnt/games /var/mnt/games defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail 0 0
#
/etc/fstab
Created by anaconda on Thu Mar 20 13:54:43 2025
#
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=7ee910b2-dd78-4eea-8a7d-e9de4852e7d8 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=1c244940-139d-4948-bca6-84d296cf21f6 /boot ext4 defaults 1 2
UUID=E87B-B4F1 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=7ee910b2-dd78-4eea-8a7d-e9de4852e7d8 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=7ee910b2-dd78-4eea-8a7d-e9de4852e7d8 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=20774a98-c667-4873-ade7-abb2ffc3f475 /var/mnt/games btrfs compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail 0 0
asen23
asen232mo ago
looks correct to me if you do sudo systemctl daemon-reload && sudo mount -a does /var/mnt/games gets mounted?
World peace
World peaceOP2mo ago
No.
asen23
asen232mo ago
its just empty?
World peace
World peaceOP2mo ago
It has this yellow unplugged sign in dolphin and steam didnt recognize it When I click it in dolphin it mounts
asen23
asen232mo ago
the problem is mounting from dolphin will put it to different folder btw did you create the /var/mnt/games?
World peace
World peaceOP2mo ago
Yes I created that folder
amel
amel2mo ago
if anyone needs a comparison heres my fstab
#
# /etc/fstab
# Created by anaconda on Sat Feb 22 11:38:17 2025
#
# 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=09a5128c-e631-410f-87a5-010f8c71e492 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=6585b884-0814-44c9-89fc-a357cca65a0c /boot ext4 defaults 1 2
UUID=405D-B823 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=09a5128c-e631-410f-87a5-010f8c71e492 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=09a5128c-e631-410f-87a5-010f8c71e492 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
/dev/mmcblk0p1 /run/media/sandisk auto nosuid,nodev,nofail,x-gvfs-show,defaults,noatime,errors=remount-ro,nofail,rw,users,exec 0 0
#
# /etc/fstab
# Created by anaconda on Sat Feb 22 11:38:17 2025
#
# 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=09a5128c-e631-410f-87a5-010f8c71e492 / btrfs subvol=root,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=6585b884-0814-44c9-89fc-a357cca65a0c /boot ext4 defaults 1 2
UUID=405D-B823 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=09a5128c-e631-410f-87a5-010f8c71e492 /home btrfs subvol=home,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
UUID=09a5128c-e631-410f-87a5-010f8c71e492 /var btrfs subvol=var,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0
/dev/mmcblk0p1 /run/media/sandisk auto nosuid,nodev,nofail,x-gvfs-show,defaults,noatime,errors=remount-ro,nofail,rw,users,exec 0 0
asen23
asen232mo ago
what is sudo lsblk -f
World peace
World peaceOP2mo ago
No description
amel
amel2mo ago
hmm can you explain what you did on kde part mgr? like if possible in a detailed way, is it like what docs suggested?
World peace
World peaceOP2mo ago
At first I created a new partition. Then I followed the mounting guide.. Maybe I did something wrong on formatting unallocated space
amel
amel2mo ago
did you create subvols for btrfs in nvme0n1p5? your games drive?
World peace
World peaceOP2mo ago
No
amel
amel2mo ago
ok how did you create the btrfs partition/volume?
World peace
World peaceOP2mo ago
KDE Par Mngr: Right click -> new, Assigned space and click ok Ahh and I set the label games
amel
amel2mo ago
uhhh im not sure if thats the proper way to set up a btrfs volume
World peace
World peaceOP2mo ago
ah ok So what to do?
asen23
asen232mo ago
also the uuid in your fstab doesnt match so to make sure, you want to mount the nvme0n1p5 with label "games"?
World peace
World peaceOP2mo ago
yes
asen23
asen232mo ago
edit you fstab last entry uuid to that partition uuid should be the 3f5... i suggest using micro but use whatever you are comfortable with
amel
amel2mo ago
also just to be sure, are you on main or testing? i assume testing, since you minded the note in the automount docs?
asen23
asen232mo ago
the automounting already landed in stable
World peace
World peaceOP2mo ago
ok, thx.
asen23
asen232mo ago
but for some reason the version is too old so it doesnt work lol after that make sure you dont reboot until you make sure that sudo systemctl daemon-reload && sudo mount -a doesnt spit out any error or you can end up with emergency mode
World peace
World peaceOP2mo ago
I dont know the difference tbh 😄 But edit the uuid did the trick thx
amel
amel2mo ago
oh great
World peace
World peaceOP2mo ago
dont know why it was wrong though
amel
amel2mo ago
if you want to know if youre on stable or testing, just check rpm-ostree status
World peace
World peaceOP2mo ago
thanks so muc. It took me some hours now 😄
asen23
asen232mo ago
could be various thing but glad it worked now
World peace
World peaceOP2mo ago
And Im on stable. So thanks
amel
amel2mo ago
also fyi you can also mount by label instead of UUID, so instead of UUID=3f571447-... you can do LABEL=games (only works if partition is labeled) like
LABEL=storage /run/media/storage auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=storage /run/media/storage auto nosuid,nodev,nofail,x-gvfs-show 0 0
but hey if it aint broke
asen23
asen232mo ago
uuid is usually safer tho
amel
amel2mo ago
yeah fair, esp if you interact with lots of drives
World peace
World peaceOP2mo ago
Yeah thats good to know. Now I should be fine and will edit fstab myself from start from now on.
asen23
asen232mo ago
you should avoid editing fstab directly if you can
World peace
World peaceOP2mo ago
Best practice would be?
asen23
asen232mo ago
use gui
World peace
World peaceOP2mo ago
kk
asen23
asen232mo ago
also the automounter should be fixed :SoonTM: , you shouldnt need to do this in the future

Did you find this page helpful?