Unknown filesystem type exfat astra linux

How to mount an exFAT drive on Linux

Question: I am trying to mount a USB flash drive which is formatted in exFAT on my Linux machine. But the mount command fails with the following error. How can I fix this error and mount the exFAT drive?

mount: /mnt: unknown filesystem type 'exfat'.

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 ):

$ sudo apt install exfat-fuse exfat-utils

Install fuse-exfat on CentOS 7

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

$ sudo yum install fuse-exfat exfat-utils

Install fuse-exfat on CentOS 8

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

$ sudo yum install fuse-exfat exfat-utils

Install fuse-exfat on Fedora

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

$ sudo dnf install fuse-exfat exfat-utils

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 .

$ sudo mount -t exfat /dev/sda1 /mnt

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

/dev/sda1 on /mnt type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 fuseblk 62482048 2432 62479616 1% /mnt

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.

Читайте также:  Linux install php nginx

First, identify your uid and gid with:

uid=1001(alice) gid=1001(alice) groups=1001(alice),130(libvirt)

Then specify uid and gid with mount command:

$ sudo mount -o rw,users,uid=1001,gid=1001,dmask=007,fmask=117 /dev/sda1 /mnt

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal or credit card

Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.

Источник

Не поддерживает exFAT?

Сегодня при подключении флэшки мой SE 1.6 выдал сообщение что фс exFAT не поддерживается. Будет ли это исправлено? Спасибо.

Fd1501h

Moderator

Сегодня при подключении флэшки мой SE 1.6 выдал сообщение что фс exFAT не поддерживается. Будет ли это исправлено? Спасибо.

Cat

New member

Установил этот пакет в SE 1.5

При попытке примонтировать exfat устройство через иконку в трее возникла ошибка:

Раскомментировал строчку в /etc/fuse.conf (user_allow_other или типа того — она там одна была)

После этого при попытке примонтировать exfat устройство через иконку в трее возникла другая ошибка:

Что с этим делать не знаю.

При этом устройство можно примонтировать через командную строку (изменений в /etc/fuse.conf для этого не требуется):

В идеале хотелось бы подключать через трей.

Montfer

New member

Установил этот пакет в SE 1.5

При попытке примонтировать exfat устройство через иконку в трее возникла ошибка:
Посмотреть вложение 279

Раскомментировал строчку в /etc/fuse.conf (user_allow_other или типа того — она там одна была)

После этого при попытке примонтировать exfat устройство через иконку в трее возникла другая ошибка:
Посмотреть вложение 280

Что с этим делать не знаю.

При этом устройство можно примонтировать через командную строку (изменений в /etc/fuse.conf для этого не требуется):
Посмотреть вложение 281

В идеале хотелось бы подключать через трей.

Источник

Монтирование exFAT в Ubuntu

Файловая система FAT использовалась в качестве основной файловой системы в ранних версиях Windows, а потом начала применяться преимущественно для внешних носителей информации и различных флешек. Но у этой файловой системы есть несколько недостатков, самый заметный из которых — максимальный размер файла не более 4 Гигабайт.

В Microsoft были озабочены этой проблемой, и поэтому ещё в 2006 году была выпущена улучшенная версия этой файловой системы — exFAT. Здесь теоретический лимит на размер файла составляет уже 16 Эксабайт, что даже больше, чем достаточно. Но, как и другие продукты Microsoft, эта файловая система имеет закрытый исходный код и по умолчанию в Linux не поддерживается. В этой статье мы поговорим о том, как выполняется монтирование exFAT в Ubuntu

Читайте также:  Java packages in linux

Монтирование exFAT в Ubuntu

Если вы попытаетесь примонтировать флешку или другой раздел, отформатированный в exFAT, в операционной системе Linux, то получите ошибку «mount: unknown filesystem type exfat», потому что эта файловая система не поддерживается.

Исправить такую проблему достаточно просто. Для этой файловой системы реализована поддержка Linux с помощью виртуальной файловой системы fuse. Для установки всех необходимых компонентов просто выполните:

sudo apt install exfat-fuse exfat-utils

После этого можно примонтировать раздел с exFAT ubuntu обычной командой монтирования:

Или же через файловый менеджер, просто найдите нужный раздел и откройте его:

Форматирование exFAT в Linux

Если вы хотите создать новый раздел в файловой системе exFAT, то для этого достаточно выполнить команду:

sudo mkfs -t exfat /dev/sdb1

Здесь /dev/sdb1 — адрес вашего раздела, который вам необходимо отформатировать в новую файловую систему.

Выводы

