Partitions

can be managed using several tools

use gdisk is much like fdisk but better

after you make your changes Run the udevadm settle command. This command waits for the system to register the new partition, and returns when it is done.