"NTLDR is missing" error message when you install or upgrade Windows XP over Windows 95, Windows 98, or Windows Millennium Edition
This article was previously published under Q314057
This article has been archived. It is offered "as is" and will no longer be updated.
For a Microsoft Windows 2000 version of this article, see 255220.
This section is intended for advanced computer users. If you are not comfortable with advanced troubleshooting, you might want to ask someone for help or contact support. For information about how to do this, visit the following Microsoft Web site:
NTLDR is missing
Press any key to restart
Press any key to restart
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.
To resolve this problem, correct the Heads (sides) value in the FAT32 BPB so that 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 the 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:
attrib -s -h -r c:\msdos.sysPress Y to overwrite the existing Msdos.sys file. You will receive a "1 FILE(S) COPIED" verification that the file was overwritten.
- Type the following commands. Press ENTER after each command:c: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:cd commandIf 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:md command
- Switch to the EBD folder by typing the following command:cd ebdIf 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:md ebd
- 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.sysWinboot.sys is the file that Sys.com requires.
copy c:\io.sys winboot.sys
- Switch back to drive A, and then type the following commands:a:
copy c:\msdos.ysy c:\msdos.sys
- Type the following commands. Press ENTER after each command:
- Restart the computer to Windows 95, Windows 98, or Windows Millennium Edition, and then try to install or upgrade to Windows XP again.
Note Or, 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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
178947 Registry file was not found. Registry services may...
318948 "NTLDR is missing or corrupt" error message during Windows 2000 or Windows NT 4.0 upgrade
320397 Windows may not start and you may receive an "NTLDR is missing" error message if Windows is not up-to-date and there are too many files in the root folder
883275 You cannot start your computer after you modify the permissions in Windows Server 2003, in Windows XP, or in Windows 2000
812492 Error message when you start your computer with a non-system disk
315261 The computer does not start after you change the active partition by using the Disk Management toolIf the articles listed here do not help you resolve the problem or if you experience symptoms that differ from those that are described in this article, search the Microsoft Knowledge Base for more information. To search the Microsoft Knowledge Base, visit the following Microsoft Web site:
Article ID: 314057 - Last Review: 12/07/2015 08:18:37 - Revision: 4.1
Microsoft Windows XP Home Edition, Microsoft Windows XP Professional
- kbnosurvey kbarchive kbresolve kbfilesystems kbenv kberrmsg kbprb kbsetup KB314057