Dual hard drive Win7 and XP dual system boot settings

  
        

has two or more hard drives. In the case of multiple hard drives, multiple systems are also a choice for many people. Nowadays, Win7
is becoming more and more popular. It is early to install Win7 on the new hard disk. It is also very popular to keep XP on the old hard disk. Multi-drive and multi-system is a good thing, but everything can't be perfect. Yes, the problem is: the startup of the system is a problem. If you do not make some settings under the multi-drive and multi-system conditions, you can only pass The motherboard selects the hard disk to implement the boot selection for different systems, which we call "hard selection" (method implemented by hardware). Is there a more convenient and simple way to concentrate both systems in one menu, just select the boot method after booting? The answer is yes! And look - "soft selection" (method implemented by soft

pieces).
※Notes

We know that from Vista, Microsoft has switched to the form of boomgr+boot as the new Windows boot guide (user called BCD boot), of course new technology. The old technology cannot be completely discarded, so the BCD boot is also compatible with the boot mechanism of NT5.X such as XP. But unfortunately, XP's old boot mechanism has no way to be compatible with BCD. Therefore, our following settings are mainly performed under Win7. At the same time, in order to maintain such a selection menu, only the hard disk where Win7 is located can be set as the first boot hard disk (the setting method is omitted here, the reader please refer to the relevant hardware manual).

※Add and modify the boot file

Under Win7, find the three files NTLDR, Boot.ini and NTDETECT.COM under the WinXP partition (Note: These files have system, hidden attributes Under normal circumstances, you can't see, uncheck the "Hide protected system files and folders" check box, and select "Show hidden files, folders and drives" to see the

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\\ Windows
[Operating systems]
multi(0)disk(0)rdisk(0)partition(1)\\Windows="Microsoft Windows XP Professional"

/fastdetect

The place to be modified here is rdisk(0)partition(1): rdisk(0) is the physical hard disk serial number, the starting number is 0, that is, hard disk No. 1, XP is on another hard disk, need Modify it to No. 2 hard disk to rdisk (1); partition (1) is the partition serial number, the starting number is 1, that is, the number 1 partition, here need to be modified according to the partition location of XP, view XP points

The location of the location is not based on the drive letter. Sometimes the drive letter is not assigned in the order. The correct method is to right-click "Computer", "Manage", "Storage", "Disk Management" under Win7. Find the hard disk where XP is located, from left to right, XP on the partition of the first few positions, change the "1" in partition(1) to a few, and save

boot.ini after the modification is completed. : It may not be saved under Win7 partition after modifying boot.ini. In this case, you can move boot.ini to a place other than Win7 partition, modify it and then move it back.)

※Adding a boot menu

A boot option is required to add an XP menu to the BCD boot manager of Win7. Run "Command Prompt" as administrator under Win7 (Start~All Programs~Accessories, right-click "Command Prompt" will run the administrator option). Execute the following command: (Note: The following commands contain spaces in multiple places. Please note that it can also be copied directly here during operation.)

bcdedit /create {ntldr} /d "Windows XP"

This command is to add XP menu option to BCD. "Windows XP" can be arbitrarily modified to your own preferences, but you need to pay attention to add quotation marks;
continue to execute this command:

bcdedit /set {ntldr} device partition=C:

This command is to set the partition of the XP boot file NTLDR, we have placed it in the partition where Win7 is located (ie C drive);
Then execute the command:

bcdedit /set {ntldr} path \ tldr< Br>

This command is to set the path of the NTLDR file. It can be "\\" in the root directory (the relative path is used here, that is, the drive letter is not needed);
The last execution command:

bcdedit /displayorder {ntldr} /addlast

This is where to set the add boot menu, /addlas t is placed after (/addfirst is in front).
If you still need to set the menu wait time, please add a command:

bcdedit /timeout 10

The "10" here can be modified to the desired value in seconds.

After rebooting, restart the system, and then try to start it one by one. The setup is successful without problems. The above is based on the settings of Win7 and XP dual system, friends can make a big difference, apply it to the multi-drive multi-system environment under Windows Vista\\2008 and Windows 2000\\2003 system, but there is a premise that this method Only applicable to NT6.X and NT5.X dual system environments.

Copyright © Windows knowledge All Rights Reserved