Skip to content

Instantly share code, notes, and snippets.

@tiandiduwuxiaoxiao
Created February 5, 2018 09:39
Show Gist options
  • Save tiandiduwuxiaoxiao/718e1ca009ed93f1e6f6ed32a8724303 to your computer and use it in GitHub Desktop.
Save tiandiduwuxiaoxiao/718e1ca009ed93f1e6f6ed32a8724303 to your computer and use it in GitHub Desktop.
hard disk partition while you reinstall the system

Use diskpart to partition hard disk while you want to reinstall your pc system

You can follow the few steps below

  1. After you start you computer and in the system install interface,you can press shift F10 open terminal.
  2. Then,type the below command:
diskpart
list disk
select disk 0
detail disk
clean
Create partition primary size=30720
active
format quick
lsit partition
create partition extended
create partition logical size=512000
format quick
Create Partition Logical
format quick
exit
exit

You can refer the article

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