No need to use software, manually repair dual system boot into win7, xp multiple methods

  
        

Originally c drive Win7
, later work needs to reload dp, (Why here I choose dual system instead of xp mode, there is no need to discuss here, benevolent see wise see wisdom, huh, huh )

After loading xp, it’s finished, Win7’s boot project is gone, and all the boot software on the Internet has been searched. (There are strong condemnations of those who borrowed the necessary links and used the fake link. It’s confusing pop-ups or advertisements. These softwares may be useful, but I’m useless. It’s not a matter of example, it’s a waste of time.

There is a phenomenon because Dell notebook, the default has hidden area, I have no grid, (why not? It is my business..).xp can be entered normally, but, however, xp is still in the d drive, c drive should be Is win7, but now it is used in the hidden area, Win7 is in another disk, my is in the g disk.

Ok, my situation is described, start to say how to carry out the repair of the boot, there are divided 3 cases:

The first type: first install Win7, then install xp, and xp is installed normally with the installation disk

In this case, win7 boot is covered by XP boot. Therefore, you need to manually repair the Win7 boot under XP.

1. Enter the boot primary partition: (What is the boot primary partition? You look for which disk has a hidden folder under the disk is oh, my is in the c drive)

cd c:\\boot
2. Write the boot information required by win7 to the boot record: (you must find the bootsect.exe file from the Win7 installation disk and copy it to the boot directory of the primary partition we just entered)

bootsect /nt60 c:
bootsect /nt60 c: /mbr
The first bootsect command writes the boot information to the C drive partition boot record,

The second bootsect command puts the boot information Write to the hard disk master boot record.

After this step, the XP bootloader ntldr will not be booted, so you need to fix it again.

3. In this step, use the bcdedit command to rebuild the boot entry in XP in bcd. Give boot control to XP's boot manager ntldr to enable XP boot.
First, enter the win7 system directory, because my Win7 is in the g disk

cd G:\\Windows\\system32< BR> Then, run the bcdedit command
bcdedit /create {ntldr} /d "Windows XP"
bcdedit /set {ntldr} device boot
bcdedit /set {ntldr} path \ tldr
bcdedit /Displayorder {ntldr} /addlast
bcdedit /timeout 10

Fixed! Restart to see.

Second, first install Win7, then install xp, but xp is Ghost Mode installation:

In this case, the XP of the D drive lacks booting and can only enter the win7 system, so you need to manually restore the XP boot under Win7. The method is as follows:

1 Copy the three files ntldr, ntdetect.com, and boot.ini in the root directory of the D drive to the root directory of the C drive (assuming xp is in the d drive, Win7 is on the c drive)

2 Modify the contents of boot.ini, set the correct boot path for xp, and change c: to d:. (The original path is C drive)

3 Run cmd as administrator and enter the following command
bcdedit /create {ntldr} /d "Windows XP"
bcdedit /set {ntldr} device boot
bcdedit /set {ntldr} path \ tldr
bcdedit /displayorder {ntldr} /addlast
bcdedit /timeout 10

Fix completed! Restart and see.

Three, the system xp is in the C drive. Install Win7 to D drive with Ghost:

In this case, Win7 of D drive is not booted and needs to be manually fixed. A bit like the first one, first fix Win7 and then repair xp

1. Rebuild Win7 boot environment in C drive:

Enter C drive xp, enter
cd d:\\Windows \\system32
bcdboot d:\\Windows /l en /sc:
After running the above command, the \\boot folder and bootmgr file are generated in the root directory of the C drive.
2. Write the boot information required by win7 to the boot record: (must find the bootsect.exe file from the Win7 installation disk, copy to the boot directory of the main partition we just entered)

Enter the c drive Folder

cd c:\\boot

bootsect /nt60 c:
bootsect /nt60 c: /mbr
The first bootsect command writes boot information to the C partition Boot Record,

The second bootsect command writes boot information to the hard drive master boot record.

After this step, the XP bootloader ntldr will not be booted, so you need to fix it again.

3. In this step, use the bcdedit command to rebuild the boot entry in XP in bcd. , give the boot control to XP boot manager ntldr, to achieve XP boot.
First, enter the win7 system directory, such as Win7 in the d disk

cd d:\\Windows\\system32
Then, run the bcdedit command
bcdedit /create {ntldr} /d "Windows XP"
bcdedit /set {ntldr} device boot
bcdedit /set {ntldr} path \ tldr
bcdedit /displayorder { Ntldr} /addlast
bcdedit /timeout 10

Repair is complete! Restart to see.

Friendly reminder:

In the above command, each command must succeed. It is possible that the bcdedit command will return a failure message. At this point, the command in step 3 is changed to:
bcdedit /store c:\\boot\\bcd /create {ntldr} /d "Windows XP"
bcdedit /store c:\\boot\\bcd /set {ntldr} Device boot
bcdedit /store c:\\boot\\bcd /set {ntldr} path \ tldr
bcdedit /store c:\\boot\\bcd /displayorder {ntldr} /addlast
bcdedit /store c:\\ Boot\\bcd /timeout 10

If it is prompted to find the bootsect command, it is because there is no bootsect.exe file in the Boot folder. At this time, you need to find a bootsect.exe file and throw it to Boot. Inside the folder. Where to find? Win7 installation disk or online search for one.

These contents are also found online, after finishing and testing through, use it to share with you, if there is infringement, please email .

I hope to help everyone.

Copyright © Windows knowledge All Rights Reserved