parted: mklabel

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