Mounting exfat on linux

How to Mount an exFAT Drive on Ubuntu and Other Linux

exFAT presents a proprietary filesystem that Microsoft created in 2006, which was first originally used in Windows operating systems and on various SD cards and USB drives. The main purpose of the existence of the exFAT filesystem is optimization for a USB flash drive.

These days exFAT presents a standard for utilized default filesystem for numerous high-capacity SD cards or USB steak drives.

On Linux, exFAT has been supported with a special implementation called fuse-exfat. In order to mount an exFAT drive on Linux, you need to install fuse-exfat.

This tutorial shows how to install fuse-exfat and mount an exFAT Drive on Linux.

NOTE: If you are currently using a Linux kernel that is lower than 5.4, you are probably going to have issues to mount an exFAT drive on your Linux system. The Linux kernel has native support for exFAT beginning from adaption 5.4. From Kernel 5.7 new exfat driver added for larger media format, recommend using exfatprogs tool to manage exFAT filesystem.

Install fuse-exfat on Debian-based distributions (Ubuntu, Debian or Linux Mint)

Fuse-exfat is available by default in Debian, Ubuntu, and Linux Mint repository. To install fuse-exfat, run the following command:

This install exfat-fuse along with utilities that is being a set of exfat-utils.

Install fuse-exfat on CentOS 7 and CentOS 8

For CentOS 7 first you need to import the official GPG key for Nux Dextop repository:

Secound, install Nux Dextop rpm repository:

And then, you also need to enable the EPEL repository:

Now install fuse-exfat on CentOS 7

Install fuse-exfat on CentOS 8

First enable EPEL repository

And then install fuse-exfat with yum on CentOS 8

Install fuse-exfat on Fedora

For Fedora you need to enable rpmfusion-free repository first:

Then install with default package manger:

Mount exFAT Drive on Linux

Once fuse-exfat is installed, mount an exFAT drive using the mount command.

exFAT drive in my case is mapped to /dev/sdb1. To mount, type:

Now verify that the mount is successful:

You can verify also with df command:

Conclusion

In this tutorial we learned how to install fuse-exfat, the special implementation of exFAT for Linux, and how easy you can mount the exFAT drive on Linux.

Источник

Mount exFAT USB from Linux

Last updated: May 28, 2021

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.

Читайте также:  История открытых приложений windows

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:

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

  • exFAT from Ubuntu Universe repository
  • exFAT from PPA repository
  • exFAT from github source

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.

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

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

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.

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

4. To update and use the PPA repository, type

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

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.

3. Next, to ensure git is installed, type

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

6. Then, to build from the source, type

7. Finally, to install, type

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

Источник

Почему в Linux не открывается exFAT (РЕШЕНО)

Файловая система exFAT была представлена в 2006 году и была добавлена в более старые версии Windows с обновлениями для Windows XP и Windows Vista. exFAT оптимизирована для флэш-накопителей — она разработана для облегчённой файловой системы, такой как FAT32, но без дополнительных функций и дополнительных ресурсов NTFS и без ограничений FAT32.

Как и NTFS, exFAT имеет очень высокие ограничения на размеры файлов и разделов, что позволяет хранить файлы намного больше, чем 4 ГБ, разрешённые в FAT32.

Хотя exFAT не совсем совместим с FAT32, он более широко совместим, чем NTFS. В то время как Mac OS X поддерживает только NTFS только для чтения, Mac предоставляет полную поддержку чтения и записи для exFAT. Доступ к дискам exFAT в Linux можно получить, установив соответствующее программное обеспечение. PlayStation 4 поддерживает exFAT; PlayStation 3 нет. Xbox One поддерживает его, а Xbox 360 — нет.

Совместимость: Работает со всеми версиями Windows и современными версиями Mac OS X, но требует дополнительного программного обеспечения для Linux. Больше устройств поддерживают exFAT, чем NTFS, но некоторые, особенно старые, могут поддерживать только FAT32.

Читайте также:  Удобный калькулятор для windows

Ограничения: Можно сказать, что ограничений по размеру файлов или разделов нет.

Идеальное использование: используйте его, когда вам нужен больший размер файла, чем предлагает FAT32, и когда вам нужно больше совместимости, чем предлагает NTFS. Предполагая, что каждое устройство, с которым вы хотите использовать накопитель, поддерживает exFAT, вы должны отформатировать ваше устройство с exFAT вместо FAT32.

NTFS идеально подходит для внутренних накопителей, тогда как exFAT, как правило, идеально подходит для флэш-накопителей. Однако иногда вам может потребоваться отформатировать внешний диск в FAT32, если exFAT не поддерживается на устройстве, с которым вам необходимо его использовать.

Поддержка exFAT должна уже присутствовать на уровне ядра, но если у вас какие-то проблемы с данной файловой системой, то установите драйвер и пакет утилит, включающий программу-помощник монтирования.

Для установки в Debian, Linux Mint, Ubuntu, Kali Linux и их производные:

Для установки в Arch Linux и производные:

После установки пакета exfat-utils, если в вашей системе настроено автоматическое монтирование подключаемых карт памяти и дисков, система сама смонтирует носитель с файловой системой exFAT. Либо для ручного монтирования используйте команду mount как обычно:

Источник

How to Mount and Use an exFAT Drive on Ubuntu Linux [Quick Tip]

