parted

sudo parted /dev/sda

parted

 

 

partition management