mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 11:17:03 -04:00
v3.2 (build 1397)
This commit is contained in:
parent
8c9caba165
commit
2d99bbcd41
4 changed files with 10 additions and 9 deletions
|
@ -1478,7 +1478,7 @@ static BOOL SetupWinToGo(const char* drive_name, BOOL use_ms_efi)
|
|||
// We invoke the 'bcdboot' command from the host, as the one from the drive produces problems (#558)
|
||||
// Also, since Rufus should (usually) be running as a 32 bit app, on 64 bit systems, we need to use
|
||||
// 'C:\Windows\Sysnative' and not 'C:\Windows\System32' to invoke bcdboot, as 'C:\Windows\System32'
|
||||
// will get converted to 'C:\Windows\SysWOW64' behind the scenes, and ther is no bcdboot.exe there.
|
||||
// will get converted to 'C:\Windows\SysWOW64' behind the scenes, and there is no bcdboot.exe there.
|
||||
static_sprintf(cmd, "%s\\bcdboot.exe %s\\Windows /v /f ALL /s %s", sysnative_dir,
|
||||
drive_name, (use_ms_efi)?ms_efi:drive_name);
|
||||
uprintf("Enabling boot using command '%s'", cmd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue