Add DEBUG Sleep() lines to OSInstall.ZC InstallDrive to attempt kludge workaround for errors noticed during bare metal testing on 250GB hard drive.

This bug may scale linearly with hard drive size, and these debug sleep statements may not be long enough of a pause in general. A better approach to synchronizing the install process' repartition-format-copy cycle is likely needed.
This commit is contained in:
TomAwezome 2022-10-28 23:16:02 -04:00
parent 7a70a4c577
commit 196be4186d

View file

@ -228,7 +228,15 @@ U0 InstallDrive(U8 drv_let)
while (!DriveCheck(blkdev.let_to_drive[drv_let - 'A'], FALSE))
Sleep(1);
Sleep(1000);
'.';
Sleep(1000);
'.';
Sleep(1000);
'.';
Sleep(1000);
'.';
ExePrint("CopyTree(\"::/\",\"%C:/\");", drv_let);