Create the partition with the requested type.