parted: mklabel
2.4.4 mklabel
-------------
-- Command: mklabel LABEL-TYPE
Creates a new disk label, of type LABEL-TYPE. The new disk label
will have no partitions. This command (normally) won't technically
destroy your data, but it will make it basically unusable, and you
will need to use the rescue command (Related information)
to recover any partitions. Parted works on all partition tables.
(1)
LABEL-TYPE must be one of these supported disk labels:
* bsd
* loop (raw disk access)
* gpt
* mac
* msdos
* pc98
* sun
Example:
(parted) mklabel msdos
Create an MS-DOS disk label. This is still the most common disk
label for PCs.
---------- Footnotes ----------
(1) Everyone seems to have a different word for "disk label" -- these
are all the same thing: partition table, partition map.