Restore Win7 and Windowsxp dual boot menus

  

Because I encountered such a problem for the first time, I don’t know how to solve it. I didn’t answer it in the group for a long time. There was no result in asking for help in the forum. So I had to find information on the Internet. I have not touched the visit. I just know that it is caused by the different startup principle of XP. Some masters may know the solution, but there are not many online information on this, and there are quite a few people who ask for help, but they just figured it out and took it out. Let's share it together. If there is anything wrong, I hope to give more comments. I just tested it.


Let me first talk about the specific problem:


I first installed windows xp on the C drive, and then Windows 7 installed in 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 take a look at how the startup principles of windows xp and windows 7 are different, and how the dual system is started:


In windows 7+xp dual system, windows 7 uses 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 (C:BOOTBCD) and c:boot.ini under the active partition, and start according to the startup information stored in BCD and Boot.ini. Menu (that is, 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 7 system directory (under windowssystems) 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 (this File loss caused XP to fail to start on these files. (My situation is that the bootmgr file is missing, the BCD file startup information is configured incorrectly)


Let's solve the problem:


First we need a few 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/en-us/vstudio/default.aspx download and install.


The following operations are performed in Windows XP. Because files and system files are hidden, it is best to display the system and hidden files. Click on the folder option to remove the hidden files. Protected system files (recommended) and choose to display so 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, as the case may be)


Copy bcd, bootsect to the C:boot directory


Then run EasyBCD


Switch to the left side of "ADD/Remove Entries", select the original invalid boot menu in the right pane, click Delete to delete, then in Add An Entry Add a startup item below. Add XP to start in Version select "Windows NT/200/XP", Drive select C:, 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


Last words:


Everyone's problems may be different from me. According to their own situation, the above is just a reference. I found this information on the Internet and found that there are not many, and many of them are modified 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