Created
May 17, 2020 08:04
-
-
Save bohanyang/fa054e22d8cd0080867dbe938e957b36 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select disk 0 | |
clean | |
convert gpt | |
create partition efi size=260 | |
format quick fs=fat32 | |
create partition msr size=16 | |
create partition primary | |
shrink minimum=300 | |
format quick fs=ntfs | |
assign letter="C" | |
create partition primary | |
format quick fs=ntfs | |
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac" | |
gpt attributes=0x8000000000000001 | |
list partition | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions