parted: rm

 
 2.4.11 rm
 ---------
 
  -- Command: rm NUMBER
 
      Removes the partition with number NUMBER.  If you accidently delete
      a partition with this command, use mkpart to recover it.  Also, you
      can use the gpart program (SeeRelated information) to recover
      damaged disk labels.
 
      Note for msdos disk labels: if you delete a logical partition, all
      logical partitions with a larger partition number will be
      renumbered.  For example, if you delete a logical partition with a
      partition number of 6, then logical partitions that were number 7,
      8 and 9 would be renumbered to 6, 7 and 8 respectively.  This
      means, for example, that you have to update '/etc/fstab' on
      GNU/Linux systems.
 
      Example:
 
           (parted) rm 3
 
      Remove partition 3.