Problem formatting with exfat on GNOME disks

I have a problem with GNOME disks on fedora 33 when I format with exfat filesystem, does anyone have the same problem as me?
Can you format a USB stick with exfat filesystem using gnome disks?
I reported the bug:
Maybe it’s a package problem on fedora?

$ sudo dnf provides $(command -v mkexfatfs)
Last metadata expiration check: 1:17:20 ago on Mon 15 Mar 2021 10:24:48 PM +03.
exfat-utils-1.3.0-5.fc33.x86_64 : Utilities for exFAT file system
Repo        : rpmfusion-free
Matched from:
Filename    : /usr/sbin/mkexfatfs

Do you have that package installed? Apparently, it is not a dependency for GNOME Disks:

$ sudo dnf repoquery --requires gnome-disk-utility
Last metadata expiration check: 1:14:43 ago on Mon 15 Mar 2021 10:24:48 PM +03.
1 Like

I’m a bit confused about the packages to install, there seems to be more than one.

emanu@desktop:~$ sudo dnf provides mkexfatfs
Ultima verifica della scadenza dei metadati: 0:27:15 fa il lun 15 mar 2021, 21:31:49.
exfat-utils-1.3.0-5.fc33.x86_64 : Utilities for exFAT file system
Repo : rpmfusion-free
Corrispondenza trovata in:
Nome file : /usr/sbin/mkexfatfs

I have in the system I have installed this:

emanu@desktop:~$ dnf list exfat* --installed
Pacchetti installati
exfatprogs.x86_64     1.0.4-1.fc33               @updates

But there is also this:

emanu@desktop:~$ dnf list exfat-utils-1.3.0-5.fc33.x86_64
Fedora Modular 33 - x86_64 - Updates 23 kB/s | 15 kB 00:00
Fedora 33 - x86_64 - Updates 20 kB/s | 11 kB 00:00
RPM Fusion for Fedora 33 - Free tainted 17 kB/s | 7.3 kB 00:00
Pacchetti disponibili
exfat-utils.x86_64 1.3.0-5.fc33 rpmfusion-free

Which one should I install?

According to error message you got, it is trying to execute mkexfatfs and failed to find it. exfatprogs doesn’t have /usr/sbin/mkexfatfs, can you try with exfat-utils?

1 Like

ok, solved:
I removed the “exfatprogs” package
and installed “exfat-utils


I wonder, why are there two utility packages for exfat?
Which one that works for gnome disks on rpm fusion?

They are 2 different projects which provide similar functionality:

Since GNOME Disks tries to call mkexfatfs which is provided only by exfat-utils, you will need exfat-utils at the moment.


I installed exfatprogs from the Fedora repo.
I got Gnome Disks to format exfat filesystems by creating the following symbolic link:

cd /usr/sbin
sudo ln -s mkfs.exfat mkexfatfs 
1 Like

Good point, that will work too. In the exfat-utils package, mkexfatfs is also a symbolic link to mkfs.exfat binary but exfatprogs package doesn’t provide it for some reason. But since /usr/sbin is managed by the package manager, it would be better to create it in somewhere not touched by the package manager, e.g. /usr/local/sbin.


OP accepted answer won’t work on Fedora 34.

On Fedora 34 the command:

sudo dnf install exfat-utils

For some reason install the package rpmfusion-free-obsolete-packages (I don’t know what that package is) which does not provide mkexfatfs.

To format a disk with exFAT with GNOME Disks on Fedora 34, I manually compiled and installed
[GitHub - relan/exfat: Free exFAT file system implementation](relan exfat repository).

To compile you need:
sudo dnf install automake autoconf fuse-devel

1 Like

Apparently, exfat-utils is obsoleted in Fedora 34. exfatprogs package has mkfs.exfat binary but doesn’t have mkexfatfs. You can use this method:

1 Like

This I report when I upgrade to fedora 34 Formatting a device using exFat results in a raw device (exfatprogs) (#210) · Issues · GNOME / gnome-disk-utility · GitLab