How to repair the restore WINDOWS7, XP dual system boot Menu

Source: Internet
Author: User
Tags ini

I first installed Windows XP in the C disk and then went on the Windows7 in the D tray. With everything normal, because I originally backed up the XP system, so I use a key to restore the C disk to restore, but the problem comes out, in the system startup that only Windows XP and one-click Restore two options, no way into the Windows 7 system, because I have not contacted Windows Vista, directly from XP to Windows 7, so I didn't quite know how it started, so I studied the problem for an afternoon, and I learned how the Windows 7 system started.

Before we solve the problem, let's take a look at how Windows XP and Windows 7 start up differently, and how the dual system starts:

In Windows 7+XP Dual systems, Windows 7 uses BOOTMGR to take over system boot mode. After the computer self-test completes, start looking for the active primary partition (usually C:) and load it.

It then continues to read the boot configuration file (i.e. C:BOOTBCD) and C:boot.ini under the active partition, listing the boot menu (that is, the dual system boot menu) based on the startup information for the BCD and Boot.ini stores. For dual-system users, Microsoft Windows 7 and older versions of Windows are typically listed.

If you choose the former, Bootmgr gives control to the Winload.exe (under Windowssystems) in the Windows 7 system directory and starts Windows 7. Select the latter, bootmgr the control to the Ntldr, and then start reading the C:boot.ini and listing the configured boot menu.

A startup failure occurs mainly on bootmgr (such as the file is missing), BCD (startup information configuration error), Winload.exe (which causes Vista to fail to start), and Ntldr (which causes XP to fail to start) on these files. (My situation belongs to bootmgr file loss, BCD file startup information configuration error)

Here's how to solve the problem:

1, first we need several backup files (bootmgr,ntldt,bcd,bootsect), if you have Windows 7 system disk or mirror can be directly extracted from.

There is also a tool--EASYBCD

Note: The EASYBCD operation under XP requires support from Microsoft. NET Framework2.0.

2, the following operations are done in Windows XP, because they also hide files and system files, so it is best to display system and hidden files, click to view the folder options, remove hidden protected system files (recommended) and choose to display so files and folders.

Copy the Bootmgr,ntldt (usually under C disk, without copying) to the C disk. (This C disk defaults to the system, depending on the circumstances)

Copy the Bcd,bootsect to the C:boot directory

3, then run EASYBCD

Switch to Add/remove Entries on the left, select the original invalid boot menu in the right pane, click Delete, and then add the startup item under Add an entry. Add XP Startup Select Windows Nt/200/xp in version, drive Select C:, and name is set to Windows XP (Figure 3). Ditto, add Windows 7 Startup items (version Select Windows Vista/longhom, drive Select D:, Name set to Windows 7), and then click Add Entry to save the configuration.

4, then open "Run" (start), input cmd

Enter "Bootsect/nt60 C:" In the C:boot directory (delete is nt52 without double quotes)

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.