First, confirm that XP has been installed. (If XP is installed through ghost, ghost is completed in PE, but XP cannot be started after restart. You can use software such as PM, set the drive letter of XP to active partition, and temporarily set the partition of win 7 to non-active partition. After the XP installation is restarted, enter PE and set the drive letter of win 7 back, similarly, the drive letter of XP must cancel the previously set active partition). At this time, go to the Windows 7 system, open the command prompt (with administrator privileges), and enter the command
Bcdedit/create {ntldr}/D "Windows XP"
Bcdedit/set {ntldr} device partition = E: (this E is the drive letter of XP, or other drive letters)
Bcdedit/set {ntldr} path \ ntldr
Bcdedit/set {ntldr} description "Windows XP"
Bcdedit/displayorder {ntldr}/addfirst
Bcdedit/timeout 3
At this time, do not rush to restart. After the restart, although there are boot items, but still cannot enter the XP system, here we need to perform the most step operation
It is to boot the hidden file in the XP root directory. INI ntldr bootfront. bin Io. sys ntdetect msdos. copy sys together to the seven windows directories. From the start of the system, you will find that XP and win7 can coexist.