Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 05-21-2006, 11:22 AM   #1
Posts: n/a
Dual boot w/FC4/WinXP - hal.dll is corrupt or missing

Hi all-

New to linux - tried to install FC4 on my windows xp laptop. When I boot presummably linux screen comes up saying somehting along the lines of press any key in 3...2...1... seconds or Windows XP will boot as default. This is expected since during the fedora install I said I wanted to use XP as the default OS. I press a key and am greeted with a blue fedora screen that gives me two options: FC4 and WinXP Pro. Fair enough. If I select FC4 it loads linux as expected and everything is fine. If I select WinXP Pro I get the following message:
Windows could not start because the following file is missing or corrupt:
<Windows root>\system32\hal.dll.
Please reinstall a copy of the above file.
I dont know what that means or how to fix it so that I have the best chance of saving my windows setup. Yes I have the data backed up but I'd rather spend a few hours trying to fix the issue at hand rather than reformat everything, reinstall windows and rebuild my entire windows setup (probably a weeks worth of work) and then on top of that break it all again by installing linux on top of it.

I put in the windows xp disk and rebooted and the same process as mentioned above re-cycles as if there was nothing different.

Please help - Thanks in advance!!

Old 05-21-2006, 02:38 PM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472 should answer the question. And since it's more about Windows than Linux, I have moved this thread to the General forum.
Old 05-21-2006, 03:33 PM   #3
LQ Newbie
Registered: Nov 2004
Location: Middle of Nowhere, VT
Distribution: Windows Vista b2/Win XP dual boot, Mac OS X 10.4 (Tiger)
Posts: 10

Rep: Reputation: 0
Oh, wow. Somehow you managed to corrupt your Hardware Abstraction Layer. The easiest way to fix that is to insert your WinXP setup disks and perform the recovery install, or whatever it's called. It will re-install your system core, as simply copying the file cannot be done. (It's re-compiled for every computer it is installed on.)
Keep in mind, that depending on your version, you may need to re-install SP2 afterwards.

-Good Luck.
Old 05-23-2006, 03:53 PM   #4
Registered: Apr 2005
Location: India
Distribution: RHEL, Fedora Core , SUSE, Ubuntu, etc
Posts: 54

Rep: Reputation: 15

One more point

probably u will lose Linux because the XP will overwrite MBR resulting to boot only to to xp
so be cautious.


Last edited by dhirsolo; 05-23-2006 at 03:56 PM.
Old 05-23-2006, 04:40 PM   #5
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,629
Blog Entries: 4

Rep: Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001
You definitely want to have your Linux boot-disks set up and to know how to restore the proper MBR record.

Also... it's extremely curious that the HAL library would be "gone." Much more likely that it's not in the right place. Or that you somehow forgot to copy it.

HAL is basically "the device-driver for the motherboard." During the install process, WinXP goes through much the same hardware discovery process that a Linux distro does, and it puts together this library. The rebuild is done at no other time.
Old 05-24-2006, 10:01 AM   #6
Posts: n/a
thanks guys

I booted from the windows disk and rebuilt the boot file via C: prompt.

Now when i start the computer it comes up with the same press anything to go to the menu otherwise windows will come on. then if i press nothing i get the windows boot menu and it has two entries for windows since i think i created a new one by rebuilding the boot file. the one i recreated works and boots windows fine. the old one still gives me the hal error. weird. i guess i ll just use the one that works

Old 05-24-2006, 01:10 PM   #7
Registered: Apr 2005
Location: India
Distribution: RHEL, Fedora Core , SUSE, Ubuntu, etc
Posts: 54

Rep: Reputation: 15

Take a look into boot.ini situated on ur xp partition u can delete the wrong entry easily and next time u will see only one option which is working.

But be cautious while editing it.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
reinstalling winXP on an existing dual boot system with winXP and FC4 grub not workin champion Fedora - Installation 3 02-13-2006 03:37 PM
Windows xp boot failure after installing mandrale 9.1: hal.dll missing ilbecha Mandriva 3 01-06-2006 11:59 AM
Dual Booting : ME, XP, Redhat (hal.dll error for XP) rinzei Linux - Newbie 1 03-03-2005 03:02 AM
hal.dll missing linuxbeta Amigo 4 09-19-2004 05:24 AM
hal.dll XPediTioN Slackware 3 09-16-2003 01:05 PM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 01:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration