Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-03-2005, 02:37 AM   #1
LQ Newbie
Registered: Mar 2005
Location: canada
Posts: 1

Rep: Reputation: 0
Red face Dual Booting : ME, XP, Redhat (hal.dll error for XP)


im a to the whole linux thing, so i was wonering if anyone would be able to help me with this problem i have.

i have installed the operating systems in this order:
Me, Xp, linux(redhat9.0)

I can dual boot into Me, but not Xp.
After installation of redhat9.0 i am not able to boot into Xp,
I get an error message that says "Windows XP could not load: The file hal.dll (windows/system32/) is missing or corrupt. Please reinstall.

i have tryed replacing the hal.dll file, but it still doesnt work.

I installed the boot loader: grub
with the GUI: gnome

my partitions are: c: winme (fat32) [2gb], d: winxp (ntfs) [4gb], e: redhat (fat32 - ext3)[4gb]

my friend asked me what the boot device was i the bios, to try an help but unfortunately i an doing this on a school computer for an assignment in which the computers bios is locked.

the booting is tri boot:
we first start up, the grub has us choose btw 2 linux links, which i think goes to the same place, then dos option. once you pick the dos option, you either go into me or xp.

What can i do to fix this problem?


Old 03-03-2005, 03:02 AM   #2
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Let's get to grips with grub first then you may be able to figure out whether your configuration is correct or not;

title Windows 95/98/NT/2000
root (hd0,0)
chainloader +1

title Linux
root (hd0,1)
kernel /vmlinuz root=/dev/hda2 ro

You see in the above example that to boot M$ the system is intructed to look at (hd0,0). Lets examine this.
hd obviously stands for hard drive. Grub numbers the drives and partitions from zero so the interpretation of this is to look at hard drive 1, partition 1 and in the second example for the Linux system to go to hard drive 1 and partition 2 and find vmlinuz in the root directory. The Linux numbering system labels drives in alpha format and the partitions in numeric format from 1. The latter case /dev/hda2 = device hard drive 1 and partition 2.
If the parameters in the grub menu are correct and the os still won't boot then suspect that something has gone wrong with the os (surprise, surprise, it can only be M$) and you will probably have to do a system recovery which will probably result in grub being deleted. You would then have to boot the Linux system off your install cd and re-install grub.

Last edited by TigerOC; 03-03-2005 at 03:04 AM.


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
Hal.dll error on Compaq Desktop Byteraver Mandriva 1 09-28-2004 03:20 PM
hal.dll missing linuxbeta Amigo 4 09-19-2004 05:24 AM
<windows root>\system32\hal.dll error forpar General 2 07-11-2004 10:12 AM
Redhat 8 and XP Dualbooting...Hal.dll Error x_x Enox Red Hat 5 10-07-2003 11:15 PM
hal.dll XPediTioN Slackware 3 09-16-2003 01:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:26 AM.

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
Open Source Consulting | Domain Registration