Parted

From Anthony Pastor Wiki Notes - Verba volant, scripta manent
Jump to navigation Jump to search

Command-line partition creation

Create an aligned sdc1 partition:

parted --script -a optimal /dev/sdc rm 1 mklabel gpt mkpart sdc 2048s -- -1