"NTLDR is missing" error message when you install or upgrade Windows XP over Windows 95, Windows 98, or Windows Millennium Edition (314057)
The information in this article applies to:
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional
This article was previously published under Q314057
For a Microsoft Windows 2000 version of this article, see 255220.
SYMPTOMS
When you try to install Microsoft Windows XP or upgrade to Windows XP on a computer that runs Microsoft Windows 95, Windows 98, or Windows Millennium Edition, you may receive the following error message after the first restart during the installation:
NTLDR is missing
Press any key to restart
CAUSE
This problem may occur if your existing Windows 95, Windows 98, or Windows Millennium Edition installation was cloned and then applied to a drive that has a different geometry from that of the source drive of the cloned copy. For example, you are running Windows 98 on a 4-gigabyte (GB) drive. After you upgrade to a 30-GB hard disk, you use a third-party disk-imaging utility to make a mirror image of your Windows 98 installation, and then apply the image to the new drive. Later, you upgrade to Windows XP. To do this, you install Windows XP over the cloned image of Windows 98.
For this problem to occur, all the following conditions must be true:
- The system/startup partition is formatted with the FAT32 file system.
- The computer starts by using INT-13 extensions. (This is a partition larger than 7.8 GB with a System-ID type of 0C in the partition table).
- Because of the cloning procedure, the Heads (sides) value in the FAT32 BIOS Parameter Block (BPB) does not match the geometry of the physical drive.
The Windows 95, Windows 98, or Windows Millennium Edition startup code ignores the Heads value in the BPB and starts those programs even though the value is not valid. However, the startup code in Microsoft Windows 2000 and Windows XP requires this value, and startup does not succeed if the value is not valid. RESOLUTION
To resolve this problem, correct the Heads (sides) value in the FAT32 BPB so the Windows XP startup can continue. To update the value, rewrite the Windows 95, Windows 98, or Windows Millennium Edition startup code. To do this, follow these steps:
- Restart the computer by using a Windows 95, Windows 98, or Windows Millennium Edition startup disk that contains the Sys.com file. (By default, this file is included.)
- Make a backup copy of the Msdos.sys file in the root directory of your system drive. To do this, type the following commands at a command prompt:
attrib -h -r -s c:\msdos.sys rename msdos.sys *.ysy - At a command prompt, type sys c: to rewrite the Windows 95, Windows 98, or Windows Millennium Edition startup code with accurate BPB information. If this command runs successfully, go to step 4.
If you are using a Windows Millennium Edition startup disk, and you receive the following error message, one or more files in the Windows Millennium Edition installation have been removed: Cannot find the system file in the standard locations on drive C: Follow these steps to put the correct files on the drive so that the sys command can locate them:- Type the following commands. Press ENTER after each command:
If Windows is installed in a folder other than the Windows folder, adjust the commands accordingly.
- Try to switch to the Command folder by typing the following command:
If you receive an error message that the path is not found, type the following command to create the Command folder, and then run the cd command command again:
- Switch to the EBD folder by typing the following command:
If you do not receive an error message that the path is not found, type the following command to create the EBD folder, and then repeat the cd ebd command:
- In the EBD folder, use the following commands to copy the Io.sys file from the root of the hard disk and to rename the Io.sys file to Winboot.sys:
attrib -s -h -r c:\io.sys copy c:\io.sys winboot.sys
Winboot.sys is the file that Sys.com requires. - Switch back to drive A, and then type the following commands:
Type the following commands to restore the original Msdos.sys file. Press ENTER after each command:
attrib -s -h -r c:\msdos.sys copy c:\msdos.ysy c:\msdos.sys
Press Y to overwrite the existing Msdos.sys file. You will receive a "1 FILE(S) COPIED" verification that the file was overwritten. - Restart the computer to Windows 95, Windows 98, or Windows Millennium Edition, and then try to install or upgrade to Windows XP again.
Note Alternatively, after you run the sys c: command, you can start to the Recovery Console, and then use the fixboot command to rewrite the Windows XP startup code. With this procedure, the original installation continues normally.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 10/3/2006 |
---|
Keywords: | kbFileSystems kbenv kberrmsg kbprb kbsetup KB314057 |
---|
|