Results 1 to 7 of 7

Thread: Need to reinstall a windows file through linux....

  1. #1
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536

    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.

  2. #2
    Member registered user
    Join Date
    Nov 2003
    Location
    Salamanca, Spain
    Posts
    60
    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.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    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...

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Correcting errors manually in boot.ini should be enough.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Quote 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.

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    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.

  7. #7
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    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

  1. Replies: 5
    Last Post: 04-17-2006, 03:59 AM
  2. problem in fixing grub after windows reinstall
    By tarekeldeeb in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-27-2006, 10:45 PM
  3. Uploading a Linux Latex file using windows and aol
    By algebraic in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 09-06-2005, 08:45 PM
  4. Windows file sharing how to
    By lotech in forum Networking
    Replies: 0
    Last Post: 07-28-2005, 06:26 AM
  5. How to install WINDOWS 2000 besides LINUX and WINDOWS 98
    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
  •  


Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell PowerEdge R730XD Server 2x E5-2695 V4 = 36 Cores H730p 32GB RAM 4x trays picture

Dell PowerEdge R730XD Server 2x E5-2695 V4 = 36 Cores H730p 32GB RAM 4x trays

$649.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$174.95



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell PowerEdge R620 Dual Intel Xeon E5-2640 v2 @2.00GHz 192GB RAM No HDD H710P picture

Dell PowerEdge R620 Dual Intel Xeon E5-2640 v2 @2.00GHz 192GB RAM No HDD H710P

$250.00



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w

$359.99



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



DELL R640 10SFF Server 2x Gold 6152 2.1GHz =44 Cores 64GB H730p 4xRJ45 picture

DELL R640 10SFF Server 2x Gold 6152 2.1GHz =44 Cores 64GB H730p 4xRJ45

$959.00