Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This is to fix a drive with multiple partitions on Windows:
1. Open an elevated command prompt/powershell
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)
In Windows, go to Computer and try to open the disk. It will ask you to format it.
Format it with the default settings and give it a name if you want.
It should now a single, unified partitioned drive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment