URGENT!: Help Needed ASAP!

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Dorsk 81
Sith Devotee
Posts: 2592
Joined: 2003-03-04 08:10pm
Location: England
Contact:

URGENT!: Help Needed ASAP!

Post by Dorsk 81 »

Ok, I'm not sure what I've done to my new comp (on old one now) but whenever I start it up this message comes up:
New Comp wrote: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.
I have no clue where to get the file or how to put it on because every time I press a button after that it just restarts.
I am able to access Setup and Boot Menu though and I have my Windows XP CD. HELP! Before I get in serious troble!!!!
"I would, for instance, fellate a smurf before I pick death." Dylan Moran
"Only two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." Albert Einstein
EBC's Devonian Deviant | GALE's Supplementary Bi Brit | BoTM's Raw Recruit | GDC's Horny Delphinidae | I'm with RMA | CoIB
User avatar
Faram
Bastard Operator from Hell
Posts: 5271
Joined: 2002-07-04 07:39am
Location: Fighting Polarbears

Post by Faram »

Your google is weak!
Windows XP Setup - Missing HAL.DLL

Error Message: Cannot Find \Windows\System32\hal.dll

This situation occurs when setting up a dual boot situation with Windows 2000 and Windows XP (it may occur with other setups). After Windows XP's install routine has finished copying files, and is ready to boot to the GUI portion of SETUP, you may receive the above error.

One possible fix. So far, this has been traced to an incorrect BOOT.INI file. To gain access to the Boot.ini:

Go to Start/Run and type in: msconfig. Then go to the Boot.ini Tab. Or...Right click the My Computer icon/Properties/
Advanced/Startup and Recovery/Settings/System Startup/Edit.

How to Edit the BOOT.INI File in Windows XP
http://support.microsoft.com/support/kb ... 9/0/22.asp

This user had 1 hard drive, partitioned into C and D drives. His BOOT.INI file looked like this: (the erroneous lines are in "blue")

[boot loader]
timeout=1
default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

The 3 in the erroneous lines, above, points to the 3rd partition on the first physical hard disk. Since this user only had 2 partitions, this value was incorrect. Changing the value to 2, in both lines, allowed the user to complete Windows XP's setup.

The corrected BOOT.INI looked like this:

[boot loader]
timeout=1
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

HAL - Hardware Abstraction Layer

HAL is Microsoft's abbreviation for the Hardware Abstraction Layer, the technology and drivers that let the Windows NT, 2000, and XP operating systems communicate with your PC's hardware. HAL is one of several features--along with the NT file system (NTFS) that replaced the much less secure MS-DOS--that make NT-based operating systems more secure and reliable than Windows 95, 98, and Me.

HAL prevents applications from directly accessing your PC's system memory, CPU, or hardware devices (such as video and sound cards)--a method that can prevent many device conflicts and crashes. Unfortunately, HAL sometimes also slows or stops DOS games and programs, which need to load their own memory managers or control hardware directly for better performance.

With HAL in the way, developers must rewrite or even abandon their older software in favor of newer, HAL-compatible versions. Microsoft has pressured hardware makers to provide or support technologies such as MMX, DirectX, and 3D graphics language OpenGL, all of which allow fast but indirect access to the advanced high-performance features of video, sound, and CPU hardware. Such access also makes for a better visual experience when using Windows for Web and productivity applications; improved graphics performance is evident all over Windows XP's new user interface.

XP also offers some new compatibility-mode features that let you run programs meant to run under earlier operating systems, but, frankly, most DOS-based and even some Windows-based games simply won't work with the new OS.

Tip: To see which HAL is currently installed, open Device Manager, and expand the Computer branch. The entry that
appears in this branch corresponds to the currently installed HAL.

Situations in Which Windows May Not Start in Safe Mode
How to Troubleshoot Hardware Abstraction Layer Issues
How to Move a Windows XP Installation to Different Hardware
Setup Error Msg: Cannot find file: \Windows\System32\hal.dll

HAL.DLL is Missing

Boot from your CD and follow the directions below to start Recovery Console.

