mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 21:11:41 +00:00
[TCPSVCS] Remove hardcoded C drive letter (#800)
CORE-13228, CORE-13235 For USETUP, add a comment about why the code uses it when adding a boot-sector boot entry to NTLDR. CORE-13226
This commit is contained in:
parent
9d0596afe1
commit
b0a1cb52be
3 changed files with 12 additions and 3 deletions
|
@ -2378,6 +2378,8 @@ InstallFatBootcodeToPartition(
|
|||
/* Update 'boot.ini' */
|
||||
CombinePaths(DstPath, ARRAYSIZE(DstPath), 2, SystemRootPath->Buffer, L"boot.ini");
|
||||
|
||||
/* Windows' NTLDR loads an external bootsector file when the specified drive
|
||||
letter is C:, otherwise it will interpret it as a boot DOS path specifier. */
|
||||
DPRINT1("Update 'boot.ini': %S\n", DstPath);
|
||||
Status = UpdateBootIni(DstPath,
|
||||
L"C:\\bootsect.ros",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue