How to repair WinXP+Vista dual system boot file

  

If you have WinXP+Vista dual system installed on your computer, I believe that WinXP is usually installed first, then Vista is installed, according to “First low and then high&rdquo The order of ; is otherwise possible, which may cause problems with the high version of the operating system. Today we will talk about how to manually repair the WinXP+Vista dual system boot file.

Starting with Windows Vista, the boot manager of the operating system is no longer the NTLDR+boot.ini used by Windows 2000/XP/Server 2003. Instead, it uses a new boot configuration database store (BCD). . When installing an earlier version of the Windows operating system on a Windows Vista-based computer, the installer overwrites everything in the MBR, boot sector, and boot files, in which case we can no longer use boot from earlier versions of the Windows operating system. The .ini file to start Windows Vista. Even if you open the boot.ini file in Notepad, you will only see the prompt information shown in Figure 1 (please note the red border in the figure).

If the error is the fact that has been formed, we have nothing to worry about, here for the D drive to install the Windows Vista, for some reason after formatting the C drive to reinstall Windows XP as an example. Follow the steps below to fix it manually:

Step 1: Restore the MBR and restore the boot manager

Boot the computer using the Windows Vista installation CD and follow the installation language, time and currency format. , the order of the keyboard and input method, enter the installer interface and select “Repair the computer” from the lower left corner, then select ““command prompt” in the next screen (see Figure 2), manually enter it in the command prompt environment. and run the following command: bootsect -nt60 all

step 2: rebuild BCD

command prompt environment is still in the implementation of & ldquo; bootrec /RebuildBcd & rdquo; command, this The command scans all Windows-compatible installations on all disks and re-adds them to the newly generated BCD storage. Note that the rebuild BCD here is completely thorough.

Step 3: Adding Windows XP Projects Manually

It should be noted that since "<;bootrec /RebuildBcd" is only detected for Windows Vista and Windows Server 2008, Windows XP cannot be detected and found. Therefore, we can only add Windows XP to the BCD by hand-adding. Otherwise, only Windows Vista will be displayed in the multi-boot menu, and Windows XP will not be displayed.

The bcdedit.exe command line tool can modify the startup configuration data store. We can enter the following commands in the command prompt environment and execute them. The contents in parentheses indicate the interpretation of the command. Br>

bcdedit /create {ntldr} /d "Early version of Windows"

(Create a new item in the store called "Previous version of Windows")

bcdedit /set {ntldr} device partition=C:

(Set the value of the item option in the store, set the application device to the C: partition)

bcdedit /set {ntldr} pathntldr

bcdedit /displayorder {ntldr} /addlast

(Set the order in which the multiboot menu is displayed in the boot manager)

In the above command, the tag "{ntldr}” Is used to specify the OS loader that can be used to start an operating system earlier than the Windows Vista version. The information of the "early version of Windows" can be changed freely; "PARTITION=C:” is the hard disk active partition where NTLDR is located. Please repair according to the actual situation Change the command; “/addlast” means to add the specified item identifier to the end of the display order, bcdedit.exe more available parameters can view the help file.

Finally, users only need to restart the system. At this point, you will find that the problem has been solved. Manually repairing the WinXP+Vista dual system boot file is a bit complicated, but as long as you follow the steps step by step, you must Can be successful, compared to some software repair, the success rate is much larger, there are problems in this area that need to be repaired, try to try it.

Copyright © Windows knowledge All Rights Reserved