Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to format USB disk to exFAT on Linux

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to format an exFAT disk on Linux", which is easy to understand and well-organized. I hope it can help you solve your doubts. Let me lead you to study and learn this article "how to format a USB disk to exFAT on Linux".

FAT has long been the default choice for formatting disk file systems. It is compatible with almost all major operating systems.

One of the main problems with the FAT file system is that you cannot transfer files larger than 4GB. This means that even if your USB disk has free space for 32GB, if you try to transfer ISO images or other files larger than 4GB, the transfer will fail.

This can cause problems in the case of creating a bootable USB disk for Windows in Linux. You cannot use NTFS, and the FAT file system has a 4GB size limit.

In order to overcome the limitation of FAT file system, Microsoft launched exFAT file system. In this tutorial, I will show you how to format a USB disk using the exFAT file system.

precondition

Starting with Linux kernel 5.4, exFAT file system support is enabled in the Linux kernel itself. Check the running version of the Linux kernel. If it's kernel 5.4 or later, it should be fine.

Otherwise, you must enable exFAT support. In a Ubuntu-based distribution, you can install the following packages:

Sudo apt install exfat-fuse exfat-utils method 1: use the GNOME disk tool to format the disk as exFAT

Formatting a drive using GNOME disks is a simple task. It is pre-installed in many Linux distributions.

Insert an external USB disk. Look for "Disk" in the menu and open the "GNOME disk" application. The first step is to select the drive you want to format and follow my steps.

Warning: please note that you want to select the formatted disk. Do not accidentally format the primary disk.

Common file systems such as Ext4, NTFS, and FAT will appear first. To use exFAT, select other, and then click next.

Final step: select the exFAT file system on this page, and then click create. It's done!

See how easy it is to create exFAT disks graphically in Linux? Now, let me show you the terminal method.

Method 2: format the disk as exFAT in the Linux command line (for advanced users)

Fdisk is an interactive command line program that creates and manipulates partition tables and partitions on a hard disk. In fact, it is considered to be one of the best partitioning tools for Linux.

Insert the external hard drive and enter the following command in the terminal:

Sudo fdisk-l

This lists all hard drives and partitions in the computer. Identify the partition to be formatted on the external hard drive. The disk size should be prompted. For me, the USB disk is marked / dev/sdb1.

Once you have identified the USB disk, use the following command to format it as exfat. Replace / dev/sdXn with your disk ID. LABEL is the name you want to name the disk, such as Data, MyUSB, etc.

Sudo mkfs.exfat-n LABEL / dev/sdXn

Optionally, run a fsck check to ensure that the format is correct.

Sudo fsck.exfat / dev/sdXn above are all the contents of the article "how to format a USB disk to exFAT on Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report