To partition the persistent storage run sudo fdisk /dev/diskX and follow instructions for MBR or (U)EFI. To determine which mode you are booted into, run:
sudo fdisk /dev/diskX