Skip to content

Instantly share code, notes, and snippets.

@crabdancing
Created December 2, 2020 07:17
Show Gist options
  • Save crabdancing/ea344ba4f0b770e12b5037c295007cf9 to your computer and use it in GitHub Desktop.
Save crabdancing/ea344ba4f0b770e12b5037c295007cf9 to your computer and use it in GitHub Desktop.
Quick walkthrough of fixing EFI partition on Windows, from Windows recovery terminal.

diskpart

list disk

Choose disk number that contains the target Windows install.

sel disk [number you chose]

list vol

Choose volume number that contains EFI partition.

sel vol [volume number you want]

assign letter=G:

You may want to use a letter other than G, if G is taken. But usually it's a safe letter to use.

exit

bcdboot C:\Windows /s G: /f UEFI

And that should be about it.

@crabdancing
Copy link
Author

note to self: the sel disk step doesn't seem to actually do anything. diskpart kept showing me partitions that were on other disks. >.>

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