Step 1: Locate USB Drive
Open the terminal and run the following command: df
Step 2: Unmount and Format USB Drive
Unmount the USB drives before formatting. To do so, run this command:
sudo umount /dev/sdb1
After unmounting, format the USB drive using the preferred file system (replace sdb1 with the name of your device):
- To format a USB drive with FAT32 file system, use: ```
sudo mkfs.vfat /dev/sdb1
## Step 3: Verify USB Drive Formatting
Confirm the formatting process has completed successfully:
sudo fsck /dev/sdb1

Top comments (0)