bcdboot: add page (#11044)

* bcdboot: add page

* Update pages/windows/bcdboot.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
Anurag Kumar 2023-10-18 18:25:15 +05:30 committed by GitHub
parent 9fc4163dfb
commit cc56237803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/windows/bcdboot.md Normal file
View File

@ -0,0 +1,24 @@
# bcdboot
> A system utility to configure or repair boot files.
> More information: <https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di>.
- Initialize the system partition by using BCD files from the source Windows folder:
`bcdboot {{C:\Windows}}`
- Enable verbose mode:
`bcdboot {{C:\Windows}} /v`
- Specify the volume letter of the system partition:
`bcdboot {{C:\Windows}} /s {{S:}}`
- Specify a locale:
`bcdboot {{C:\Windows}} /l {{en-us}}`
- Specify a firmware type while copying the boot files to a specified volume:
`bcdboot {{C:\Windows}} /s {{S:}} /f {{UEFI|BIOS|ALL}}`