Mount exFAT USB from Linux

How to mount, access and use an exFAT formatted USB drive from within Linux. Most newer Linux distributions already ship with exFAT FAT64 filesystem support via the FUSE library and related utilities. However, many older Ubuntu based distributions did not. The following solution covers the simple process of enabling exFAT detection from older Ubuntu based distributions.

exFAT (Extended Fat), a proprietary filesystem created by Microsoft, was introduced to remove the 4GB file size limitation. Making it a suitable replacement for the older Fat32 filesystem. Most modern USB flash drives arrive exFAT formatted from the factory. So it is nice to be able to use them out of the box across multiple operating systems without the need to reformat.

The error when trying to access the USB commonly presents as follows:
mount exFat

Unable to access "volume_name"
error mounting /dev/sdx at /media/ubuntu/volume_name:
unknown filesystem type 'exfat'

Mounting and accessing exFAT USB drive from Ubuntu

Installing exFAT via the Ubuntu Universe repository

The following was tested on Ubuntu 19.10. It may or may not work on other versions.

1. Press Ctrl+Alt+T to open a terminal.
2. To gain Super User (root) access, type the following and press enter.

sudo su

3. Next, to enable the universe apt repository, type

add-apt-repository universe

4. Then, to update and use the universal repository, type

apt update

5. Finally, to install fuse library and related utilities, type

apt install exfat-fuse exfat-utils

Now when you insert your exFat formatted USB drive, it should be detected and automounted.

Installing exFAT via PPA repository

The following solution was tested to work on Ubuntu 19.04. It may also work on other versions.

1. Press Ctrl+Alt+T to open a terminal.
2. To elevate to Super User, type the following and press enter.

sudo su

3. Next, to enable the universe apt repository, type

add-apt-repository ppa:arter97/exfat-linux

4. To update and use the PPA repository, type

apt update

5. Finally, to install exfat-linux dkms, type

apt install exfat-dkms

Installing exFAT via github source

The following method can be used as a last resort, to compile directly from source code.

1. Press Ctrl+Alt+T to open a terminal.
2. To change to root, type the following and press enter.

sudo su

3. Next, to ensure git is installed, type

apt install git

4. To clone the git repo, type

git clone https://github.com/arter97/exfat-linux

5. Next, to change to the cloned exfat-linux directory, type

cd exfat-linux

6. Then, to build from the source, type

make

7. Finally, to install, type

make install

If all went well, you should now be able to read exFAT formatted USB drives and use them from within Linux.

Mount exFAT USB from Linux published under USB Help and Flash Drive Tools, Using and Configuring Linux 

Disclaimer