1. Fix a corrupt Boot.ini
At the Windows XP startup, the program Ntldr Boot.ini file to determine where the files
OS reside and which options should be taken. So if the Boot.ini file of Windows XP then the problem will not be able to boot properly. If you suspect that Windows XP will not boot because Boot.ini has been corrupted, you can use a special Recovery Console version of the tool Bootcfg.
From the Recovery Console command prompt type:
Bootcfg / parameters
Replace / parameter with one of the following parameters:
* / Add - Scans the disk for all Windows installations and allows you to add a new Boot.ini file
* / Scan - Scans the disk for all Windows installations
* / List - Lists each entry in the Boot.ini file
* / Rebuild - Completely re-creates the Boot.ini file in total where the user must confirm each
* Steps.
* / Redirect - Allows the boot to a specific port when using features Headless Administration.Redirect parameter takes two parameters, [Port Baudrate] | [UseBiosSettings].
* / Disableredirect - Off the diversion.
2. Fix the Partition Boot Sector Damaged
Partition boot sector is a small part of the hard disk partition that contains information about the OS file system
(NTFS or FAT32), a machine language program that is crucial to help run the OS. If you suspect that Windows XP will not boot because the partition boot sector
damaged.
To use the tool Fixboot, the Recovery Console command prompt type:
Fixboot [drive]:
Where [drive] is the letter of the drive that you want to write its partition boot sector.
3. Fix a corrupt master boot record
Master boot record is responsible for starting the Windows boot procedure, in which there is the master boot code that is used to search for active or bootable partition on the partition table. If the master boot record is corrupt, the partition boot sector will not work and Windows will not boot. If you suspect that Windows XP will not boot because the master boot record is corrupted, you can use a tool called Recovery Console Fixmbr.
To use the tool Fixmbr, the Recovery Console command prompt type:
Fixmbr [device_name]
Where [device_name] is the device pathname for the drive that you want to write her master boot record.
Example device pathname for the drive C is:\Device\HardDisk0
4. NTOSKRNL Missing or Corrupt
If the computer can not boot by displaying the message "Missing or Corrupt NTOSKRNL", then upon entering the Recovery Console command prompt, do the following:
* Change to the CD-ROM drive Windows XP is located. Example: C:\> D: press enter
* Type: CD i386 press enter
* Type: expand ntkrnlmp.ex_ C:\Windows\System32\Ntoskrnl.exe press enter
* After the process completes type: EXIT to exit.
5. HAL.DLL Missing or Corrupt
If the computer can not boot by displaying the message "Missing or Corrupt HAL.DLL", then upon entering the Recovery Console command prompt, do the following:
* Type: bootcfg / list to display the contents of the BOOT.INI file
* Type: bootcfg / rebuild to repair.
* After the process completes type: EXIT to exit.
6. Corrupted or Missing \ WINDOWS \ SYSTEM32 \ CONFIG
If the computer can not boot by displaying the message "Windows Could not Start Because the Following files is missing or corrupt \ WINDOWS \ SYSTEM32 \ CONFIG \ SYSTEM or \ WINDOWS \ SYSTEM32 \ CONFIG \ SOFTWARE", then upon entering the Recovery Console command prompt, do following steps:
* Type: cd \ windows \ system32 \ config
* Next depends on the location of the damage:
* Type: ren software software.damage OR ren system system.damage
Next * again also depends on the location of the damage:
* Type: copy \ windows \ repair \ system
* Type: copy \ windows \ repair \ software
* After the process completes type: EXIT to exit.
7. NTLDR or NTDETECT.COM Not Found
If the computer can not boot by displaying the message "NTLDR or NTDETECT.COM Not Found", then upon entering the Recovery Console command prompt, do the following:
A. For the type of FAT partition
* Please you to boot from your Win98 floppy and copy the files NTLDR or NTDETECT.COM from the i386 directory to the drive stem (root) C: \ b.
B. For the type of NTFS partition
* Type: COPY X:\i386\NTLDR C\:
* Type: COPY X:\i386\NTDETECT.COM C:\
where X: is the address of the CD ROM drive, so adjust ..
* After the process completes type: EXIT to exit.
So how to repair Windows with the Recovery Console which I noted from various sources, some I have tried and succeeded. If these methods do not succeed then we can try to repair your Windows XP installation as a whole or forced to reformat and do fresh install of Windows XP.
Good luck



