Parted
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
Create an aligned sdc1 partition:
parted --script -a optimal /dev/sdc rm 1 mklabel gpt mkpart sdc 2048s -- -1