Unmounting a drive sounds simple, but on Bazzite it is worth doing properly. Whether you are removing a USB SSD full of Steam library backups, disconnecting an SD card, or detaching an external hard drive, a clean unmount prevents file corruption and makes sure pending writes are finished. Because Bazzite is an immutable, Fedora-based Linux distribution built with gaming and desktop usability in mind, you can unmount drives using both friendly graphical tools and powerful terminal commands.
TLDR: In Bazzite, the easiest way to unmount a drive is usually through your file manager by clicking the eject or unmount icon beside the device. For terminal users, udisksctl unmount -b /dev/sdX1 is often the safest desktop-friendly command, while sudo umount /mount/point is the classic Linux method. If a drive refuses to unmount, check what is using it with lsof, fuser, or by closing open file manager windows, terminals, games, and apps.
Why Unmounting Matters in Bazzite
Bazzite is designed to feel polished and console-like while still offering the flexibility of Linux. That means many users plug in external drives for ROM collections, media libraries, backups, game storage, or file transfers. When you copy a file to a removable drive, Linux may not write everything instantly; some data can remain in a cache briefly for performance. If you physically remove the drive before unmounting, you risk incomplete files, corrupted directories, or a drive that needs repair later.
Unmounting tells the operating system: finish all pending work, close the filesystem, and detach it safely. In graphical environments, you may see this as Eject, Safely Remove, or Unmount. In the terminal, you use commands such as umount or udisksctl.
Method 1: Unmount from the File Manager
The most convenient method is to use the file manager included with your Bazzite desktop environment. Bazzite commonly uses KDE Plasma on many builds, but GNOME-based variants are also available. The exact labels may differ slightly, but the workflow is similar.
- Open your file manager, such as Dolphin on KDE or Files on GNOME.
- Look at the sidebar for the external drive or mounted partition.
- Click the eject, unmount, or safely remove icon next to it.
- Wait until the device disappears from the mounted list or you receive a notification saying it is safe to remove.
This method is ideal for everyday use because it handles permissions automatically and integrates with Bazzite’s desktop session. If you mounted the drive by clicking it in the file manager, unmounting it from the same place is usually the cleanest solution.
Tip: If nothing happens when you click eject, the drive may still be busy. Close any windows showing files from that drive, stop media playback, exit games using files from it, and close terminals whose current directory is inside the drive.
Method 2: Use the KDE Device Notifier
If you are using a KDE Plasma edition of Bazzite, the Device Notifier in the system tray is another excellent option. It appears when removable storage is connected and gives you quick actions for mounting, opening, and safely removing devices.
- Click the USB or device icon in the panel’s system tray.
- Find your drive in the list of removable devices.
- Click Safely Remove, Unmount, or the eject icon.
- Wait for KDE to confirm that the device can be removed.
This is especially useful on handheld-style Bazzite setups or gaming PCs where you want a quick, controller-friendly way to manage removable storage without opening a full file manager window.
Method 3: Use GNOME Disks or KDE Partition Manager
For a more detailed view of storage devices, graphical disk utilities are helpful. On GNOME-based setups, the tool is usually Disks. On KDE, you may use KDE Partition Manager, though it may not always be installed by default. These tools show drives, partitions, filesystems, mount points, and sometimes health information.
In GNOME Disks, the process is straightforward:
- Open Disks from the application launcher.
- Select the drive from the left sidebar.
- Click the mounted partition in the graphical layout.
- Press the stop button, usually represented by a square icon, to unmount it.
These utilities are useful when a device has multiple partitions. For example, an external drive might contain one NTFS partition for Windows data and one ext4 partition for Linux backups. You can unmount a specific partition without detaching the entire physical device.
Be careful: graphical disk utilities often include powerful actions such as formatting, deleting partitions, and editing mount options. Unmounting is safe, but do not click destructive actions unless you are certain.
Method 4: Identify the Drive in Terminal with lsblk
Before unmounting from the terminal, you need to know what is mounted and where. The best starting command is:
lsblk -f
This displays block devices, filesystems, labels, UUIDs, and mount points. You might see output showing devices like /dev/sda1, /dev/nvme0n1p3, or /dev/mmcblk0p1. The MOUNTPOINTS column tells you where the partition is currently mounted.
You can also use:
findmnt
findmnt focuses on mounted filesystems and shows a tree of mount points. This is useful when you know the folder path but not the device name.
Important: Do not guess device names. Accidentally targeting the wrong partition can disrupt your system. Bazzite’s root filesystem and system partitions should not be unmounted during normal use.
Method 5: The Classic umount Command
The traditional Linux method is the umount command. Notice the spelling: it is umount, not unmount. You can unmount by specifying either the device path or the mount point.
For example, if your drive is mounted at /run/media/yourname/Backup, use:
sudo umount /run/media/yourname/Backup
Or, if the partition is /dev/sdb1, use:
sudo umount /dev/sdb1
After the command completes, check with:
lsblk -f
If the mount point is gone, the filesystem has been unmounted. You can then physically remove the drive if it is external.
This method is simple, universal, and available on nearly every Linux system. It is best when working with manually mounted drives, scripts, server-style workflows, or advanced troubleshooting.
Method 6: Use udisksctl for Desktop-Friendly Unmounting
On modern desktop Linux systems, udisksctl is often the best terminal command for removable media. It communicates with the same disk management service used by graphical desktop tools. That means it works well with user permissions and removable drives mounted under /run/media.
To unmount a partition, run:
udisksctl unmount -b /dev/sdb1
To also power off the entire USB drive after unmounting, use:
udisksctl power-off -b /dev/sdb
Notice the difference: /dev/sdb1 is a partition, while /dev/sdb is the whole disk. You unmount the partition first, then power off the device. This can be especially helpful for external hard drives because it spins them down and signals that they are ready to unplug.
Recommended workflow:
- Find the partition with
lsblk -f. - Unmount it with
udisksctl unmount -b /dev/sdX1. - Power off the whole device with
udisksctl power-off -b /dev/sdX.
Method 7: Unmount a Busy Drive
Sometimes Bazzite will refuse to unmount a drive and report that the target is busy. This means a process is still using files or folders on that filesystem. Common causes include open file manager tabs, terminal sessions, media players, torrent clients, emulators, Steam, backup tools, or indexing services.
To see what is using a mount point, try:
sudo lsof +f -- /run/media/yourname/DriveName
Another useful command is:
sudo fuser -vm /run/media/yourname/DriveName
These commands list processes accessing the drive. Once you identify the application, close it normally if possible. If a terminal is the problem, it may simply be because your current directory is inside the mounted drive. Move out of it with:
cd ~
Then try unmounting again.
If you must terminate processes, use caution. For example:
sudo fuser -km /run/media/yourname/DriveName
This kills processes using the mount point. It can be effective, but it may also close applications abruptly and cause unsaved work to be lost. Use it only when you understand the consequences.
Method 8: Lazy Unmount and Force Options
Linux includes advanced unmount options for stubborn cases. A lazy unmount detaches the filesystem from the directory tree immediately and cleans it up once it is no longer busy:
sudo umount -l /run/media/yourname/DriveName
This can be useful for network mounts or situations where a filesystem is stuck. However, it does not magically stop active writes. For removable USB drives, it is usually better to identify and close the process that is using the drive.
There is also a force option:
sudo umount -f /run/media/yourname/DriveName
Forced unmounting is generally intended for unreachable network filesystems, not ordinary USB storage. On a local external drive, forcing an unmount can increase the risk of corruption if data is still being written. Treat it as a last resort, not a routine method.
Method 9: Unmount Encrypted Drives
If you use encrypted external storage, unmounting the filesystem is only the first step. After unmounting, you may also need to lock the encrypted container. In graphical tools, this may appear as a lock button after the partition is unmounted.
From the terminal, the process depends on how the drive was unlocked. For LUKS devices managed through desktop tools, udisksctl can often lock the mapped device. A typical sequence looks like this:
udisksctl unmount -b /dev/mapper/luks-name
udisksctl lock -b /dev/sdb1
Device names vary, so check with lsblk before running commands. The key idea is: unmount the filesystem, then lock the encrypted volume.
Best Practices for Safe Drive Removal
- Wait for file transfers to finish: Do not rely only on the copy dialog disappearing; give large transfers an extra moment.
- Use eject or power off for USB drives: Unmounting closes the filesystem, while powering off prepares the device itself.
- Close apps before unmounting: Games, emulators, media players, and backup tools can keep files open.
- Verify with
lsblk: If the mount point is gone, the partition is no longer mounted. - Avoid unmounting system partitions: Only unmount removable drives or partitions you intentionally mounted.
Which Method Should You Choose?
For most Bazzite users, the best method is the simplest one: use the file manager or device notifier. It is fast, safe, and integrated with the desktop. If you prefer terminal control, udisksctl is usually the most elegant option for removable drives because it behaves like the graphical tools behind the scenes.
Use sudo umount when you need a classic, direct Linux command, especially for custom mount points or administrative tasks. Use troubleshooting commands like lsof and fuser when a drive refuses to unmount. Save lazy or forced unmounts for unusual cases where normal cleanup is not working.
Unmounting drives properly in Bazzite is a small habit that protects your data and keeps your system running smoothly. Whether you are managing a portable game library, moving media files, or handling backups, knowing both the GUI and terminal methods gives you confidence. The next time you unplug a drive, take a few seconds to unmount it cleanly—your files will thank you.