create your own

How to Solve 'Invalid Boot.ini' Error in Windows?

63
rate or flag this page

By Kmadhav


Boot.ini is a hidden file of Windows that it uses to determine the operating systems to be displayed while starting the system. It helps system identifying on which folder, partition and hard drive, Windows is located. The file might get damaged or deleted due to several reasons. In such cases, you get errors and the system fails to start, whereby making your data inaccessible. You can replace or repair the file using Recovery Console options. But if you fail to do so, you will need to recover the lost data from backup or using effective Data Recovery Software.


Consider an instance, you try to start a Windows XP based computer system and it fails to boot giving the below error message:


Invalid Boot.ini”


Or


Windows could not start because the following file is missing or corrupt: 

Windows\System32\Hal.dll”


You might receive the above error message particularly after you upgrade your system to Windows XP.


Cause


The root cause of such errors to occur is that Boot.ini file is corrupted, missing or contains invalid entries.


Solution


Windows XP Recovery Console includes a command called bootcfg that allows you to reconstruct or edit the boot.ini fil. To use the bootcfg.exe tool through Recovery Console, you need to follow these steps:


  • Insert the Windows XP installation disc and boot your system from it

  • Press any key when prompted for booting from CD

  • Press 'R' to start Recovery Console when 'Welcome to Setup' message appears

  • Select the Windows installation you desire to repair

  • Specify the administrator password, if any

  • Type bootcfg /list at the command prompt to enlist the entries of boot.ini file

  • Run bootcfg/rebuild command

  • Type 'Y' in response to 'Add installation to boot list?'

  • At next prompt, you need to mention the operating system name as the 'Load Identifier'

  • Type /fastdetect , when prompted to 'Enter OS Load options'

  • Type Exit to exit from Recovery Console


If you still cannot access your data, scan the hard disk using a Data Recovery utility to recover the lost data. Disk Recovery Software are special tools to extract lost files, folders and partitions from a seemingly inaccessible drive. These tools also serve as suitable Partition Recovery tools.

Print   —   Rate it:  up  down  flag this hub

Comments

RSS for comments on this Hub

Waren E profile image

Waren E  says:
3 months ago

well done!

Submit a Comment

Members and Guests

Sign in or sign up and post using a hubpages account.


optional


  • No HTML is allowed in comments, but URLs will be hyperlinked
  • Comments are not for promoting your hubs or other sites

working