Friday, January 06, 2006

NTLDR is missing, press any key to restart

The quick test to make sure your OS installation is still good is to create an MBR and NTLDR on a floppy disk and check your partitions, this disk will check many of the partitions for a working windows installation. Here are the instructions to do this:

1. Get a blank floppy (whatever is on it will be erased), and put it into a working computer.

2. Download fixntldr.exe onto a working computer

3. Run the fixntldr.exe file by double clicking it. Click OK to overwrite the blank floppy disc in the working computer, you should see some screens about writing a new floppy disk.

4. Do you remember if the folder you had your Windows installation in was named "Windows"? If you can't remember just keep going.

5. Put the new floppy you have just created into the computer that gets the NTLDR is missing error message, turn the broken computer off.

Using the boot disk in the computer with the "NTLDR is missing" error.

Start back up the broken computer with the floppy in the floppy drive. Once your computer gets past the BIOS screen your computer should try to access the floppy drive and you should see a black screen with white letters that says:

1ST TRY THIS seleccione esto primero
2ND TRY THIS essayez ceci en deuzieme
3RD TRY THIS wahlen Sie diesen Third
4TH TRY THIS selezioni questo fourth
5TH TRY THIS selecione este fifth
6TH TRY THIS seleccione este sexto
7TH TRY THIS essayez ceci en septieme
8TH TRY THIS wahlen Sie dieses achte
9TH TRY THIS selezioni questo nono
10TH TRY THIS selecione este decimo

(I threw in some Spanish / French / German / Italian / Portuguese for international flavor.)

This file is set up to automatically select the "1ST TRY THIS" choice after 30 seconds. Try it first, if it was the wrong selection, you will likely get one of these three errors:

1. Windows could not start because file "\system32\hal.dll was missing or corrupt

2. Windows could not start because of a computer disk hardware configuration problem. Could not read from the selected boot disk. Check boot path and disk hardware. Please check the Windows documentation about hardware disk configuration and your hardware reference manuals for additional information.

3. I/O Error accessing boot sector file multi(0)disk(0)fdisk(0)\BOOTSECT.DOS

4. Immediate reboot

If you get the immediate reboot or some other weird error, try pressing F8 at the "1st Try This" selection screen, it will give you a prompt where you can select Safe Mode, and then try the "1st Try This" option again. Safe Mode is a special "minimal" version of Windows that doesn't load certain parts of the operating system that might have caused the problem.

One of the choices should eventually boot you back into Windows. (If you go all the way to option 10 and still get errors on startup, try changing boot.ini to windows.ini, then winnt.ini to boot.ini, and run through all 10 possibilities again.

Use windows to fix the boot files on the hard drive.

Once you get back into windows, try to change back whatever you were last doing and boot normally, it that doesn't work, go to the root of your C:\ drive and rename boot.ini to boot.ini.bak, ntldr to ntldr.bak, and ntdetect.com to ntdetect.com.bak, then copy the files that are on your floppy disk to the root of your C:\ drive (if you used the CD-ROM, download the fixntldriso.zip file and use the boot files from there) so that the files are on the root, like C:\ntldr C:\ntdetect.com C:\boot.ini. If it prompts you to overwrite a file, press "Yes". After they have been copied over, be sure to remove the "Read-Only" attribute from the properties of the files. (Right click on a file, choose properties, and uncheck the Read-Only box). Take the floppy out and reboot the computer (you should see the "1st Try This" menu, make the same selection you did before.

If you get back into Windows again, you can change that "1st Try This" menu by going into Start > Control Panel > System > Advanced tab > Startup and Recovery section, Settings button > System Startup; then change the "Default Operating System:" to the selection that worked for you, and change the box that says "Time to display list of operating systems" to however many seconds you want (usually 1 second). Click OK twice.

No comments: