Showing posts with label exfat. Show all posts
Showing posts with label exfat. Show all posts

How to Mount and Use an exFAT Drive on Linux | Dramel Notes

Posted On // Leave a Comment

The exFAT file system is ideal for flash drives and SD cards. It’s like FAT32, but without the 4 GB file size limit. You can use exFAT drives on Linux with full read-write support, but you’ll need to install a few packages first.

Try connecting an exFAT-formatted drive without installing the required software and you’ll often see “Unable to mount” error message saying “unknown file system type: ‘exfat’.”

How to Install exFAT Support

We performed this process on Ubuntu 14.04, but it’ll be similar on other versions of Ubuntu and other Linux distributions.

First, open a Terminal window from your applications menu. On Ubuntu and similar Linux distributions, type the following command and press Enter to install the appropriate packages. You’ll have to enter your password, too.

sudo apt-get install exfat-fuse exfat-utils

On other Linux distributions, use the appropriate software-installation command or open the graphical user interface and look for the “exfat-fuse” and “exfat-utils” packages. They may be called something a bit different — search for “exfat” and you should find them if they’re available in your Linux distribution’s package repositories.

Mount exFAT Drives Automatically

After you’ve installed the appropriate software, you can just connect an exFAT drive to your computer and it will be mounted automatically. If it’s already connected, just unplug the drive and plug it back in.

Modern Linux desktop environments are smart enough to automatically mount file systems when you connect removable devices, and — once you’ve installed the required software for mounting exFAT drives — they’ll work automatically. You can use them normally without ever pulling up a terminal again, and you’ll have full read-write support.

Mount exFAT Drives From the Terminal

This should “just work” with modern desktop environments, so the below commands shouldn’t be necessary. But, if you’re using a Linux distribution or desktop environment that doesn’t automatically mount file systems for you — or if you’re just using the terminal — you may need to mount the file system in the old-fashioned way.

This can be done just like you’d mount any other partition, using the “-t exfat” switch to tell the mount command to mount a file system as exFAT.

To do this, first create a directory that will be the “mount point” for the exFAT file system. The below command creates a directory at /media/exfat:

sudo mkdir /media/exfat

Next, run the following command to mount the device. In the example below, the device is located at /dev/sdc1. This is the first partition (1) on the third device (c). If you have a single drive in the computer and you just connected a USB drive to it, there’s a good chance the exFAT file system will be /dev/sdb1 instead.

sudo mount -t exfat /dev/sdc1 /media/exfat

You can now access the contents of the drive at the mount point you specified. In the example above, that’s /media/exfat. To unmount the partition when you’re done with it, just run the following command, specifying the appropriate device you specified earlier. You can then remove the storage device from your computer, if you like.

sudo umount /dev/sdc1


The exfat-utils package also contains a “mkfs.exfat” command. You can use this command to format partitions with the exFAT file system from Linux, if you like. You can also just format them with exFAT from Windows, Mac, or other devices that support exFAT.

[Read more]

What’s the Difference Between FAT32, exFAT, and NTFS? | Dramel Notes

Posted On // Leave a Comment

Whether you’re formatting an internal drive, external drive, USB flash drive, or SD card, Windows will give you the choice of NTFS, FAT32, and exFAT. The Format dialog in Windows doesn’t explain the difference, so we will.

FAT32 is an older file system that’s largely relegated to USB flash drives and other external drives. Windows uses NTFS for its system drive, and it’s also ideal for other internal drives. exFAT is a modern replacement for FAT32, and more devices support it than do NTFS — although it’s not as widespread as FAT32.

FAT32

FAT32 is the oldest file system here. It was introduced all the way back in Windows 95 to replace the older FAT16 file system.

This file system’s age has advantages and disadvantages. Because it’s so old, it’s the de-facto standard. Flash drives you purchase will often come formatted with FAT32 for maximum compatibility across not just modern computers, but other devices like game consoles and anything with a USB port.

Limitations come with that age, however. Individual files on a FAT32 drive can’t be over 4 GB in size — that’s the maximum. A FAT32 partition must also be less than 8 TB, which is less of a limitations — but still a noticeable one if you have a new, high-capacity mechanical drive.

While this file system is okay for USB flash drives and other external media, you won’t want to use this for an internal drive. It lacks the permissions and other security features built into the more modern NTFS file system. Modern versions of Windows can no longer be installed to FAT32, and must be installed onto drives formatted with NTFS.

Compatibility: Works with all versions of Windows, Mac, Linux, game consoles, and practically anything with a USB port.

Limits: 4 GB maximum file size, 8 TB maximum partition size.

Ideal Use: Use it on removable drives for maximum compatibility with the widest range of devices, assuming you don’t have any files 4 GB or larger in size.

NTFS

NTFS is the modern file system Windows likes to use. When you install Windows, it formats your system drive with the NTFS file system. NTFS has file size and partition size limits that are so theoretically huge you won’t run up against them. NTFS first appeared in consumer versions of Windows with Windows XP.

Aside from these limitations, NTFS is packed with other modern features. It supports file permissions for security, a change journal that can help quickly recover errors if your computer crashes, shadow copies for backups, encryption, disk quota limits, hard links, and other various features. Many of these are crucial for an operating system drive — especially file permissions.

Your Windows system partition must be NTFS. If you have a secondary drive alongside Windows and you plan on installing programs to it, you should probably go ahead and make it NTFS, too.

However, NTFS just isn’t as compatible with other operating systems. It’ll work with all recent versions of Windows — all the way back to Windows XP — but it has limited compatibility with other operating systems. By default, Mac OS X can only read NTFS drives, not write to them. Some Linux distributions may enable NTFS-writing support, but some may be read-only. None of Sony’s PlayStation consoles support NTFS. Even Microsoft’s own Xbox 360 can’t read NTFS drives, although the new Xbox One can. Other devices are even less likely to support NTFS.

Compatibility: Works with all versions of Windows, but read-only with Mac by default, and may be read-only by default with some Linux distributions. Other devices — with the exception of Microsoft’s Xbox One — probably won’t support NTFS.

Limits: No realistic file-size or partition size limits.

Ideal Use: Use it for your Windows system drive and other internal drives that will just be used with Windows.

exFAT

exFAT was introduced in 2006, and was added to older versions of Windows with updates to Windows XP and Windows Vista.

It’s a file system optimized for flash drives. It’s designed to be a lightweight file system like FAT32 without all NTFS’s extra features and overhead, but without FAT32’s limitations.

Like NTFS, exFAT has very large file size and partition size limits. This means you can store files that are larger than 4 GB apiece on a flash drive or SD card if it’s formatted with exFAT. exFAT is a strict upgrade over FAT32, and should be the best choice for external drives where you want a lightweight file system without FAT32’s file size limits.

exFAT is also more compatible than NTFS. While Mac OS X includes only read-only support for NTFS, Macs offer full read-write support for exFAT. exFAT drives can be accessed on Linux by installing the appropriate software.

While exFAT is compatible with Macs — and will be compatible with some devices that don’t support NTFS, like digital cameras — it still isn’t quite as compatible. Microsoft’s own Xbox 360 doesn’t support it, although the Xbox One does. The PlayStation 3 doesn’t support exFAT drives, although the PlayStation 4 reportedly does. Various other older devices may only support FAT32 instead of exFAT.

Compatibility: Works with all versions of Windows and modern versions of Mac OS X, but requires additional software on Linux. More devices support exFAT than support NTFS, but some — particularly older ones — may only support FAT32.

Limits: No realistic file-size or partition-size limits.

Ideal Use: Use it for USB flash drives and other external drives, especially if you need files of over 4 GB in size. Assuming every device you want to use the drive with supports exFAT, you should format your device with exFAT instead of FAT32.


NTFS is ideal for internal drives, while exFAT is generally ideal for flash drives. However, you may sometimes need to format an external drive with FAT32 if exFAT isn’t supported on a device you need to use it with.

[Read more]