In the example above, the USB drive is recognized by the operating system as a disk named /dev/sdb with a single partition /dev/sdb1 mounted on /media/user/usb0. I will provide the examples of disk formatting to the most popular file system types: FAT32, exFAT, NTFS, EXT4, XFS and will show how to list the all supported file systems.Ĭool Tip: Check the real actual size of USB flash drive or SD card! Read More → Format USB Drive in LinuxĮxecute the lsblk command to identify the name of the partition on the USB drive you want to format: $ lsblk -fp In this note i will show how to format an external HDD, SSD or USB flash drive in Linux from the command line using mkfs utility. Formatting USB drives in Linux from the command line (terminal) is very easy.
0 Comments
Leave a Reply. |