Five steps. Windows XP does not start after installing Windows 7

Source: Internet
Author: User
Tags command line

To investigate the security enhancements of Windows 7, the Windows 7 RTM of version number 7600 was installed, but a problem was encountered in the installation, and the solution was 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, hung a 30G old hard disk dedicated to install Windows 7. This hard drive has only one partition, the format is NTFS, the letter set under XP is W, is attached to the IDE port and is set to from the disk.

It is worth mentioning that in the process of installation, plug in the serial port of the main hard drive is identified for the 1th hard drive, and then access from the hard drive is recognized for NO. 0. After installing Windows 7 from the disk, everything is OK, but there is no XP in the boot menu. Before the installation of a general check, the 7600 version of Windows 7 can be normal in the system already have XP to establish a multiple-boot menu, perhaps I encountered cream situation? It is estimated that due to problems such as master and slave hard disk conflicts, it seems that it is common to create a partition for the second system on an existing hard disk, so few people encounter this situation.

Windows 7 is very close to Vista on the basic kernel, so use the Bootsect.exe program in the boot directory under the installation disk to repair the boot area, such as the "bootsect/nt52 all" command to reset the boot area, However, this will restore the boot menu to the state before Windows 7 was installed, so that although XP can boot normally, it will not be able to access windows 7. So this method is not adopted, but based on the same assumption, enter the Windows 7 System recovery interface and manually establish the XP boot record.

Note that when using the Bootsect command, the/NT52 option typically corresponds to Windows XP, and if the first system is not XP but Vista or other systems, using this option may cause the boot area to fail. In addition, if you encounter problems with NTLDR recovery or damage, try using the MBR option to recover the master boot record at the same time, for example, using the bootsect/nt52 C:/mbr command for the above description.

To do this: Install the Windows 7 CD-ROM into the optical drive, enter the installation interface, click on the link to the recovery interface (under the Install Now button below), enter the command line after entering, and then execute the following set of commands.

1. Re-search the operating system on the hard drive

Bootrec/rebuildbcd

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 location of the boot record

Bcedit-displayorder {ntldr}-addlast

After you perform these commands, reboot, you can see the boot option named "Windows XP" at boot time, and then you can set which system priority starts in Windows 7 and how long the boot menu displays.

To sum up, Windows 7 uses a boot program that is completely different from Windows XP, so because of conflicting partitions, Windows 7 May overwrite the XP boot program. Of course, we can also use the MBR recovery program on the XP installation CD or the Bootsect recovery program mentioned above to restore the bootstrapper to XP, but to retain the boot to the two operating systems, establish a boot record for the old version of Windows in the new boot program, Is the most intuitive and safest way.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.