How to Mount and Use exFAT Drives on Ubuntu
Learn how to mount and use exfat drives on ubuntu 24.04 with native kernel drivers, fstab automounting, exfatprogs formatting, and permissions.

5 min read
Learn how to mount and use exfat drives on ubuntu 24.04 with native kernel drivers, fstab automounting, exfatprogs formatting, and permissions.
- Prerequisites and Supported Releases
- Step 1: Installing exFAT Management Utilities (exfatprogs)
- Step 2: Identifying Your Connected exFAT Storage Device
The exFAT (Extended File Allocation Table) filesystem is the universal industry standard for high-capacity external storage media, including USB flash drives, SDXC memory cards, and portable external SSDs.
Unlike FAT32, which is crippled by an antiquated 4 GB individual file size limitation, exFAT supports colossal multi-terabyte files and seamlessly interoperates across Windows, macOS, Android, and Linux.
Historically, mounting exFAT on Linux required sluggish user-space FUSE drivers (exfat-fuse) due to proprietary patent restrictions.
Since Linux kernel 5.7 and Microsoft's official publication of the exFAT specification, Ubuntu natively integrates a high-performance in-tree kernel exFAT driver capable of blistering read/write throughput.
In this guide, we walk through how to mount and use exfat drives on ubuntu, identify storage UUIDs, configure automated mounting via /etc/fstab, and format partitions using exfatprogs.
Complete step-by-step storage guide on mounting, formatting, and reading/writing exFAT (Extended File Allocation Table) formatted USB drives and external SSDs on Ubuntu 24.04 LTS (Noble Numbat) and 22.04 LTS. Explains native in-tree Linux kernel exFAT driver support, installing exfatprogs utilities, configuring persistent /etc/fstab automounting, and troubleshooting permission issues.
Prerequisites and Supported Releases
This guide is thoroughly verified on Ubuntu 24.04 LTS (Noble Numbat) & Ubuntu 22.04 LTS. The instructions apply cleanly to cloud instances (AWS EC2, Google Compute Engine, DigitalOcean, Hetzner), bare-metal servers, and local virtual machines.
Before proceeding, ensure you have the following requirements satisfied:
- A computer or server running Ubuntu 24.04 LTS or Ubuntu 22.04 LTS.
- An external USB flash drive or SSD formatted as exFAT.
- A user account with
sudoadministrative privileges. - Access to a bash terminal shell.
Step 1: Installing exFAT Management Utilities (exfatprogs)
While modern Linux kernels provide native in-tree filesystem drivers to read and write exFAT data, user-space utilities for formatting and filesystem integrity checks are packaged separately.
Ubuntu 24.04 provides the modern, community-maintained exfatprogs package, replacing the deprecated exfat-utils:
Install exfatprogs using apt:
# Update repository cache:
sudo apt update
# Install modern exFAT user-space tools:
sudo apt install -y exfatprogs
# Verify installed utility version:
fsck.exfat -V
# Expected output confirms exfatprogs presence.
Step 2: Identifying Your Connected exFAT Storage Device
Plug your external exFAT drive into your computer or server.
Use the lsblk and blkid commands to identify the device node name (such as /dev/sdb1 or /dev/nvme0n1p1) and verify its filesystem type:
Inspect the block device topology in your terminal:
# List block storage devices with filesystem types:
lsblk -f
# Example output snippet:
# NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
# sdb
# └─sdb1 exFAT SANDISK 1234-ABCD 58.2G 2%
# Display specific device UUID and partition details:
sudo blkid /dev/sdb1
# Output confirms: /dev/sdb1: LABEL="SANDISK" UUID="1234-ABCD" TYPE="exfat"
Step 3: Manually Mounting the exFAT Partition
To access files on the drive, create a designated mount point directory inside /media/ or /mnt/.
Because exFAT is a Microsoft filesystem that does not natively support POSIX ownership permissions, pass user ID (uid) and group ID (gid) flags during mounting so your unprivileged user has full read/write access:
Mount the partition using the mount command:
# Create mount point directory:
sudo mkdir -p /mnt/exfat-drive
# Identify your current user's UID and GID:
id -u # Output: 1000
id -g # Output: 1000
# Mount the exFAT partition with full user read/write permissions:
sudo mount -t exfat -o uid=1000,gid=1000,umask=0022 /dev/sdb1 /mnt/exfat-drive
# Verify mounted filesystem:
df -h /mnt/exfat-drive
# Output confirms mount point, total size, and available space.
Step 4: Configuring Automatic Persistent Mounting in /etc/fstab
For permanent external drives or secondary data disks that must automatically mount upon every system boot, configure an entry in /etc/fstab.
Always reference partitions by their unique filesystem UUID rather than mutable device names (like /dev/sdb1) to prevent boot failures if drive letters change:
Open /etc/fstab and add the persistent mount specification:
# Append mount directive to /etc/fstab (substitute your actual UUID):
# UUID=1234-ABCD /mnt/exfat-drive exfat defaults,uid=1000,gid=1000,umask=0022,nofail 0 0
# The 'nofail' flag is critical: it prevents the server from halting boot
# if the external USB drive is unplugged during reboot.
# Test fstab syntax immediately without rebooting:
sudo mount -a
Step 5: Formatting a Drive as exFAT with mkfs.exfat
If you have a newly partitioned USB drive that you wish to format as exFAT for cross-platform compatibility across Windows, Mac, and Linux:
Unmount the partition first, then execute mkfs.exfat with an optional volume label:
Verify the target partition carefully to avoid overwriting operating system disks:
# Ensure partition is unmounted:
sudo umount /dev/sdb1
# Format partition as exFAT with label 'DATA_DRIVE':
sudo mkfs.exfat -L "DATA_DRIVE" /dev/sdb1
# Output confirms:
# Creating exFAT filesystem on /dev/sdb1 ...
# File system created successfully.
Troubleshooting and Common Errors
When configuring Ubuntu servers, unexpected permission errors, network timeouts, or lock contention can occur. Review these common issues and verified resolutions:
mount: /mnt/exfat-drive: unknown filesystem type 'exfat'
Cause: The exfat kernel module is not loaded or user-space utilities are missing.
Resolution: Install exfatprogs (sudo apt install exfatprogs) and load the kernel module with sudo modprobe exfat.
sudo modprobe exfat && lsmod | grep exfat
Files on mounted exFAT drive are read-only for regular user
Cause: The drive was mounted without uid, gid, and umask mount options, defaulting to root ownership.
Resolution: Remount with your personal user ownership: sudo mount -o remount,uid=$(id -u),gid=$(id -g),umask=0022 /mnt/exfat-drive.
sudo mount -o remount,uid=1000,gid=1000 /mnt/exfat-drive
Server hangs on boot waiting for external drive
Cause: An entry was added to /etc/fstab without the nofail option, causing systemd to block boot when the drive is disconnected.
Resolution: Add ,nofail to the mount options in /etc/fstab so boot proceeds cleanly when the external drive is unplugged.
cat /etc/fstab | grep exfat
Security Best Practices and Hardening
exFAT does not enforce POSIX file permissions or ownership natively; all files on the drive inherit the permissions assigned during mount.
Always unmount the drive with sudo umount /mnt/exfat-drive before physically unplugging it to ensure data buffers are flushed to disk.
For sensitive business data stored on portable external drives, consider hardware-encrypted drives or VeraCrypt containers rather than bare exFAT.
Related Ubuntu Tutorials and Documentation
Deepen your Linux system administration skills with our related production-tested guides:
- Initial Server Setup on Ubuntu 24.04 LTS — Configure system administration baselines and storage directories.
- How to Configure Networking with Netplan on Ubuntu — Manage system configurations and persistent hardware addressing.
- How to Use dpkg Command to Install and Manage Debian Packages — Manage Debian system packages and storage utilities.
Authoritative References and Official Documentation

