Method of restoring Windows 7 and Windows XP dual boot menus

  
It is often seen on the Internet that someone has asked the dual system boot menu. In Baidu, a search can also find many solutions, but they are all the same, and they are transferred around. There is an 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 solving the problem, let's first understand the difference between the startup principle of windows xp and windows 7. How to start the dual system:
In windows 7+xp dual system, windows 7 uses bootmgr to take over the system. mode. After the computer self-test is complete, start looking for the active primary partition (generally C:) and load it.
There will continue to read the boot configuration file (ie C:\\BOOT\\BCD) and c:\\boot.ini under the active partition, and list the boot menu according to the boot information stored by BCD and Boot.ini (that is, double 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) 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)
The following we 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, you can go to 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 select Choose to display the files and folders.
Copymgmg, 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
and then run EasyBCD
to switch to the left "ADD/Remove" Entries”, in the right pane, select the original invalid boot menu, 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 & rdquo; (Start > Run), enter cmd
enter C:\\boot\\ directory and enter "lds;bootsect /nt60 C:” (delete is nt52, without double quotes) < Br>The last restart
The problem that everyone encounters may be different from me. According to my own situation, the above is just a reference. I found this information on the Internet and found that there are not many, and there are many changes to the boot. .ini, some can't solve the problem, and some are especially 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