How to restore Windows 7 and xp dual boot menu problem solution

  
In the previous words:
Because I encountered such a problem for the first time, I don't know how to solve it. I haven't answered it in the group for a long time, and I have no help in the forum. As a result, I had to find information on the Internet. I have not been exposed to visit. I just knew that it was caused by the different startup principles of XP. Some experts may know the solution, but there is not much information on this website. Moreover, there are quite a few people who ask for help, and I just figured out that I have to share it with you. If there is anything wrong, I hope to give more comments. I have just tested the feasibility


First of all, I have encountered specific problems:
I first installed Windows XP in 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-click 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 learned about Windows by the way. 7 system startup principle.


Before solving the problem, let's first understand how the startup principle of Windows XP and Windows 7 is different. How to start the dual system:
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 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, "Microsoft Windows 7" and "older versions of Windows" are usually listed.

If you choose the former, Bootmgr will give control to Winload.exe (under \\windows\\systems) in the Windows 7 system directory and start 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 belongs to the bootmgr file is missing, BCD file startup information configuration error)

The following we solve the problem:
First we need several backup files (bootmgr, ntldt, bcd, bootsect), if you If you have a Windows 7 system disk or image, you can extract it directly.
There is also a tool - EasyBCD
Note: Under the XP EasyBCD operation requires Microsoft .Net Framework2.0 support, you can go to http://msdn2.microsoft.com/zh-cn/vstudio/default .ASPx download and install.

The following operations are all performed in Windows XP, because the files and system files are hidden, so it is best to display the system and hidden files, click on the folder options to 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
to switch to the left "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. To add XP boot, select "Windows NT/200/XP" in Version, C:\\ in Drive, and Windows XP in Figure (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 when finished.


Then open "Run" (Start > Run), enter cmd
into the C:\\boot\\ directory and type "bootsect /nt60 C:" (delete is nt52, without double quotes )
Finally restart

The last words:
Everyone's problems may be different from me, according to their own situation, the above is just a reference, I am looking for this in the Internet The data discovery 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, you can find information on the Internet and always solve the problem.

Copyright © Windows knowledge All Rights Reserved