954,190 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Invalid Boot.ini file booting from C:\windows

I get an"Invalid Boot.ini file booting from C:\windows" message when starting up . I use WIN XP. I have done a search for this file which shows 0kb as contents. The computer boots up after this message but I tried to repair or reinstall win xp but because of this file, cannot due to this file being empty. I have noticed this message for quit a while but never realized its significance, so system restore is of no use. I would like help in getting this file reinstalled

edbuck
Newbie Poster
15 posts since May 2004
Reputation Points: 10
Solved Threads: 0
 
I get an"Invalid Boot.ini file booting from C:\windows" message when starting up . I use WIN XP. I have done a search for this file which shows 0kb as contents. The computer boots up after this message but I tried to repair or reinstall win xp but because of this file, cannot due to this file being empty. I have noticed this message for quit a while but never realized its significance, so system restore is of no use. I would like help in getting this file reinstalled


You'll have to use the XP cd. Select the option to repair, but make it go into "Recovery Console mode." From there, you can bring up a help menu by typing help or a question mark (?). You're only interested in two commands in the list called "fixboot" and "fixmbr."

You want to run "fixboot" first, then exiting the Recovery Console and seeing if that fixes your issue. If not, retrace your steps back to the Recovery Console and run "fixmbr." You shouldn't have to run "fixmbr," but there is always a possibility.

feigned
Posting Whiz
311 posts since Oct 2003
Reputation Points: 107
Solved Threads: 4
 

Also, run chkdsk /r on the system before running fixboot.

These errors just don't occur willy-nilly. There could be some filesystem corruption-- chkdsk /r might help on that angle.

alc6379
Cookie... That's it
Team Colleague
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
 

I cannot seem to get to the repair option when using the win xp cd. Please advise and thanks for your help.

edbuck
Newbie Poster
15 posts since May 2004
Reputation Points: 10
Solved Threads: 0
 

Below is how to edit your BOOT.ini:

Most people cannot find BOOT.INI on their hard drive. This is because they have hidden files and have not elected to see them. Open up my computer, choose tools, folder options.
Go to View, choose the option to display system files, and also the option to display hidden files.

Now do a search for BOOT.INI (it should be on C:\ and not in any folders). You can right click on it and choose 'open.' Now you can edit it how you would like to. I've included the default examples for boot.ini for XP and 2000 below.

Here is an example of a boot.ini in XP:
[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

Here is an example of a boot.ini in 2000
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(1)rdisk(0)partition(1)\WINDOWS="Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" /fastdetect

TKS
Posting Pro in Training
470 posts since Jan 2004
Reputation Points: 108
Solved Threads: 18
 

Thank you very, very much. I followed your win xp edit instuctions and eliminated the messge.

edbuck
Newbie Poster
15 posts since May 2004
Reputation Points: 10
Solved Threads: 0
 

please close this problem>

edbuck
Newbie Poster
15 posts since May 2004
Reputation Points: 10
Solved Threads: 0
 

thank you :) cool man~

rollover
Newbie Poster
1 post since Jul 2005
Reputation Points: 10
Solved Threads: 1
 

For those of you who are not Genuine, follow this simple step by step instruction.(Note: tested and work on Windows XP Professional and Windows XP Media Center, other, you are on your own do it at your own risk) Step 1: Go to start > All Programs > Accessories and click on Notepad to open. Step 2: Copy and paste the following into notepad: [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 Step 3: Save it boot.txt Step 4: Move it to C:\ Step 5: Rename it boot.ini You are done, congratulation.

Marksirapat
Newbie Poster
1 post since Oct 2006
Reputation Points: 10
Solved Threads: 1
 

i have the same error message..i tried the suggestion but it didn't work...when searching forr boot.ini in c:/ .. i diddn't find it
most icons disappear from desktop.....i have winxp home...
is there any other suggestion...i check to view all files
let me know please..thanks

acuariano
Light Poster
39 posts since Jan 2005
Reputation Points: 10
Solved Threads: 1
 

well found a solution from another site.
"my computer/properties/advanced/startup&recovery/settings
look for "to edit the startup options file manually" this opens 'BOOT.INI' in notepad
look for another OS system listed as "default" other than XP....remove the line
safe and exit"
see no more error message

acuariano
Light Poster
39 posts since Jan 2005
Reputation Points: 10
Solved Threads: 1
 

hiya guys i have the solution for the invailid boot.ini problem and it couldnt be any easier just follow instructions below:

double click my computer and double click on your c:drive
From the menu bar click on tools then scroll to folder options whilst there click the view tab and select the part that says "Show Hidden Files and Folders".
once you have done that goto c:\Windows\pss
you will see a flie there thats called "boot.ini.backup"
copy this file and paste to your c:drive
all that is left to do now is change the name of the file from boot.ini.backup to boot.ini
then right click the file you have just renamed and goto properties under attributes tick the two boxes that say read-only and Hidden
now once more goto the tools tab folder options click view and select do not show hidden files and folders

now Reboot and all will work fine

Tidgeypudd
Newbie Poster
6 posts since Feb 2009
Reputation Points: 10
Solved Threads: 0
 

for all who do not hv boot.ini missing...
right click on my computer go to properties then click the advanced tab then cilck settings under start up and recovery under system startup then click edit and paste
[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

and restart

fadishaya
Newbie Poster
1 post since Feb 2009
Reputation Points: 10
Solved Threads: 0
 

Thanks TKS, I copied the information for the XP Boot.ini into the blank Boot.ini on my system and rebooted...works a treat!

Very simple and straightforward.

Paul

Below is how to edit your BOOT.ini: Most people cannot find BOOT.INI on their hard drive. This is because they have hidden files and have not elected to see them. Open up my computer, choose tools, folder options. Go to View, choose the option to display system files, and also the option to display hidden files.

Now do a search for BOOT.INI (it should be on C:\ and not in any folders). You can right click on it and choose 'open.' Now you can edit it how you would like to. I've included the default examples for boot.ini for XP and 2000 below.

Here is an example of a boot.ini in XP: [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 Here is an example of a boot.ini in 2000 [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(1)rdisk(0)partition(1)\WINDOWS="Windows XP Professional" /fastdetect multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" /fastdetect

spacejump
Newbie Poster
1 post since Mar 2009
Reputation Points: 10
Solved Threads: 0
 

Greetings All...

I followed all instructions posted here and the "edit boot.ini" post finally fix the error. The one thing that I have now is that upon boot I get the screen to select from two [exactly the same] XP operating systems.

Networker1
Newbie Poster
7 posts since Jun 2009
Reputation Points: 10
Solved Threads: 1
 

You can edit and delete the duplicate entry in boot.ini if it bothers you.

Foz

fozbat
Newbie Poster
8 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

yeah did that and another site said do this

Open command prompt (type cmd in Run box).

8. Type the following command

attrib C:\boot.ini +s +h

and now when it loads up the screen is black and stays that way could you help with this

mtowny
Newbie Poster
1 post since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

yeah did that and another site said do this

Open command prompt (type cmd in Run box).

8. Type the following command

attrib C:\boot.ini +s +h

and now when it loads up the screen is black and stays that way could you help with this

This should not be related to the change you made. Are you sure that was all you did? To confirm, boot windows to safe mode. Run a command prompt and attrib c:\boot.ini -h -s -r then move the file into another directory (c:\testboot could be a good idea). This should take you back to invalid boot.ini message and still load windows. If ok create a new boot.ini and copy info into it. If you want to protect it the command is attrib +r +s +h.

Foz

fozbat
Newbie Poster
8 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

Sir, I followed your instructions and it worked perfectly except for one issue. On a reboot, the file boot,ini disappeared and could not be found. When I rebooted, the same error notice appeared as it did before I copied and renamed the file. So I re did everything and again it worked perfectly. However, on the next reboot, the file disappeared again. If you have any suggestions, please advise. Joseph T. Coste

josephtcoste
Newbie Poster
4 posts since Aug 2009
Reputation Points: 10
Solved Threads: 0
 

Joseph,
Please refer to my post here:
http://www.daniweb.com/forums/post929036.html#post929036

Foz

fozbat
Newbie Poster
8 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You