2023-10-18 13:55:15 +01:00
|
|
|
# bcdboot
|
|
|
|
|
2023-10-25 13:19:51 +01:00
|
|
|
> Configure or repair boot files.
|
|
|
|
> More information: <https://learn.microsoft.com/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di>.
|
2023-10-18 13:55:15 +01:00
|
|
|
|
|
|
|
- Initialize the system partition by using BCD files from the source Windows folder:
|
|
|
|
|
|
|
|
`bcdboot {{C:\Windows}}`
|
|
|
|
|
2023-10-25 13:19:51 +01:00
|
|
|
- Enable [v]erbose mode:
|
2023-10-18 13:55:15 +01:00
|
|
|
|
|
|
|
`bcdboot {{C:\Windows}} /v`
|
|
|
|
|
2023-10-25 13:19:51 +01:00
|
|
|
- Specify the volume letter of the [s]ystem partition:
|
2023-10-18 13:55:15 +01:00
|
|
|
|
|
|
|
`bcdboot {{C:\Windows}} /s {{S:}}`
|
|
|
|
|
2023-10-25 13:19:51 +01:00
|
|
|
- Specify a [l]ocale:
|
2023-10-18 13:55:15 +01:00
|
|
|
|
|
|
|
`bcdboot {{C:\Windows}} /l {{en-us}}`
|
|
|
|
|
2023-10-25 13:19:51 +01:00
|
|
|
- Specify a [f]irmware type while copying the boot files to a specified volume:
|
2023-10-18 13:55:15 +01:00
|
|
|
|
|
|
|
`bcdboot {{C:\Windows}} /s {{S:}} /f {{UEFI|BIOS|ALL}}`
|