Skip to content

Instantly share code, notes, and snippets.

@andreyuhai
Created April 3, 2019 21:46
Show Gist options
  • Save andreyuhai/2dd6d6e6e90ecb75a6d51d6bbacc86dc to your computer and use it in GitHub Desktop.
Save andreyuhai/2dd6d6e6e90ecb75a6d51d6bbacc86dc to your computer and use it in GitHub Desktop.
When USB stick's size is reduced
Open command line (cmd) and type diskpart. Allow the windows to run it.

type list disk, and find the number of your USB flash disk.

type select disk X, and type the number of the USB disk instead of X.It should say that disk X is now selected.

type clean.
type create partition primary.

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment