453

When trying to mount an exfat filesystem, I get the following error:

Error mounting /dev/sda6 at /media/gkp/Backup: Command-line 
`mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda6" "/media/gkp/Backup"' 
exited with non-zero exit status 32: mount: unknown filesystem type 'exfat'

Exfat is used on some USB sticks and camera sd cards. What can I do to mount this type of filesystem?

wjandrea
  • 14,236
  • 4
  • 48
  • 98
Ganesh
  • 4,539

3 Answers3

664

You get this error because the exfat filesystem is not installed in Ubuntu by default. exFAT is proprietary and patented by Microsoft.

Ubuntu 13.10 or higher

Since Ubuntu 13.10, this package is in the main repository. Just install exfat-fuse and exfat-utils:

sudo apt update && sudo apt install exfat-fuse exfat-utils

Ubuntu 12.04

For ubuntu 13.04 and lower, you'll need a ppa to install the exfat support. Installation procedure:

sudo apt-add-repository ppa:relan/exfat
sudo apt-get update
sudo apt-get install fuse-exfat

If you see the error gpg: "tag:launchpad.net:2008:redacted" not a key ID: skipping during the apt-add-repository step, then you'll need to manually install the signing key and run the apt-get update and apt-get install steps after that:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4DF9B28CA252A784

​​​​​​

cocomac
  • 3,394
4

As of November 25, 2019, this does not work yet in Ubuntu 19.10 Eoan, probably because apt just cannot grab exfat-fuse. I fixed this problem by downloading exfat-fuse deb directly. This is after installing a dependency.

piie
  • 211
  • This worked, thankyou! – JMK Dec 02 '19 at 18:04
  • 2
    As of Dec 11, it does seem to fetch exfat-fuse properly. – pspahn Dec 11 '19 at 23:49
  • Ubuntu 20.04 installing exfat-fuse and exfat-utils works. Yet I have this error FUSE exfat 1.3.0 ERROR: failed to read boot sector. – Pierre ALBARÈDE Nov 02 '20 at 22:40
  • This is either because your device wasn't set up correctly, or could also be because your exfat device is somehow 'not good' e.g. corrupt, full, or physically malfunctioning. Try with another device you've worked with before and if that works then try remake the failed device – piie Nov 03 '20 at 00:51
  • Upgraded to 20.10, installed exfatprogs. Mounting works randomly. Moreover, if the card is inserted directly (is SD slot of Macbookpro), it is always read-only. If it is connected through a card reader, write is possible. – Pierre ALBARÈDE Nov 05 '20 at 21:00
  • I would bet on this being a firmware related issue unrelated to the question, it sounds like your device is supported partially on different platforms – piie Nov 05 '20 at 22:24
  • I'm seeing something like it in Debian Bullseye although it worked in Buster. Somebody's screwing around with something again and breaking things. I have exfat-fuse and exfatprogs. Taking my card to a different box to read it. – Alan Corey Feb 16 '21 at 17:08
  • On a Raspberry Pi with Buster the same card and reader worked fine. It's the card from my better Nikon, I use it fairly often. – Alan Corey Feb 16 '21 at 17:40
0

After installing exfat-fuse and exfat-utils, don't just wait, like silly me, unplug and replug the USB device.