Contents
To format a USB drive, most of the users prefer VFAT and NTFS file systems because they can be easily used on the Windows operating system.
- Format with vFat File System sudo mkfs.vfat /dev/sdc1.
- Format with NTFS File System sudo mkfs.ntfs /dev/sdc1.
- Format with EXT4 File System sudo mkfs.ext4 /dev/sdc1.
How do I wipe a USB drive in Linux?
First we need to delete the old partitions that remain on the USB key.
- Open a terminal and type sudo su.
- Type fdisk -l and note your USB drive letter.
- Type fdisk /dev/sdx (replacing x with your drive letter)
- Type d to proceed to delete a partition.
- Type 1 to select the 1st partition and press enter.
How do I format a USB drive in Ubuntu?
Method 1 Using the Disks Utility
- Click the Dash button and search for “disks.”
- Launch Disks from the search results.
- Select your USB drive from the list of devices.
- Select at least one volume on the USB drive.
- Click the Gear button underneath the Volumes and select “Format.”
- Select what you want to erase.