Windows could not start because the following file is missing or corrupt.
Windows root\system32\hal.dll.
Please re-install a copy of the above file.
You may receive this error message in either of the following scenarios:
Your computer restarts after you upgrade to Microsoft Windows XP from Microsoft Windows 98 or Microsoft Windows Millennium Edition.
You install Windows XP on a hard disk that does not have an operating system installed on it.
RESOLUTION
Upgrading on a Windows 98-based or Windows Millennium Edition-based computer
To resolve this problem if you are upgrading Windows 98 or Windows Millennium Edition, follow these steps:
Run Windows XP Setup again. To do this:
Restart your computer.
Press and hold the F8 key on your keyboard.
On a computer that is configured to use multiple operating systems, press and hold the F8 key when you see the Operating System Choices menu.
When the Windows Advanced Options menu appears, select the Return to OS Choices Menu option, and then press ENTER.
Select the Cancel Windows XP Setup option.
Use the Add/Remove Programs tool in Control Panel to remove Windows XP from your computer.
When Windows XP has been removed from your computer, start Windows XP Setup again.
If the problem is resolved, skip the remaining steps. If the problem still occurs the second time that you try to upgrade to Windows XP, continue to the next step.
Cancel Windows XP Setup. To do so:
Restart your computer.
Press and hold the F8 key on your keyboard.
Select the Cancel Windows XP Setup option.
Use the Add/Remove Programs tool in Control Panel to remove Windows XP from your computer.
Start your computer with a Windows 98 or Windows Millennium Edition Startup disk, type sys c: at the command prompt, and then press ENTER.
Microsoft Knowledge Base:
296532 How to create a Windows 98 startup disk
Microsoft Knowledge Base:
267287 How to create a startup disk in Windows Me