Your location:Tech News>OS>Windows 7 FAQ>Win7 WinPE XP multi system independent startup setting method

Latest News

Win7 WinPE XP multi system independent startup setting method



More and more users install dual systems but the startup and maintenance of multiple systems has always been a headache such as Windows XP (hereinafter referred to as For WinXP)+Windows 7 users (hereinafter referred to as Win7) if there is a problem with the boot file Bootmgr or BCD boot configuration both systems will often be inaccessible. This article discusses with you the methods and techniques of using XRLDR (a lightweight multi-boot management tool) to achieve independent booting of WinXP Win7 and WinPE.

Understand the basics of multi-system startup

Before using XRLDR let's first understand the system startup knowledge so that you can better understand and configure the startup of multiple systems. The general startup procedure of the system on the hard disk is as follows: POST \u0026rarr; load the master boot record (MBR) of the hard disk \u0026rarr; search and activate the system boot file\u0026rarr; load the startup configuration file\u0026rarr; load the system core file\u0026rarr; complete the startup.

For example for users who install Win7 dual system on the basis of WinXP after installing Win7 it will change the master boot record and use Bootmgr to manage multiple system startups. Its boot process is: load the NT60 master boot record after self-check then find the boot file \u0026ldquo;C:\\Bootmgr\u0026rdquo; and activate it then load \u0026ldquo;C:\\boot\\bcd\u0026rdquo; boot configuration file and list multiple boot. If you select 'Windows 7' Bootmgr will configure according to the BCD startup information and transfer the control to 'Winload.exe' in the Win7 system directory and then start Win7. If you choose an old version of Windows Bootmgr will give control to 'NTLDR' and then start WinXP (common system boot file and boot record format as shown in the table below).

Common system boot files

Tip: The master boot record of the hard disk is not necessarily related to the specific operating system. It is a piece of code loaded before the operating system starts. The difference between different types of boot records is the difference in loading boot files such as NT60 records it will look for \u0026ldquo;C:\\Bootmgr\u0026rdquo; and load it. Bootmgr can either boot WinXP or Linux system. The specific system that can be booted is determined by the system startup configuration file. For example after the 'C:\\NTLDR' startup configuration is written into the BCD Bootmgr can start the WinXP system.

From the above startup process it can be seen that the traditional dual-system boot has the following shortcomings:

1. Multi-system startup is completed through the first partition so once the first partition cannot Normal work (such as being damaged by a virus) will cause all systems to fail to start.

2. Multi-system startup files are stored in the first partition and rely on a single Boootmgr file. Once the file is mis-operated (such as incorrectly edited the startup configuration file BCD) or deleted by mistake it will cause multiple The system failed to start.

In order to solve the above shortcomings of multi-system startup we can modify the multi-system startup by ourselves. First copy the startup files of each system to their respective partitions and then realize the independent startup of each partition system through the XRLDR configuration so that the multi-system startup can get rid of the dependence on the first partition and a single startup file. The process comparison before and after the transformation is shown in Figure 1. .

Note: This article takes the dual system installation of WinXP installed on C drive and Win7 installed on D drive as an example. In order to facilitate maintenance I also install WinPE system on E drive.

Actual combat: multiple systems start up separately

From the above introduction we can know that the first step in the transformation of multi-system startup operations is to copy the startup files of each system to their respective partitions due to simple copy startup The file does not start the system. After the copy is completed the system startup must be configured. The following describes how to perform specific operations for different systems.

Part Ⅰ. Realize WinXP independent startup

Everyone knows that WinXP is started by 'C:\\NTLDR'. For users who install WinXP first and then Win7 we only need to install the hard disk The master boot record can be changed to NT52 format. After entering WinXP copy the downloaded \u0026ldquo;bootsect.exe\u0026rdquo; to the C drive then start the command prompt tool and enter \u0026ldquo;c:\\bootsect.exe /nt52 c:\u0026rdquo; when the screen appears \u0026ldquo;Bootcode was successfully updated on All targeted volumes.\u0026rdquo; indicates that the master boot record has been successfully changed to NT52 format. Now after restarting the system NTLDR will be automatically loaded to start WinXP (the Bootmgr startup manager interface will no longer appear).

Tip: For users who install WinXP on the basis of Win7 do not use the above command to change the master boot record otherwise there will be consequences that both systems cannot enter. Because after changing to the NT52 format the master boot record of the hard disk will search for the NTLDR file in the root directory of the first partition (NT60 format is to search for Bootmgr).

Part Ⅱ. Realize Win7 independent booting

After completing the above operations restart the system and enter WinXP put the 'C:\\bootmgr' file 'C:\\boot' and the entire directory Cut all to the root directory of D drive. Then run the downloaded \u0026ldquo;bcdtool.exe\u0026rdquo; click \u0026ldquo;Start Configuration\u0026rarr;Open\u0026rdquo; open \u0026ldquo;d:\\boot\\bcd\u0026rdquo; configuration file. Select \u0026ldquo;Edit\u0026rarr;Delete startup items\u0026rdquo; to delete all the original startup items. Then select 'Edit' and 'New Vista Startup Project' in turn. After selecting the new project double-click the 'device' item in the right pane to change it to 'partition=D:' (drive letter is based on Win7 Change the specific partition of the installation) and 'description' (display name of the boot menu) is changed to 'Windows 7'.

After moving and configuring the above boot files as long as we can load \u0026ldquo;D:\\bootmgr\u0026rdquo; Win7 can be booted from the D drive (Bootmgr loading requires the help of XRLDR configuration).

Part Ⅲ. Realize WinPE independent startup

Since Win7 startup often needs to be repaired with WinPE in order to facilitate the maintenance of the Win7 system we can also manually install the WinPE system on the local hard disk . As long as you prepare the Win7 installation CD open the CD and copy all files except the 'CD directory\\sources\\install.wim' file to Disk E to complete the installation.

Final settings\u0026mdash;\u0026mdash;Multi-system unified management

After completing the configuration of the above three systems now enter the WinXP system run the downloaded XRLDR and click \u0026ldquo;install/ Configure\u0026rdquo; into the configuration interface. Select the 'first operating system' under the interface preview and set the following settings in sequence:

1. Single-select 'Startup mode' 'Start from file' and select NTLDR for the startup file (used to start WinXP Start Win7 and WinPE select Bootmgr).

2. Start the partition to select the first partition (that is the partition where WinXP is located other systems are selected according to the specific partition).

3. Select the system type \u0026ldquo;NTLDR/BOOTMGR\u0026rdquo; and check the \u0026ldquo;Activate to start the primary partition at startup\u0026rdquo;.

4. Change the menu text to \u0026ldquo;Windows XP\u0026rdquo; and then click \u0026ldquo;Generate\u0026rdquo; (set the font color font size etc. according to your preferences). Other parameters adopt default settings.

5. The operation is the same as above set the startup configuration of Win7 and Win PE system in turn and finally click 'write to disk' to complete the change of the master boot record.

OK now as long as the computer is restarted we can select our favorite system in the boot multi-boot menu and enter (the system selected last time will be activated by default at the next boot and the default boot system can be in XRLDR Make settings).

The above three systems are booted independently. For example after selecting Win7 to enter open 'Computer Management' and 'Storage' and 'Disk Management' in turn. You can see that the partition where Win7 is located is both the system partition and the boot partition. Indicating that its startup does not depend on the first partition.

Prompt: What is the system partition and boot partition? According to the explanation of the Microsoft help document the system partition refers to the partition that contains the hardware-specific files required to load Windows (such as Bootmgr). The system partition can (but does not have to) be the same as the boot partition. The boot partition refers to the partition that contains the Windows operating system and its supporting files. In the case of traditional WinXP+Win7 for Win7 its system partition is the first partition (because the specific files required to load Windows such as Bootmgr and Boot directory are in this partition) the boot partition is the second partition (because the Windows operating system directory In that partition). Here the system partition and the boot partition are combined into one which means that this partition contains system files and boot files which can indicate that the system starts independently and independently.

After the above transformation we have realized the independent startup of WinXP Win7 WinPE three systems which brings us great convenience for daily maintenance. For example if the Bootmgr file was deleted by mistake before the transformation multiple systems could not be started after restarting but now you can enter the WinXP system

Recommend article

Relate article