Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 09-15-2003, 02:58 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Windows xp boot failure after installing mandrale 9.1: hal.dll missing

good day.

I tried to install linux mandrake on my HD, containing already 2 partitions:
C: 18GB windows me
D: 18 GB windows xp.

I used to launch the os, by choosing it from the first boot menu.
But since I installed Mandrake linux, windows XP was unable to start, and prompts this message before rebooting:
hal.dll missing

I think that this in in relation with th partition numbre in boot.ini that needs to be changed manually.
Infact, while installing linux, I reduced the c: size to 10 GB, and then automatically partitionned the free space (8 GB) with the mandrake partitionning tool. I got then 3 new linux partitions between c: and d:

My boot.ini looks like:
[boot loader]
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)(2)\WINDOWS="Microsoft Windows XP Professionnal" /fastdetect
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professionnal" /fastdetect

Any help would be welcomed
Old 09-15-2003, 03:24 AM   #2
Registered: May 2003
Distribution: Debian
Posts: 40

Rep: Reputation: 15
Hi there,

You've fallen prey to a problem that's quite frequent and stems from the way MS Wind**s handles partitions. Basically you have the jist of it - your boot.ini is outdated, windows numbers the partitions differently, and thus can't find the hal.dll (which is the first required DLL it tries to load, that's why that's a typical error message).

You'd think that you could tell it to use the partition it read the bloody boot.ini file from... but no.. it reads the file and then does something completely different.

Anyways - how to fix it. Basically, the easiest thing to do is to list all your partitions (or even more than you have) in the boot.ini file, like

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnal 1" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professionnal 2" /fastdetect
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professionnal 3" /fastdetect
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professionnal 4" /fastdetect
multi(0)disk(0)rdisk(0)partition(5)\WINDOWS="Microsoft Windows XP Professionnal 5" /fastdetect

Then reboot and try all the options one after the other, noting which one boots... afterwards delete all other lines from the boot.ini except for the working one.

Hope this helps.

Old 01-06-2004, 03:11 PM   #3
LQ Newbie
Registered: Jan 2004
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
Another possible solution to the problem is to boot the WinXP cd and then run the repair console and simply type bootcfg /repair
Old 01-06-2006, 10:59 AM   #4
Registered: Jun 2005
Location: Vermont
Distribution: Red Hat 9
Posts: 37

Rep: Reputation: 15
bootcfg /repair

Another possible solution to the problem is to boot the WinXP cd and then run the repair console and simply type bootcfg /repair
this may have worked for some...but i'm not sold on this working never has for me.


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
Linux keeps saving my behind with windows problems (HAL.DLL) randon SUSE / openSUSE 1 10-29-2005 09:30 PM
hal.dll not found TigerLinux General 8 10-02-2005 07:32 AM
hal.dll missing linuxbeta Amigo 4 09-19-2004 04:24 AM
<windows root>\system32\hal.dll error forpar General 2 07-11-2004 09:12 AM
hal.dll XPediTioN Slackware 3 09-16-2003 12:05 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration