
In the Gparted utility, right click on the USB partition you want to format and select Unmount option.ĥ. Before formatting the USB stick, you must first unplug it. To view the details of your USB drive, select it from the dropdown located in the upper right corner as shown in the following screenshot.Īfter you select the USB drive, you can see its details in the Gparted window.ĥ. When the utility starts, the hard disk partition / dev / sda is displayed by default. Enter your password and click Authenticate button.Ĥ. You will need to enter the root password for authentication, since only the root user can run the Gparted utility. Then, in the results, click the Gparted utility to open it.ģ. Run the Gparted utility by pressing the super-key on your keyboard and searching the search bar. Hit Y and then To come in to continue, after that Gparted will be installed on your system.Ģ. The system may offer a Yes / No option to continue the installation procedure. Run the following command in Terminal to install the Gparted utility: $ sudo apt-get install GParted In this tutorial, you have learned to format a USB drive on a Linux system via the command-line interface.1. Similarly, you can format a USB Flash drive with any required file system. Format with EXT4 File System sudo mkfs.ext4 /dev/sdc1.Format with NTFS File System sudo mkfs.ntfs /dev/sdc1.


df -h Filesystem Size Used Avail Use% Mounted on This is the step you need to take care, because you may format the wrong disk if not correctly identify your disk. Insert a USB drive into your system and identify your USB drive correctly. This tutorial will help Ubuntu (Linux) users with the simple steps for format a USB flash drive using the command line.
