Top Guide to Drive Mounting and Unmounting in Bazzite Linux

by Liam Thompson
0 comment

Plugging a drive into Bazzite Linux should not feel like opening a treasure chest with seven locks. It can be easy. It can even be fun. This guide shows you how to mount and unmount drives in Bazzite without fear, panic, or mysterious terminal goblin energy.

TLDR: Mounting a drive means making it available so Bazzite can read and write files on it. Unmounting means safely disconnecting it before unplugging or turning it off. You can do this with the file manager, with terminal commands like udisksctl, or with permanent entries in /etc/fstab. For custom mount points on Bazzite, /var/mnt is a great place to use.

What does mounting mean?

A drive is not always ready the moment it appears. Linux needs to attach it to a folder. That folder is called a mount point.

Think of your drive like a backpack. Mounting is putting the backpack on a table so you can open it. Unmounting is closing it and taking it off the table safely.

On Bazzite, drives often appear in places like:

  • /run/media/yourname/DriveName
  • /var/mnt/DriveName
  • A custom folder you choose

The first path is often used by the desktop. The second path is better for permanent mounts. Bazzite is an atomic Linux system. That means much of the system is protected. So /var is a friendly place for your own stuff.

The easy way: use the file manager

This is the most simple method. It is great for USB sticks, portable SSDs, SD cards, and random “what is on this old drive?” moments.

Open your file manager. On KDE, this is usually Dolphin. On GNOME, this is usually Files.

  1. Plug in the drive.
  2. Look at the left sidebar.
  3. Click the drive name.
  4. Enter your password if asked.
  5. Enjoy your files.

That is mounting. Nice and simple.

To unmount it:

  1. Close any files on the drive.
  2. Go back to the file manager.
  3. Click the eject button next to the drive.
  4. Wait for it to disappear.
  5. Now unplug it.

Do not yank the drive early. Linux may still be writing data. If you unplug too soon, files can become sad little digital pancakes.

See your drives with lsblk

The terminal gives you more power. Also more responsibility. But do not worry. We will keep it cozy.

Open a terminal and run:

lsblk -f

This shows your drives, partitions, file systems, labels, and UUIDs.

You may see something like this:

NAME        FSTYPE LABEL      UUID                                 MOUNTPOINT
sda
└─sda1      ext4   Games      1234abcd-1111-2222-3333-abcdef123456
sdb
└─sdb1      vfat   USBSTICK   9A2B-3C4D                            /run/media/alex/USBSTICK
nvme0n1
├─nvme0n1p1 vfat   EFI
└─nvme0n1p2 btrfs  bazzite

The important parts are:

  • NAME: The device name, like sda1.
  • FSTYPE: The file system, like ext4, btrfs, ntfs, or vfat.
  • LABEL: The drive name.
  • UUID: A unique drive ID.
  • MOUNTPOINT: Where the drive is currently mounted.

Tip: Use UUIDs for permanent mounts. Device names can change. UUIDs usually do not.

Mount a drive from the terminal

The friendliest terminal tool for removable drives is udisksctl. It acts like your desktop file manager. It handles permissions nicely.

First, find your partition:

lsblk -f

Then mount it. For example:

udisksctl mount -b /dev/sda1

Bazzite will mount it under /run/media/yourname/. The terminal will tell you the exact path.

To unmount it:

udisksctl unmount -b /dev/sda1

This is perfect for external drives. It is also great for scripts. It feels clean. It feels tidy. Like putting your socks in the correct drawer.

Manual mounting with mount

Sometimes you want control. Maybe you want a drive mounted at a special path. Maybe it is your game drive. Maybe it holds your giant folder of “totally legal Linux ISOs.”

Make a mount point first:

sudo mkdir -p /var/mnt/games

Now mount the drive:

sudo mount /dev/sda1 /var/mnt/games

Check it:

ls /var/mnt/games

Unmount it when done:

sudo umount /var/mnt/games

Notice the command is umount, not unmount. Yes, it looks like a typo. No, it is not. Linux is old. Linux has opinions.

Image not found in postmeta

Make a drive mount automatically

If you use the same drive all the time, automatic mounting is helpful. This is common for game libraries, media drives, backup disks, and shared storage.

On Bazzite, a nice mount point is:

/var/mnt/games

Create it:

sudo mkdir -p /var/mnt/games

Find the UUID:

lsblk -f

Now edit /etc/fstab:

sudo nano /etc/fstab

Add a line like this for an ext4 drive:

UUID=1234abcd-1111-2222-3333-abcdef123456 /var/mnt/games ext4 defaults,noatime,nofail,x-systemd.automount 0 2

Here is what the options mean:

  • defaults: Use normal mount settings.
  • noatime: Reduce extra write activity.
  • nofail: Boot even if the drive is missing.
  • x-systemd.automount: Mount it when you access it.

Very important: Use nofail for removable drives. Without it, Bazzite may wait during boot if the drive is missing. Nobody wants a boot screen staring contest.

Test your fstab entry:

sudo systemctl daemon-reload
sudo mount -a

If there is no error, you did it. Celebrate with a tiny chair dance.

Mounting NTFS drives

NTFS is common for Windows drives. Bazzite can usually read and write NTFS using the Linux ntfs3 driver.

A sample fstab line may look like this:

UUID=ABCD1234EF567890 /var/mnt/windows ntfs3 uid=1000,gid=1000,rw,nofail,x-systemd.automount 0 0

Your user ID may not be 1000. Check it:

id -u
id -g

Use those numbers for uid and gid.

If the NTFS drive was used in Windows, turn off Fast Startup in Windows. Also fully shut down Windows before using the drive in Bazzite. If Windows leaves the drive hibernated, Linux may refuse to write to it. This is Linux protecting your data. It is not being rude. It is being the responsible friend.

Steam libraries and game drives

Bazzite is popular for gaming. So let us talk about the big one: Steam game drives.

For best results, use a Linux file system like ext4 or btrfs. These are happy on Linux. They handle permissions well. They avoid many NTFS headaches.

A good setup is:

/var/mnt/games/SteamLibrary

Mount the drive first. Then open Steam. Go to:

  • Steam
  • Settings
  • Storage
  • Add Drive

Select your mounted folder. Steam should now use it.

If you use Flatpak Steam, it may not see your drive. Flatpak apps live in a sandbox. Sandboxes are safe, but picky.

You can allow access with:

sudo flatpak override --filesystem=/var/mnt/games com.valvesoftware.Steam

Or use Flatseal and add the path there.

Why unmounting matters

Unmounting is not just a fancy eject button. It tells Bazzite to finish writing data. It also tells programs to stop using the drive.

If you unplug without unmounting, bad things can happen:

  • Files may become corrupted.
  • Copies may be incomplete.
  • The file system may need repair.
  • Your future self may become annoyed.

Before unmounting, close files and apps using the drive. If unmounting fails, something is still using it.

Find the busy program with:

sudo lsof +f -- /var/mnt/games

Or:

sudo fuser -vm /var/mnt/games

Close the program. Then try again:

sudo umount /var/mnt/games

If your terminal is inside the drive folder, leave it:

cd ~

Then unmount again.

Common problems and fixes

“Permission denied”

The mount may be owned by root. For Linux file systems, fix ownership:

sudo chown -R $USER:$USER /var/mnt/games

Be careful with this command. Use it only on your data drive. Do not run wild with it across the whole system.

“Target is busy”

A program is using the drive. Close file manager windows, terminals, game launchers, media players, and backup tools.

The drive does not appear

Run:

lsblk -f

If it appears there, the drive exists. It just is not mounted. If it does not appear, try another cable, port, or enclosure.

Bazzite boots slowly

Your fstab line may be waiting for a missing drive. Add nofail and x-systemd.automount. Then run:

sudo systemctl daemon-reload

Best practices

  • Use UUIDs in /etc/fstab.
  • Use /var/mnt for custom permanent mount points.
  • Use udisksctl for removable drives.
  • Use ext4 or btrfs for Linux game drives.
  • Always unmount before unplugging.
  • Add nofail for drives that may not always be connected.
  • Keep mount folder names simple. Avoid weird spaces if you can.

Final thoughts

Drive mounting in Bazzite is not scary. It is just Linux asking, “Where should I put this drive?” Once you understand mount points, UUIDs, and safe unmounting, the whole thing clicks.

Use the file manager for quick jobs. Use udisksctl for easy terminal mounting. Use /etc/fstab for permanent drives. And always unmount before unplugging.

Now go forth. Mount wisely. Unmount safely. May your game libraries be fast, your backups be boring, and your drives never make weird clicking sounds.

Related Posts