Skip to main content

Posts

Showing posts with the label terminal

LINUX Format USB Drive in the Terminal

LINUX Format USB Drive in the Terminal 1. Insert your USB drive into your system. 2. Open the terminal. (CTRL + ALT + T) 3. Look for the USB drive you want to format, by running: df The command above will display the directory path of your various drives. Take note of the drive you wish to format. In this tutorial, the name of the drive am going to format is  Seth  and its path under the filesystem is  /dev/sdc1 . NOTE: if df can not  list your usb drive you can use the following command:   dmesk | tail 3. Unmount drive using the syntax below: with root administrator : umount /dev/sdc1 4. Now run this command to format drive to fat32 : mkfs.vfat -n Ubuntu -I /dev/sdc1 Understanding the above command mkfs mkfs is used to build a Linux filesystem on a device, usually a hard disk partition. The device argument is either the device name (e.g. /dev/hda1, /dev/sdb2), or a regular file that shall contain the filesystem. The size argument is the nu...