Brief: This quick tutorial shows you how to enable exFAT file system support on Ubuntu and other Ubuntu-based Linux distributions. This way you won’t see any error while mounting exFAT drives on your system.

Problem mounting exFAT disk on Ubuntu

The other day, I tried to use an external USB key formatted in exFAT format that contained a file of around 10 GB in size. As soon as I plugged the USB key, my Ubuntu 16.04 throw an error complaining that it cannot mount unknown filesystem type ‘exfat’.

The exact error message was this:

Error mounting /dev/sdb1 at /media/abhishek/SHADI DATA: Command-line `mount -t “exfat” -o “uhelper=udisks2,nodev,nosuid,uid=1001,gid=1001,iocharset=utf8,namecase=0,errors=remount-ro,umask=0077” “/dev/sdb1” “/media/abhishek/SHADI DATA”‘ exited with non-zero exit status 32: mount: unknown filesystem type ‘exfat’

The reason behind this exFAT mount error

Microsoft’s favorite FAT file system is limited to files up to 4GB in size. You cannot transfer a file bigger than 4 GB in size to a FAT drive. To overcome the limitations of the FAT filesystem, Microsoft introduced exFAT file system in 2006.

As most of the Microsoft related stuff are proprietary, exFAT file format was no exception to that. Microsoft has been open sourcing few of its technologies and exFAT is one of them. The newly open sources exFAT file system will be supported in the upcoming Linux Kernel 5.4 release. You may check your Linux kernel version to make things sure.

But for Linux Kernel 5.3 and lower versions, it remains a proprietary software. Ubuntu and many other Linux distributions don’t provide the proprietary exFAT file support by default. This is the reason why you see the mount error with exFAT files.

Recommended Read:

How to Format a USB Disk as exFAT on Linux [Graphically and Command Line]

Want to create a exFAT disk in Linux? Learn how to format a USB as exFAT in Linux using both GUI and command line methods.

How to mount exFAT drive on Ubuntu Linux

The solution to this problem is simple. All you need to do is to enable exFAT support.

I am going to show the commands for Ubuntu but this should be applicable to other Ubuntu-based distributions such as Linux Mint, elementary OS etc.

Читайте также:  Windows 10 шрифты проводника

Open a terminal (Ctrl+Alt+T shortcut in Ubuntu) and use the following command to enable the universe repository because this repo contains your packages. Chances are that you already have the Universe repository enabled but no harm in double checking.

Update the repository information:

Now, you can install the required packages.

Once you have installed these packages, go to file manager and click on the USB disk again to mount it. There is no need to replug the USB. It should be mounted straightaway.

If you prefer videos, I made a quick video showing the steps in action.

Did it help you?

I hope this quick tip helped you to fix the exFAT mount error for your Linux distribution. If you have any further questions, suggestions or a simple thanks, please use the comment box below.

Like what you read? Please share it with others.

Источник

How to mount an exFAT drive on Linux

Last updated on January 31, 2021 by Dan Nanni

exFAT is a proprietary filesystem developed by Microsoft, which has been primarily used in Windows and many existing SD cards or USB drives. Compared to FAT32, exFAT offers many improvements in terms of file size limit (significant higher than FAT32’s 4GB limit), maximum disk size, maximum number of files, disk allocation performance, timestamp granularity, file name length, etc. Because of these enhancements and good compatibility with Windows and MacOS, exFAT has been used as a default filesystem for many existing high-capacity SD cards (e.g., SDXC) or USB flash drives.

On Linux, the support for exFAT has been available with a userspace implementation of exFAT filesystem, called fuse-exfat . The Linux kernel has incorporated native support for exFAT starting from version 5.4.

If you cannot mount an exFAT drive on your Linux system, this means that your kernel is lower than 5.4, and also that you do not have fuse-exfat installed.

In order to mount an exFAT drive on Linux with kernel lower than 5.4, you should install fuse-exfat on your Linux system as follows.

Install fuse-exfat on Linux

Install fuse-exfat on Ubuntu, Debian or Linux Mint

On Debian-based distributions, fuse-exfat is available as a package named exfat-fuse . Thus install exfat-fuse along with a set of exFAT utilities ( exfat-utils ):

Install fuse-exfat on CentOS 7

On CentOS 7, enable Nux Dextop and EPEL repositories, and then run:

Install fuse-exfat on CentOS 8

On CentOS 8, enable EPEL repository, and then use yum command:

Install fuse-exfat on Fedora

On Fedora, first enable rpmfusion-free repository, and then use the default package manager:

Mount an exFAT Drive on Linux

After fuse-exfat is installed, you can go ahead and mount an exFAT drive using mount command. Here the exFAT drive is mapped to /dev/sda1 , and the drive is mounted to /mnt .

Now verify that the mount is successful using mount and df commands:

Mount an exFAT Drive as Non-root User

In the above, an exFAT drive is mounted as the root, which means only the root has read/write access to the drive. If you want to mount it as a regular unprivileged user, you can specify your uid and gid at the time you mount the drive as follows.

First, identify your uid and gid with:

Then specify uid and gid with mount command:

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal (Credit Card) or Bitcoin ( 1M161JGAkz3oaHNvTiPFjNYkeABox8rb4g ).

Источник

Оцените статью