Press any key to restart
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.
- 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.
Article ID: 314057 - Last Review: Oct 22, 2008 - Revision: 1