Delete Extra Partitions on a USB Drive with DiskPart (Windows)
When a USB drive has multiple partitions or is unrecognised by Windows after Linux use, DiskPart can wipe and recreate it cleanly.
Step 1 — Open DiskPart
Win + R → type: diskpart → Enter
Step 2 — Identify the USB Disk
DISKPART> list disk
Note the disk number of your USB drive (e.g., Disk 1).
Step 3 — Select and Clean the Disk
DISKPART> select disk 1
DISKPART> clean
Step 4 — Create a New Partition
DISKPART> create partition primary
DISKPART> select partition 1
DISKPART> active
DISKPART> format fs=fat32 quick label="USB"
DISKPART> assign
DISKPART> exit
Notes
- Double-check the disk number —
cleanwipes everything on the selected disk. - Use
format fs=ntfs quickfor drives >32 GB if FAT32 file size limits are a concern.