Solve the Win7/XP dual system XP can not start

  
In order to examine the security improvement of Windows 7, under the version 7600 Windows 7 RTM, but encountered a problem in the installation, the solution is posted for reference. The test machine was originally installed with Windows XP system (SP3), because it does not want to destroy the original partition

In order to examine the security improvement of Windows 7, the Windows 7 RTM with version number 7600, but encountered a problem in the installation, The solution is posted for reference. The test machine was originally installed with Windows XP system (SP3). Because it did not want to destroy the original partition structure, a 30G old hard disk was hung for Windows 7 installation. This hard disk has only one partition, the format is NTFS, the drive letter set under XP is W, it is attached to the IDE port and is set as the slave disk.



is worth mentioning that, during installation, the plug in the primary hard disk serial number is identified to a hard disk, and then access the hard disk from It is recognized as number 0. After installing Windows 7 from the disk, everything works fine, but there is no XP in the boot menu. Before the installation, I checked it roughly. The 7700 version of Windows 7 can normally establish a multi-boot menu in the case of XP already in the system. Maybe I have encountered a situation of one hundred miles? It is estimated that the main and slave hard disk drive conflicts and other problems, it seems that everyone is generally on the existing hard disk to establish a partition for the second system, so few people encounter this situation.



Windows 7 and Vista based on the basic kernel is very close, so take advantage of the program under bootsect.exe installation disk boot directory repair the boot sector, such as the implementation of & ldquo The ;bootsect /nt52 ALL” command resets the boot area, but this will restore the boot menu to the state it was in before Windows 7 was installed, so that although XP can boot normally, it will not be able to enter Windows 7. So this method is not used, but based on the same assumptions, enter the Windows 7 system recovery interface, manually establish XP boot record.


Note that when using the bootsect command, the /nt52 option is generally for Windows XP, and if the first system is not XP, but Vista or other systems, using this option may be Will cause the boot area to fail. In addition, if you encounter problems such as NTLDR not being properly recovered or corrupted, you can try to use the MBR option to restore the master boot record at the same time. For example, use the bootsect /nt52 C: /mbr command.

The specific operation method is:

Insert the Windows 7 installation CD into the CD-ROM drive. When entering the installation interface, click the link to enter the recovery interface (under the Install Now button), after entering Choose to enter the command line and then execute the following set of commands in sequence.

1.Re-search the operating system bootrec /rebuildbcd on the hard disk

2.Create a boot record bcdedit -create {ntldr} -D "Windows XP"

3 Set the boot partition location bcdedit -set {ntldr} device partition=D:

4. Set the path where the boot file is located bcedit -set {ntldr} path ntldr

5. Set the display of the boot record Location bcedit -displayorder {ntldr} -addlast


After executing these commands, restart, you can see the boot option named ""Windows XP" at boot time. After that, you can specifically set which system gives priority to boot in Windows 7, how long the boot menu is displayed, and so on.



To summarize, Windows 7 boot program used with Windows XP is completely different, it may be due to the conflict partition boot program covers Windows 7 XP, of course, we You can also use the MBR recovery program on the XP installation CD or the bootsect recovery program mentioned above to restore the boot program to the XP version, but keep the booting of the two operating systems. In the new version of the bootloader, the old version of Windows is used. Establishing a boot record is the most intuitive and secure way.


Copyright © Windows knowledge All Rights Reserved