Home Ubuntu How to mount an exFAT drive on Ubuntu

How to mount an exFAT drive on Ubuntu

by Hend Adel
mount exfat drive ubuntu

Extended File Allocation Table or exFAT is a Microsoft file system. The exFAT designed by Microsoft for the USB flash drives. The exFAT is used to replace the FAT32 old file system that was not able to store files that is greater than 4GB.

The exFAT is supported by recent versions of MAC and Windows operating systems. However, Ubuntu by default does not provide support for the exFAT filesystem.

So during this tutorial, we are going to cover how to mount and use an exFAT USB drive.

First, let’s assume that you need to mount an exFAT USB drive and check what will happen.

The exFAT USB Mounting Error

The exFAT USB Mounting Error

As you can see in the above screenshot, a mounting error appears telling you that there is an unknown filesystem. In the next few steps, we are going to help you fix this error.

Step 1. You have to make sure that the Universe repository is enabled on your Ubuntu machine using the next command.

sudo add-apt-repository universe

As you can see in the below screenshot, if the Universe repository is enabled you will get a message like this:

Ensure That The Universe Repository Is Enabled On Your Ubuntu System

Ensure That The Universe Repository Is Enabled On Your Ubuntu System

If it is not enabled the previous command will enable it.

Step 2. After enabling the Universe repository, update the Ubuntu packages index.

sudo apt update
Update The Ubuntu Packages Index

Update The Ubuntu Packages Index

Step 3. Now you can install the required packages for mounting the exFAT file system using the following command.

sudo apt install exfat-fuse exfat-utils
Install The Required exFAT Packages

Install The Required exFAT Packages

Step 4. Finally, you can return to your file manager and click on your USB flash drive to mount it.

The exFAT USB Mounted Successfully

The exFAT USB Mounted Successfully

And voila, you have just enabled an exFAT filesystem on your Ubuntu machine. You can now start browsing your USB flash drive smoothly.

Mount exFAT Drives from the Terminal

For those who want to mount the exFAT drive by command-line via Terminal need to launch the Terminal and enter the following commands:

The first step is to create a directory that will be the “mount point” for the exFAT file system. We shall create a directory at /media/exfat:

sudo mkdir /media/exfat

Run the following command to mount the device.

sudo mount -t exfat /dev/sdb1 /media/exfat

In the above command, we are assuming that the device is located at /dev/sdb1.

UnMount exFAT Drives from the Terminal

To unmount the exFAT drive from your system, enter the following command in the Terminal:

sudo umount /dev/sdb1

You may also like

Leave a Comment

fl_logo_v3_footer

ENHANCE YOUR LINUX EXPERIENCE.



FOSS Linux is a leading resource for Linux enthusiasts and professionals alike. With a focus on providing the best Linux tutorials, open-source apps, news, and reviews written by team of expert authors. FOSS Linux is the go-to source for all things Linux.

Whether you’re a beginner or an experienced user, FOSS Linux has something for everyone.

Follow Us

Subscribe

©2016-2023 FOSS LINUX

A PART OF VIBRANT LEAF MEDIA COMPANY.

ALL RIGHTS RESERVED.

“Linux” is the registered trademark by Linus Torvalds in the U.S. and other countries.