Skip to content

Instantly share code, notes, and snippets.

@derozic
Created April 6, 2018 16:37
Show Gist options
  • Save derozic/2adbf797fec8abf8d9e2a157ebb94cae to your computer and use it in GitHub Desktop.
Save derozic/2adbf797fec8abf8d9e2a157ebb94cae to your computer and use it in GitHub Desktop.
Windows: Diskpart to format external USB and make bootable
SOP for a bootable USB key is:
Launch DiskPart as an Administrator.
Use List Disk to find your USB key
Use Select Disk to choose your USB key.
Clean (to wipe out the USB and delete the partition entries).
Run Create Partition Primary to create a new primary partition on the USB flash drive.
Format FS=NTFS Quick to lay down the file system as NTFS.
Assign (to give our USB a drive letter).
Active to make it bootable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment