Last active
September 6, 2021 09:30
-
-
Save twilson90/cafa33b0b813a635ec93fd39a4309d2b to your computer and use it in GitHub Desktop.
EFI Partition Creation Guide for Windows 10
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
Boot with Windows Install Disk / Recovery Tool USB | |
Advanced Options -> Command Prompt: | |
Enter the following (hashtags are comments, not part of the command): | |
diskpart | |
list disk | |
select disk N # N refers to the disk which contains the deleted the EFI System partition. | |
list partition | |
select partition N # The primary partition. | |
shrink desired=100 # This will shrink your primary partition by 100MB, if you have at least 100MB unallocated space, ignore this step. | |
create partition efi size=100 | |
assign letter=S # This temporarily assigns the partition a drive letter for reference later. | |
list partition | |
select partition N # The new partition should be selected already, but select it again to be sure. | |
format quick fs=fat32 | |
list volume # Find the volume letter which belongs to the installed Windows OS | |
exit | |
bcdboot C:\windows /s S: /f ALL # C refers to the volume letter of installed Windows OS from the previous command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment