Go to the first, previous, next, last section, table of contents.


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 will make it basically unusable, and you will need to use the rescue command (see section 9. Related Software and Info) to recover any partitions. Gpart only works for msdos disk labels (AFAIK), but is much better than parted at recovering partitions. Parted works on all partition tables. (1)

label-type must be one of these supported disk labels:

Example:

(parted) mklabel msdos

Create an msdos style disklabel.


Go to the first, previous, next, last section, table of contents.