Start with sudo fdisk -l and determine the name of the partition you want to delete (sda1, sda2, etc). Then, sudo fdisk /dev/sdax with 'sdax' being the drive you would like to delete. This will enter command mode. After in command mode, (type 'm' if you want the help menu) you will use 'p' to delete the partition.