Five commands easy to resolve XP failed to start after installing Win7 system

Source: Internet
Author: User

At the time of testing, the test machine was originally installed with XP system, because do not want to destroy the original partition structure, so hung a 30G old hard disk dedicated to install the Windows7 system, this hard disk has only one partition, the format is NTFS, the letter set under XP is W, attached to the IDE port and is set to from the disk.

After installing the Win7 system on the hard drive, everything is OK, but the boot menu does not have XP started. It is estimated that the problem is due to problems with the master slave drive letter conflict.

Windows 7 is very close to Vista on the basic kernel, so we can use the Bootsect.exe program in the boot directory of the installation disk to repair the boot area and, based on the same assumptions, 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 zone to fail. If you are experiencing problems with NTLDR recovery or damage, try using the MBR option to restore the master boot record at the same time, and for the above, we can just use the bootsect/nt52 C:/mbr command.

How to operate:

Place the Windows7 installation CD in the optical drive, and click on the link to the recovery interface (below the Install Now button) when entering the installation interface, then select Open the Command dialog box, then execute the following five 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 execute the above command, restart your computer so that you can see the win7 named "Windows XP" at boot time, and then you can set which system will be prioritized in the

Summary: The win7 used by the bootstrapper and XP are completely different, so it is possible that partitioning conflicts caused Win7 to overwrite the XP boot program, Of course, we can also use the MBR recovery program on the XP installation CD or restore the bootstrapper to the XP system version according to the Bootsect recovery program mentioned above, but if you want to keep the boot entries for the two operating systems, The most intuitive and safest way to do this is to establish a boot record for older versions of Windows in the newer bootstrapper.

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

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.