LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
LinkBack Search this Thread
Old 05-21-2006, 10:22 AM   #1
cliffhanger9
Guest
 
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:
Quote:
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!!

-Cliff
 
Old 05-21-2006, 01:38 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,165
Blog Entries: 4

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
http://pcsupport.about.com/od/pcrepa...inghal_dll.htm 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, 02:33 PM   #3
Launchpad_72
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, 02:53 PM   #4
dhirsolo
Member
 
Registered: Apr 2005
Location: India
Distribution: RHEL, Fedora Core , SUSE, Ubuntu, etc
Posts: 54

Rep: Reputation: 15
Hi

One more point

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

Regards

Last edited by dhirsolo; 05-23-2006 at 02:56 PM.
 
Old 05-23-2006, 03:40 PM   #5
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,047

Rep: Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953
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, 09:01 AM   #6
cliffhanger9
Guest
 
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

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

Rep: Reputation: 15
Hi

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.

Regards
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 02:37 PM
Windows xp boot failure after installing mandrale 9.1: hal.dll missing ilbecha Mandriva 3 01-06-2006 10:59 AM
Dual Booting : ME, XP, Redhat (hal.dll error for XP) rinzei Linux - Newbie 1 03-03-2005 02:02 AM
hal.dll missing linuxbeta Amigo 4 09-19-2004 04:24 AM
hal.dll XPediTioN Slackware 3 09-16-2003 12:05 PM


All times are GMT -5. The time now is 12:16 AM.

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