I can't format my pendrive (where ubuntu was loaded as live-usb) . Whenever I do , they say .
This partition cannot be modified because it contains a partition table; please reinitialize layout of the whole device. (udisks-error-quark, 11)
What to do ? I use Disks in Ubuntu 16.04
Best Answer
If you don't have any valuable data on that drive you can create a new partition table with Gnome Disks if it doesn't like the current one:
Click on the cogwheel for drive operations and select “Format…”.
Select a suitable partition table type and click on “Format…” again. For a USB flash drive you probably want “MBR/DOS” as the partition type like in the screenshot.
Confirm that you want to overwrite the partition table and lose all data on the drive.
Afterwards create a new partition and format it.
Click on the button with the ✚ sign below the partition layout.
Select
optionally a name.
Click on “Create”, wait a while for the file system creation to finish (can be in the range of minutes for a large but slow drive) and you’re done!