💾 Archived View for unixcat.coffee › techne › windows.gmi captured on 2021-12-03 at 14:04:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2022-01-08)

-=-=-=-=-=-=-

Microsoft Windows

Restore boot files if EFI partition was deleted

The following commands will format the current EFI partition, mount it to s:, and copy the boot files:

diskpart
> list disk
> sel disk 0
> list part
> sel part 1 * EFI partition
> format fs=fat32 quick label=System
> list vol * find the Windows OS drive letter, assume `C:` in this case
> exit
mountvol S: /S
bcdboot c:\windows /s s: /f UEFI /v
exit

~~~

Last updated: 2021-11-19

Back to Techne index

Back to unixcat.coffee