none
hal.dll - Windows could not start because the following file is missing or corrupt

    Question

  • As usual, one step forwards and one step back.

     

    I got my pxe boot to work finally.  Applied my image created on a ref machine to another Pc and when it boots I get the error

     

    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

     

    My image is a Windows XP sp2, not Vista created on a HP D330 P2.66 Desktop.

    My target machine is a HP D330 P2.6C.  I had thought they were identical and it was only when this error came up that I spotted that it was a Celeron.

     

    My question - how can I make my images less hal dependent.  When I used Ghost we had a single image for every model computer, it was only when we started buying Dual cores that we had to create a seperate image.  Is there something I need to add to my ref machine before I grab the image from it.

     

    Andy

    Thursday, March 20, 2008 10:16 AM

Answers

  • Final opinion is that the old PCs I'm trying to set up are just a bit ropey hardware wise.  I'm having a lot of random boot issues with them so I'm going to chuck them and get some new ones out.

     

    Tuesday, March 25, 2008 9:13 AM

All replies

  • Yes, there are multiple ways of handling this: http://www.leinss.com/uniimg.html.  Note that this is un-supported by Microsoft and Michael Niehaus gets hives when I post these methods.

     

    The method I use here at my company is the hacked hal.inf method: http://www.leinss.com/blog/?p=125


    For legacy computers that can't use the Uniprocesor HAL, only APCI, the techs boot into Windows PE and then copy hal.dll, ntkrnlpa.exe and ntkrnlos.exe from a system running the APCI HAL into C:\windows\system32, overwriting the files there.  The system will boot and you can pick the APCI HAL again and it will install it.

     

    The nice thing about this is the image boots up as Uniprocessor on all new hardware.  If it's not dual core, we just leave it.  If it has multiple cores, we go into the device manager and change it there, reboot and viola, you have multiple cores in the task manager!

     

    Microsoft's only answer for Windows XP images and multiple HALs is to create multiple images.

    Thursday, March 20, 2008 12:51 PM
  • I've had a closer look at the 2 machines.  From the BIOS info page the only difference between the 2 desktops is the processor.  The BIOS lists one as a PIV 2.6 and the other as a PIV 2.66.  Neither are listed as a Celeron

    I'm going to try reimaging it again and see what happens, if that doesnt work I'll do a windows repair and see what the device manager lists the HAL as.

     

    Thursday, March 20, 2008 2:02 PM
  • Final opinion is that the old PCs I'm trying to set up are just a bit ropey hardware wise.  I'm having a lot of random boot issues with them so I'm going to chuck them and get some new ones out.

     

    Tuesday, March 25, 2008 9:13 AM