Ubuntu – Can’t format Ubuntu installation stick


I've made an USB installer stick from Windows with Ubuntu 16.04 LTS , now I'm trying to format it from Ubuntu. When I try to format I get this error :

This partition cannot be modified because it contains a partition table; >please reinitialize layout of the whole device. (udisks-error-quark, 11)

Best Answer

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.