mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
These two registry values, stored in `HKEY_LOCAL_MACHINE\SYSTEM\Setup`, are generated at runtime by the kernel; they are based on the current values of: `LoaderBlock->NtHalPathName` and `LoaderBlock->ArcBootDeviceName` respectively. In particular, hardcoding `SystemPartition` to a default value "\Device\Harddisk0\Partition1" , would be as random as hardcoding it to anything else, since nothing justifies that there exists a partition on the first harddisk, and if there is one, nothing guarantees that it is one that was used to boot the operating system... Especially when booting a LiveCD!