-
Senior Member
registered user
Need to reinstall a windows file through linux....
After partitioning and installing linux I tried to boot into XP and was given 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.
When I mount the drive and look in system32 I can see that it is there, so that must mean it is corrupt. How can I go about this in linux to fix this without reinstalling. I already tried recovery and that did not work. Is there another way? I can boot into Kanotix successfully and can still boot into live cds.
-
Hi:
I think the problem is related to some changes you have done in your hard disk. If the file is where it may be, I think the only way to restore your windows is doing it from your Win XP Cd. Put it into your cd-rom and reboot. Then choose install. You will recieve a message telling you that windows is installed in your system. So you have to restore it, reinstalling, not a clean copy. There is no problem in reinstalling, it just copies all the files from CD to Hd but your programs, configuration... will be there, you don't lose anything.
-
Senior Member
registered user
How did you repartition? Most probably, your windows partition has changed number, eg hda1 became hda2 or somesuch, which would invalidate the boot.ini file. I believe the easiest fix would be to use the windows recovery console (google for it and the fixmbr/fixboot commands).
Beware, though, that fixmbr overwrites lilo in the MBR - which you might have to re-install in order to dual-boot, or edit boot.ini to add a linux entry from the windows boot loader. If you created another primary partition for linux, another option would be to install lilo there, make that partition active/bootable and leave the windows boot loader alone in its partition...
-
Correcting errors manually in boot.ini should be enough.
-
Senior Member
registered user

Originally Posted by
Markus
Correcting errors manually in boot.ini should be enough.
yes, perhaps native can help if the unit is formatted as NTFS - that's why I suggested the recovery console as the easiest fix.
-
I didn't mean he shouldn't use the recovely console. Just that an editor on boot.ini would be enough, although I suppose fixboot wouldn't hurt either.
-
Senior Member
registered user
After much messing around and trying to get the file back to the system, it worked. I downloaded from another win machine and copied to a floppy, then got to the A: prompt on my hal.dll machine and copied to to windows\system32. First I had to remove the old hal.dll then replace it with the new one. I also reinstalled a copy of my boot.ini which I already had backed up on floppy, through the same method. Thanks for the help. I back to dual booting.
What I did was check some force button during a mandrake install then that is when it happened.
Similar Threads
-
Replies: 5
Last Post: 04-17-2006, 03:59 AM
-
By tarekeldeeb in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 02-27-2006, 10:45 PM
-
By algebraic in forum MS Windows & New to Linux
Replies: 3
Last Post: 09-06-2005, 08:45 PM
-
By lotech in forum Networking
Replies: 0
Last Post: 07-28-2005, 06:26 AM
-
By legal in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 01-15-2004, 04:33 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

Seagate 6TB HDD ST6000NM0034 7.2K 3.5" SAS 12Gb/s (NOT FOR PC - FOR SERVER ONLY)
$87.00

Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k
$189.99

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$329.99

HGST Ultrastar 6TB SATA 3.5" Enterprise HDD HUS726060ALA640 90-99% Health
$79.00

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$299.00

Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$669.99

Seagate ST1000VM002 1TB 5900RPM 3.5" SATA 6GB/s HDD Video Hard Drive PC DVR
$24.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$49.00

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99