Skip to content

Instantly share code, notes, and snippets.

@flexits
Last active November 13, 2022 14:04
Show Gist options
  • Save flexits/e5b610a31506cb8e211a557f02186902 to your computer and use it in GitHub Desktop.
Save flexits/e5b610a31506cb8e211a557f02186902 to your computer and use it in GitHub Desktop.
Repair a corrupted UEFI bootloader
//boot from an installation USB stick into the Command Prompt
diskpart
list disk
sel disk 0 //select system disk
list vol
sel volume 2 //select the hidden FAT32 partition sized about 100Mb
assign letter M
exit
//format M: /FS:FAT32
bcdboot C:\windows /L ru-ru /s M: /f UEFI
//[additional info](http://woshub.com/how-to-repair-uefi-bootloader-in-windows-8/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment