162

I have a USB drive that I accidentally partitioned when trying to put Ubuntu on it. It's a 16 GB Kingston flash drive but it is now split to two partitions, 7.30 GB each.

How do I combine the two partitions into one? I have tried Disk Management in Windows but no luck.

Indrek
  • 24,874

4 Answers4

341

You can do this by using diskpart on Windows:

  1. Open an elevated command prompt.
  2. Run diskpart
  3. list disk
  4. Note the disk number that corresponds to your USB drive (it should be obvious going by size)
  5. select disk X where X is the number from step 4
  6. list partition - There should be two, numbered 0 and 1, each about 7 GB
  7. select partition 0
  8. delete partition
  9. select partition 1
  10. delete partition
  11. create partition primary
  12. exit
  13. Exit Command Prompt (type exit or just close the window)
  14. In Windows, go to Computer(or This PC for Windows 10) and try to open the disk. It will ask you to format it.
  15. Format it with the default settings and give it a name if you want.

It should now a single, unified partitioned drive.

K.A.Monica
  • 6,641
10

Try MiniTool Partition Wizard or choose a program from this list.

5

I can recommend rufus. When you have a USB stick with multiple partitions attached, it will automatically select the USB-Stick, detect that it has multiple partitions and you can format the stick safely (select defaults - non-bootable, MBR).

Install with Chocolatey: choco install rufus

Alex
  • 189
5

Just open the drive with GParted (included on Ubuntu; make sure to boot it from another device than the USB drive) and click "Create new Partition Table". Select MS-DOS and create one big FAT32 partition to fill the drive.