“Failed to format
The error while formatting a USB drive on Ubuntu or Lubuntu is most common with USB drives that have been made bootable with either Windows OS or Linux.
In this guide, we are going to use GParted, a Gnome partition editing software. GParted is used for creation, deletion, formatting, resizing, as well as changing file systems.
So let’s get started with the process of fixing the failed to format USB drive.
Read also: USB drive showing less size fixed
Install GParted on Ubuntu
The first step you got to do is to install GParted on your PC. GParted can
Open the Terminal from either the main application menu or by clicking by Ctrl + Alt + T at the same time.
Enter the following command in the Terminal and press Enter
sudo apt-get install gparted
If you haven
Be patient while GParted is being installed. The installation will take a few seconds.
Open GParted to format the USB drive.
You can open GParted by either entering a command in the terminal or by searching for “GParted” through the Applications menu.
To open GParted from the terminal, enter the following command and press Enter
Click on the GParted label at the top left corner. Under devices, select the USB drive. (It would be better if you remove all the other external storage devices to avoid confusion when choosing the drive to format).
Another way to open the USB drive in GParted is by clicking on the drop-down button located at the top right corner and then selecting the USB drive.
After selecting the USB drive to format, right-click on the device and click on Unmount
Select the device again and then click on the
From the options, select Format to. This lists the various file systems that the partition can be configured with.
If you don’t plan to use the USB drive with any other Operating System then choose ext4.
However, if you can to use the USB drive on other Operating systems as well, then choose fat32
You’ll be prompted to confirm the operation. After confirming, it will be a pending operation until you click on the Apply button. So go ahead and click on Apply.
The process will take a few seconds and then will display a success message.
Create a Partition Table
Read also: Fix damaged USB drive with Diskpart
If the previous steps don’t work for you, then you will need to create a new partition table for the USB drive.
Click on the Device and then choose to create partition table
Select new partition table style as msdos and then click Apply
At this point, The partition will be displayed as an unallocated space. Right Click on the partition and select new
Leave the other fields as default and then click Add
Click Apply in the top section to co
A success message will be displayed on completion of the process, and then you’re good to go.
If after trying out all these steps you’re unable to fix the USB drive, then it’s probably damaged, and may want to replace it with a new one.