How to Format USB Drive in the Terminal

Open the terminal. (CTRL + ALT + T)
Look for the USB drive you want to format, by running:
$ df
Unmount drive using the syntax below:
$ sudo umount /dev/sdc1( pendrive drive)
Now run this command to format drive to fat32:
sudo mkfs.vfat -n 'Ubuntu' -I /dev/sdc1( pendrive drive)


Comments

Popular posts from this blog

Exomiser error " Exception in thread "main" java.lang.OutOfMemoryError: Java heap space "

How to Install R and RStudio on Ubuntu 16.04