Hello,
If the unallocated space is not contiguous, you might need to delete or shrink adjacent partitions to create a continuous space. This may involve backing up data and deleting partitions, so proceed with caution.
If the Answer is helpful, please click "Accept Answer" and upvote it.