Sunday, September 17, 2006

Troubleshoot Boot.INI Corruption

Observations

You power up your computer and received one of the following error messages:

  • Invalid Boot.INI
  • Windows could not start because the following file is missing or corrupt:
    Windows\System32\Hal.dll

Possible Causes

  • Boot.INI file is missing or corrupted

Resolution

These are two methods to fixing a damaged boot.ini file. These steps are for advanced users. If you are unsure, you are recommended to consult a data recovery expert.

This utility scans your disk for Microsoft Windows NT 4.0, Microsoft Windows 2000, and Windows XP installations and adds them to an existing boot.ini file. It also rebuilds the file if the boot.ini file is not detected in your computer.

To start, follow these steps:
1. Insert your Windows CD into your computer. You need to select CD as the boot device. See how to

select a boot device if you are unsure.
2. Enter Windows Recovery Console
3. At the command prompt, type in: bootcfg /rebuild

Bootcfg will now attempt to search your disks and rebuild a new boot.ini file. If you have installed more than one operating system, you will receive a message that is similar to the following:

Totally Identified Windows Install: 3

[1] C:\WindowsAdd installation to boot list? (Yes/No/All):Enter Load Identifier:Enter Operating System Load Options:

[2] D:\WINNTAdd installation to boot list? (Yes/No/All):Enter Load Identifier:Enter Operating System Load Options:

[3] E:\Windows Add installation to boot list? (Yes/No/All):Enter Load Identifier:Enter Operating System Load Options:

4. The example above is a result of a configuration which consists of an installed Windows XP under your C drive and Windows 2000 under D drive and Windows 98 under E drive. When asked to add installation to boot list, type in Y to add the installation to the boot list. Under the load identifier, enter the description of the operating system that is located under the corresponding partition. For example, type in: Windows 2000 to specify that the partition volume D contains a Windows 2000 installation. Under the operating system load options, type in: /fastdetect

b. Manually Editing the Boot.ini File

1. Insert your Windows CD in your computer

2. Enter Windows Recovery Console

3. Type in: type c:\Boot.iniThis command checks for a valid Boot.ini file. If your boot file is working fine, you should see the following:This is a default boot.ini file for a Windows 2000 operating system and may differ from your system configuration.

[boot loader]
timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT

[operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

4. If you receive the following error messages instead of the above message being displayed, your boot.ini file is corrupted or missing:
§ The system cannot find the file or directory specified
§ File not found - boot.ini

5. To write a new boot.ini file, follow these steps:
§ Type in: edit.comThe MS-DOS editor will launch.
§ Type in the following and save it as a boot.ini

For Windows 2000 users, type in:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

For Windows XP users, type in:

[boot loader]
timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect

IMPORTANT: partition(1) refers to your first partition of your hard disk which Windows is typically installed on. You may need to change the value if Windows is installed in a different partition.


6. Reboot your computer and the problem should be resolved.

Further Recommendations The boot.ini file is a critical system file that is required during the system booting up process. The purpose of this file is to provide a boot menu so as to allow you to select from various operating systems that might be installed in your computer. By default, this system configuration file resides in the system root partition(example C:\) of your hard disk and is usually marked as a hidden file. This file contains information that NTLDR uses to display the startup menu. The startup menu is only displayed when more than one operating system is installed. Otherwise, the system typically starts automatically. Generally, it is recommended that you keep a backup of this file in a diskette or removable drive for easy restoration when file gets corrupted or infected with a virus.


http://www.datarecovery.com.sg/data_recovery/
troubleshoot_bootini_corruption.htm

Recover from NTLDR Missing Error

Observations

You power up your computer and receive the following message(s):

NTLDR Is Missing
Couldn't find NTLDR

Possible Causes

This problem occurs when one of more of the following boot up files are missing:

NTLDR
Ntdetect.com
Boot.ini

Resolution

Generally there are 2 methods to resolve this issue.

a) Manual File Re-Patching

This method attempts to copy and replace the corrupted file from the Windows Installation disc to your hard disk. To start, follow these steps:

1) Insert the Windows 2000 or Windows XP CD into your computer as
default boot up media.

2) Enter Windows Recovery Console

3) At the command prompt, assuming drive D refers to your CD Drive, type in the following and hit Enter:
Press Y when prompted to overwrite any existing file.
copy D:\i386\ntldr C:copy D:\i386\ntdetect.com C:

4) Restart the computerIf the error message still persist, it is likely that your boot.ini file is corrupted. Try to fix your corrupted boot.ini file instead.

b. Using Windows Repair
InstallThis
Windows Repair Install overwrites all system files in your computer, leaving your installed applications, data files and settings intact. However, you will lose previously saved system restore points and service pack updates. You may need to re-apply the system updates after this procedure.

http://www.datarecovery.com.sg/data_recovery/
troubleshoot_ntldr_missing.htm