The Linux Command Line, 2nd Edition: A Complete Introduction
Frequently Asked Questions
Quick answers to common questions and configurations
exfat-fuse runs as a user-space driver through the FUSE layer, causing continuous context switches and slow transfer speeds. The native in-tree Linux kernel exFAT driver (available since kernel 5.7) runs directly in kernel space, delivering multi-gigabit transfer throughput matching native filesystems./bin, /etc, /var). Use ext4, Btrfs, or ZFS for Linux root installations.sudo fsck.exfat /dev/sdb1. This scans the allocation tables, directory trees, and metadata clusters for corruption and fixes errors safely.Editorial Disclosure: Website Vidya is supported by our readers. When you purchase hosting, tools, or software through our verified partner links, we may earn an affiliate commission at no extra cost to you. We only recommend solutions we trust and rigorously verify.
Rajesh Ray
I’m Rajesh Rai, a full-stack developer, Linux administrator, and technology enthusiast passionate about making complex technology easier to understand and use.
Most Read Guides
TrendingUbuntu Server Not Booting? 10 Simple Steps to Fix It Fast
How to Create a 3D Button in HTML and CSS: Easy Steps
How to Install Python and Pip on Ubuntu 24.04 LTS
How to Install Nginx on Ubuntu 24.04
How to Install Python on Ubuntu 24.04 LTS
Related Technical Guides
Tested runbooks, server administration walkthroughs, and troubleshooting guides
Join the Conversation & Perspective
Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.
No comments on this guide yet. Be the first to share your thoughts or ask a question!