How to restore Windows7 and Windowsxp dual boot menu

  

I often see people on the Internet asking questions about the dual system boot menu. In Baidu, I can also find many solutions, but they are all the same, and they turn around. There is very little article that can really solve it. What I want to say is that this piece of repairing is the problem I encountered and the solution. It is not necessarily applicable to others. I only want to give you a reference and one more solution.

First of all, I have encountered specific problems:

I first installed windows xp on the C drive, and then installed Windows 7 on the D drive. This is all normal, because I originally backed up the xp system, so I used a key to restore the C drive to restore, but the problem will come out, in the system startup items, only windows xp and one key restore two options There is no way to enter the windows 7 system, because I have not touched the windows visit, directly from xp to windows 7, so I don't know much about the startup principle of it, so I studied the problem in one afternoon, and I also understood the windows by the way. 7 system startup principle.

Before we solve the problem, let's first understand how the startup principles of windows xp and windows 7 are different. How do dual systems start up:

In windows 7+xp dual system, windows 7 Use bootmgr to take over the system boot mode. After the computer self-test is complete, start looking for the active primary partition (generally C:) and load it.

Then continue to read the startup configuration file (ie C:\\BOOT\\BCD) and c:\\boot.ini under the active partition, and list the startup menu according to the startup information stored in BCD and Boot.ini ( This is the dual system boot menu). For dual system users, it is usually listed "Microsoft Windows 7" and "old versions of Windows".

If you choose the former, Bootmgr will give control to Winload.exe (under \\windows\\systems) in the Windows 7 system directory and start booting Windows 7. Select the latter, Bootmgr will give control to NTLDR, then start reading c:\\boot.ini and list the boot menu configured in it.

The startup failure mainly occurs in Bootmgr (if the file is lost), BCD (boot information configuration error), Winload.exe (the file is lost and Vista cannot be started), Ntldr (the file is lost and XP cannot be started) ) These files are on. (My situation is that the bootmgr file is missing, the BCD file startup information is configured incorrectly.) The exam is big - the country's largest education website (www.Examda.com)

Let's solve the problem:

First We need several backup files (bootmgr, ntldt, bcd, bootsect), if you have windows 7 system disk or mirror, you can extract directly from it.

There is also a tool ——EasyBCD

Note: The operation of EasyBCD under XP requires Microsoft .NET Framework 2.0 support, which can be found at http://msdn2.microsoft.com /zh-cn/vstudio/default.aspx download and install.

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

Copy bootmgr, ntldt (usually under the C drive, do not copy) to the C drive. (This C drive is the default system, depending on the situation)

Copy bcd, bootsect to the C:\\boot\\ directory

Then run EasyBCD

Go to the left side of "ADD/Remove Entries", select the original invalid boot menu in the right pane, click Delete to delete, and then add the startup item under Add An Entry. Add XP to start in Version select "Windows NT/200/XP", Drive select C:\\, and Name to Windows XP (Figure 3). Same as above, add the startup item of windows 7 (Version selects Windows Vista/longhom, Drive selects D:\\, Name is set to Windows 7), and clicks ADD Entry to save the configuration.

Then open “Run> (Start > Run), type cmd

Enter C:\\boot\\ directory and enter “bootsect /nt60 C:” (delete is nt52, Without double quotes)

Last restart

Everyone's problems may be different from me. According to their own situation, the above is just a reference. I am looking for this on the Internet. The information found is not a lot, there are many modifications to the boot.ini, some can not solve the problem, and some are particularly troublesome. If you have problems and think more, look for information on the Internet and always solve the problem.

Copyright © Windows knowledge All Rights Reserved