Can't format Ubuntu installation stick

Solution 1:

I got this fixed by doing the following

  1. On your unity dash, type gnome-disks and launch the Disks application

  2. Select the disk or drive you want to format

  3. Press CTRL+F

  4. Click format.

After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.

Solution 2:

Make sure you have GParted installed. In a terminal window, run

sudo apt install gparted

Then open GParted as root (still in the terminal window):

sudo gparted

Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...

This will erase all the data from the stick, so be sure you don't have anything valuable in it.

There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).

Don't forget to apply your configuration by clicking the green "check" button in GParted.