GNOME Disks Auto-Mount Guide¶
This comes pre-installed on GNOME images.
Instructions¶
- Open GNOME Disks (
gnome-disk-utility
) - Locate the disk and partition you want to mount
- Click the cog icon on the partition
- Select "Edit Mount Options"
- Turn off "User Session Default"
- Check: "Mount at system startup" and "Show in user interface"
- In the space where this is no label:
nosuid,nodev,nofail,x-gvfs-show,
(refer to the correct filesystem below for more options) /var/mnt/games
(or whatever directory you made)auto
- Select "Take Ownership"
-
Open the terminal to test the mounts by running the command:
sudo systemctl daemon-reload && sudo mount -a
-
If no errors appeared then it should be safe to reboot.
If an error occurs, then research the error and undo what you did and try again.
Also a Display Name should be added too. Name it whatever you want it to be identified as.
Filesystem Arguments¶
Warning
If a drive is formatted, then do not remove it from /etc/fstab
, so the "nofail" option is a must to avoid issues with booting.
BTRFS:¶
defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail
Ext4:¶
defaults,noatime,errors=remount-ro,nofail,rw,users,exec
NTFS:¶
defaults,noatime,nofail,rw,users,exec
Note
Do not use the NTFS filesystem for game library storage in Bazzite, and it is not supported and you will get lots of issues with it. NTFS is not intended as a game drive for Bazzite.
Permissions for the drive¶
sudo chown $USER:$USER /mnt/games
Advanced Options (Not required for most setups)¶
Warning
Change at your own risk!
Information about compression:¶
3 is a good balance, older CPUs should use 1.
Information about subvolumes:¶
use subvol=name
as an option, KDE and GNOME Disks let you only mount 1 subvolume through the GUI, you can mount the root with subvol=/
if a default subvolume is configured in the filesystem
Installing GNOME Disks on non-GNOME images¶
If you would like to install this, then it can be layered to your system by entering in a terminal:
rpm-ostree install gnome-disk-utility
Reboot your system after it has finished installing the terminal.