Insert the Setup compact disc (CD) and restart the computer. If prompted, select any options required to boot from the CD.
When the text-based part of Setup begins, follow the prompts; choose the repair or recover option by pressing R.

If you have a dual-boot or multiple-boot system, choose the installation that you need to access from the Recovery Console.
When prompted, type the Administrator password. (if you didn't create one try pressing enter).

At the system prompt, type Recovery Console commands; type help for a list of commands, or help commandname for help on a specific command.

Most likely you will need to expand the file from the CD. The command would be expand d:\i386\hal.dl_ c:\windows\system32\hal.dll. Substitute d: for the drive letter of your CD. Once you have expanded the file type "exit" to exit the Recovery Console and restart the computer.
[img=right]http://hem.bredband.net/b217293/warsaban.gif[/img]

"Either God wants to abolish evil, and cannot; or he can, but does not want to. ... If he wants to, but cannot, he is impotent. If he can, but does not want to, he is wicked. ... If, as they say, God can abolish evil, and God really wants to do it, why is there evil in the world?" -Epicurus


Fear is the mother of all gods.

Nature does all things spontaneously, by herself, without the meddling of the gods. -Lucretius
User avatar
Dorsk 81
Sith Devotee
Posts: 2592
Joined: 2003-03-04 08:10pm
Location: England
Contact:

Post by Dorsk 81 »

Sorry, I paniced. Off the top of my head this was the only place I could go, especialy since they shut all the chat rooms on msn in the uk, so no comp help there.
Thanks alot Faram!
"I would, for instance, fellate a smurf before I pick death." Dylan Moran
"Only two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." Albert Einstein
EBC's Devonian Deviant | GALE's Supplementary Bi Brit | BoTM's Raw Recruit | GDC's Horny Delphinidae | I'm with RMA | CoIB
User avatar
Dorsk 81
Sith Devotee
Posts: 2592
Joined: 2003-03-04 08:10pm
Location: England
Contact:

Post by Dorsk 81 »

Faram wrote:Your google is weak!
At the system prompt, type Recovery Console commands; type help for a list of commands, or help commandname for help on a specific command.

Most likely you will need to expand the file from the CD. The command would be expand d:\i386\hal.dl_ c:\windows\system32\hal.dll. Substitute d: for the drive letter of your CD. Once you have expanded the file type "exit" to exit the Recovery Console and restart the computer.
Ok, I get to just before here, I go to Recovery Console by pressing R like it says, but then it says:
Microsoft Windows XP(TM) Recovery Console.

The Recovery Console provides system repair and recovery functionality.

Type EXIT tp quit the Recovery Console and restart the computer.

1:C:\WINDOWS

Which Windows installation would you like to log onto
(To cancel, press ENTER)?
After that I can only type one letter and I have no clue as to what to put!
"I would, for instance, fellate a smurf before I pick death." Dylan Moran
"Only two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." Albert Einstein
EBC's Devonian Deviant | GALE's Supplementary Bi Brit | BoTM's Raw Recruit | GDC's Horny Delphinidae | I'm with RMA | CoIB
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Type "1"
User avatar
Dorsk 81
Sith Devotee
Posts: 2592
Joined: 2003-03-04 08:10pm
Location: England
Contact:

Post by Dorsk 81 »

*Slaps self* Ok, it asks for the Admin password, haven't got one so pressed enter like it said. It then comes up:
C:\WINDOWS>
I type in
expand d:\i386\hal.dl_ c:\windows\system32.hal.dll
So I've got
C:\WINDOWS>expand d:\i386\hal.dl_ c:\windows\system32.hal.dll
It then says
Unable to create file hal.dll.
0 files(s) expanded
Anyone?
"I would, for instance, fellate a smurf before I pick death." Dylan Moran
"Only two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." Albert Einstein
EBC's Devonian Deviant | GALE's Supplementary Bi Brit | BoTM's Raw Recruit | GDC's Horny Delphinidae | I'm with RMA | CoIB
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Uh-oh, that's bad mojo. Your next step would be to try a repair installation - Windows will keep your old settings but overwrite Windows will the CD-version.
Post Reply