When it comes to trying new Linux distros, I find myself deleting hidden partitions from time to time. This is also useful when software tools set up your USB flash drive or SD card and you end up seeing only a portion of total available space. Be sure to backup your important files as this would completely wipe everything. Here's how to reclaim the entire usable capacity from your storage media:

On Windows, open the CMD prompt as admin and enter diskpart.

  1. Once you're in the utility, start with list disk
  2. Determine which number belongs to the USB drive or other storage medium (the capacity of the device usually good indicator)
  3. Next enter select disk [YOUR DISK NUMBER]
  4. Once you chose the appropriate one, type list partition
  5. Then select partition 0 and delete partition [override] (use "override" to get rid of stubborn OEM partitions)
  6. Repeat as necessary for multiple partitions
  7. When all the partitions are deleted, enter create partition primary or go into Disk Management after to allocate your medium

For Linux based OSs there tools like fdisk, mkfs, and parted. They may require elevated privileges or for you to be in root for them to work properly.