В этой небольшой статье мы разобрали, как примонтировать exFAT Ubuntu 18.04. Несмотря на то, что статья писалась про Ubuntu, эти команды будут работать и для большинства дистрибутивов, основанных на этой операционке.

Обнаружили ошибку в тексте? Сообщите мне об этом. Выделите текст с ошибкой и нажмите Ctrl+Enter.

Источник

Error Mounting — Unknown Filesystem Type Exfat

If you are seeing the message “Error Mounting — Unknown Filesystem Type Exfat” you are probably trying to mount an SD card or USB drive. The error means that you don’t have the needed packages to to mount an exfat filesystem. The solution is to just install the packages. It takes about a minute.

To install the needed packages so that you can mount exfat formatted disks on Ubuntu, just run this command:

 sudo apt install exfat-fuse exfat-utils 

On Fedora you can use either of the following two commands depending on what version you are using:

 sudo dnf -y install exfat-utils fuse-exfat 
 wget https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-28.noarch.rpm sudo yum install rpmfusion-free-release-28.noarch.rpm sudo yum install fuse-exfat 

Here we show you how to mount an exfat filesystem on Ubuntu Linux:

Actually Mounting An Exfat Filesystem

Once you have the correct packages / utilities installed you can mount an exfat filesystem. You would use a command like the following:

 sudo mount -t exfat /dev/sdc1 /mnt/my-disk/ 

You could also use the disk tool that we used in the video. Either way works fine.

What is exFAT?

exFAT is a file system that is typically found on SD cards and USB flash drives. It has been optimized for flash memory like these. For SDXC cards over 32 GB it is the default filesystem. It supports larger files than FAT32 but has less overhead than NTFS.

  • Supported by many newer versions of systems (Windows, OSX, Linux, Cameras, etc.)
  • 16 exbibyte file size limit
  • great for SD cards, USB drives, and cameras
  • easy to implement in firmware ( like on cameras )

exFAT SD card USB drive

It is supported by a large number of systems and devices. Many cameras and other devices use it. If you are switching between multiple operating systems this is probably the best choice.

Читайте также:  Linux mint изменить swap

exFAT vs FAT32

exFAT vs FAT32

FAT32 doesn’t support files larger than 4 GB. Otherwise it isn’t a terrible choice for an SD card or USB drives as it is supported by a wide number of systems.

  • 4GB file size limit
  • Common on SD cards under 32 GB
  • Old and widely used
  • Based on the older fat16

exFAT vs NTFS

exFAT vs NTFS

NTFS is currently read only on OSX. Linux has had suboptimal NTFS support in the past but should be OK now. As far as I know NTFS has been pretty stable on Linux for years now. That said, I haven’t used NTFS on Linux in years and I tend to shy away from it.

  • Read only on OSX (by default)
  • I still don’t trust it on Linux
  • More features than exFAT
  • More reliable, has journaling
  • Harder to implement in firmware ( like on cameras )

Others

There are many other filesystems out there but most of them are not great candidates for cross platform usage.

One potential option is ext4. This is the default filesystem on many Linux distros these days. While you can technically get ext4 to work on both Windows and OSX it will probably end up taking you more effort than it is worth and you could still run into issues. I wouldn’t trust it to be stable or reliable on either Windows or OSX.

ZFS is also not a great option. It isn’t just for Linux, BSD, and Solaris. It is supported on OSX and even on Windows these days (as crazy as that sounds). Cameras don’t tend to support it for obvious reasons. You don’t really want it on a USB drive or an SD card. You also don’t want to be moving it between systems all the time.

FAQ

  • Which is better fat32 or exFAT? exFAT is better.
  • Can I use exFAT instead of fat32? Yes, on most modern systems.
  • Should I use exFAT? Yes, for SD cards and USB flash drives or anything that youw want to work on multiple different operating systems.
  • Is exFAT a reliable format? Sort of. It doesn’t support journaling so it will be less reliable than NTFS or ext4. It is fine for what it does. Don’t use it for long term storage and don’t pull it out while it is being written to.
  • Can Windows 10 read exFAT? Yes.
  • Why is exFAT so slow? The storage format that it uses is slow. Also, it is meant for flash storage and could be slower on mechanical drives.
  • Does exFAT have file size limit? Yes, 128 PiB.
  • What are the limitations of exFAT?
    • Max file size 128 PiB (theoretical 16 EiB–1)
    • Max volume size 128 PiB, 512 TiB recommended
    • Max filename length 255 characters
    • Max number of files up to 2,796,202 per directory

    References

    Источник

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