hal.dll missing or corrupt

  • Thread starter Thread starter rn5a
  • Start date Start date
R

rn5a

I recently installed Linux Mandriva in my WinXP m/c. My m/c. already
had 2 Linux partitions along with a Linux Swap partition (apart from
the Windows partitions) but when I was trying to install Linux
Mandriva in the 2 Linux partitions, due to some reasons, Linux refused
to install in my hard disk (I want the dual boot option of Linux &
WinXP in my m/c). Ultimately I installed Linux in the Windows
partition by resizing the Windows partition (C: drive). Linux got
installed successfully but WinXP got corrupt in the process (I am
using the Linux GRUB bootloader to boot my m/c).

Now when I boot my m/c, it gives me dual boot option of Linux & WinXP
but when I start WinXP (which is the default OS), Windows refuses to
start & generates the following 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.
--------------------------------------------------------------

Can someone please help me resolve this issue (preferably without
corrupting Linux)?

Thanks,

Regards,

Ron
 
What is an m/c? It sounds like you rearranged the partitions and now
the ARC path in the boot.ini file is pointing to the wrong partition.
You can boot to the Recovery Console and use the Bootcfg command to
rebuild the boot.ini file.

A discussion about the Bootcfg command and its uses
http://support.microsoft.com/kb/291980

Or you can manually edit the boot.ini file and change the partition path
so that it points to the right partition, typically it would be one of
four possibilities for partitions on a single hard disk:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP 01"
/noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP 02"
/noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP 03"
/noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP 04"
/noexecute=optin /fastdetect

If you put all these entries in the file you will be presented with a
boot menu where you select which one to boot. When you boot to the
right one make note of the correct line (ARC path) and delete the other
superfluous lines in the boot.ini file.

John
 
What is an m/c? It sounds like you rearranged the partitions and now
the ARC path in the boot.ini file is pointing to the wrong partition.
You can boot to the Recovery Console and use the Bootcfg command to
rebuild the boot.ini file.

A discussion about the Bootcfg command and its useshttp://support.microsoft.com/kb/291980

Or you can manually edit the boot.ini file and change the partition path
so that it points to the right partition, typically it would be one of
four possibilities for partitions on a single hard disk:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP 01"
/noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP 02"
/noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP 03"
/noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP 04"
/noexecute=optin /fastdetect

If you put all these entries in the file you will be presented with a
boot menu where you select which one to boot. When you boot to the
right one make note of the correct line (ARC path) and delete the other
superfluous lines in the boot.ini file.

John









- Show quoted text -

Thanks, John, for the prompt & helpful suggestion. WinXP is now
starting normally.

BTW, m/c means machine.

Thanks once again,

Regards,

Ron
 
Thanks, John, for the prompt & helpful suggestion. WinXP is now
starting normally.

BTW, m/c means machine.

Thanks once again,

Regards,

I see. You're welcome and thanks for the follow up.

John
 
Back
Top