This article describes a problem that occurs if the disk layout changes when you install Windows Vista. To resolve this problem, modify the Windows XP Boot.ini file to point to the correct partition.
You may find it easier to follow the steps if you print this article first.
After you install Windows Vista so that the computer can start either in Windows Vista or in Microsoft Windows XP, you cannot start Windows XP. When you try to start the computer by using Windows XP, you receive an error message that resembles the following:
Windows could not start because the following file is missing or corrupt:
C:\Windows\system32\ntoskrnl.exe. Please re-install a copy of the above file.
To resolve this problem, modify the Windows XP Boot.ini file to point to the correct partition. To do this, follow these steps.
Step 1: Find the Boot.ini file
Start Windows Vista, right-click Start
Collapse this imageExpand this image
, and then click Explore.
In the Start Menu window, click Folder and Search Options on the Organize menu.
In the Folder Options window, click the View tab.
In the Advanced settings area, click Show hidden files and folders.
Click to clear the Hide extensions for known file types check box.
Click to clear the Hide protected operating system files (Recommended) check box.
Click Yes to confirm that you want to display operating system files, and then click OK.
Click the drive that contains the Windows XP installation folder. Typically, this drive is drive D.
Step 2: Prepare the Boot.ini file for editing
In Windows Explorer, right-click boot.ini, and then click Properties.
In the boot.ini Properties dialog box, click the Security tab, click Advanced, click the Owner tab, and then click Edit.
Collapse this imageExpand this image
If you are prompted for an administrator password or confirmation, type your password or click Continue.
In the Change owner to list, click your alias or leave the default Administrators option selected.
Click OK in the "Advanced Security Settings for Boot.ini" window.
Click OK in the Windows Security dialog box.
Click OK in the "Advanced Security Settings for Boot.ini" window.
Click OK in the Boot.ini Properties window.
Step 3: Modify the Boot.ini file
Right-click Boot.ini, and then click Edit.
Find the line in the Boot.ini file that contains the name of the Windows XP operating system. Then, modify this line.
If the Windows Vista Setup program created a partition in the unallocated disk space in front of the partition where Windows XP is installed, the new Windows Vista partition is marked as partition 1, and the previous Windows XP partition becomes partition 2. In this scenario, you must increment the Windows XP partition value by one. Therefore, if the Boot.ini file contains "partition(1)" for Windows XP, modify this text to "partition(2)." The modified line resembles the following:
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
Save the changes to the Boot.ini file, and then exit Notepad.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
927817
(http://support.microsoft.com/kb/927817/
)
You cannot start Windows XP after you install Windows Vista in a dual-boot configuration together with Windows XP