mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 15:26:43 +00:00
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:
parent
7a70a4c577
commit
196be4186d
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue