Perfectly enjoy Win7/XP dual system in one partition (1)

  
        Under normal circumstances, the conventional method of installing dual systems is to install different systems in different partitions, so that not only the partitions are planned in advance, but also the backup and maintenance of the dual systems are very troublesome. Today, I teach you a new way to turn the system into a single file, and you can place it in any partition, and you can move it as you like. Backup and restore can be copied and pasted.


Step-by-step single file system production process

At present, Windows 7 and Windows XP (hereinafter referred to as Win7 and XP respectively) are the two most commonly used systems, and many users choose to install them. Dual system. Win7 native support is started by virtual disk (hereinafter referred to as VHD). Windows xp is driven by "firadisk" and can also be started in mirror mode.

Therefore, based on the above characteristics, for users who install the "Win7+XP" dual system, we can actually not install the physical system, but just make a VHD file and an image file to enjoy the dual system. In order to make everyone more clear about the operation process, we will subdivide the operation steps into the following 5
steps, you just need to follow this process.

1. Create a VHD disk based on the existing XP or Win7 system;

2. Load the VHD disk and install the Win7 system on the disk, and then obtain the Win7 single file system;

The XP single file system is obtained according to the method described in " Putting the system into the memory of your own to create high-speed RAMOS";

3. Required in WinPE Copy the boot file to the D drive and format the C drive, and change the boot record to NT60 format;

4. Copy the boot file and single file system to the C drive;

5. Run "bcdtool.exe" in WinPE to configure the startup of Win7 and XP single file systems in turn.

Tip: For the software required in this article, please click Click to download
,
Save all the files in the root directory of the D drive after downloading. At the same time, in order to facilitate the reader's query, related articles are also included in the compression package.

First Steps Get Win7 Single File System

Since XP system does not support creating and loading VHDs, XP users must first prepare a WinPE system, and then create and load VHDs to install them. The method is very simple, just copy all the files in the Win7 CD to the D drive, then copy the downloaded "geldr" file to the C drive, then open the "c:\\boot.ini" to add and start (for details, see 2010). The 18th issue of "No CD-ROM? Multi-boot CD "inserted" hard disk" article). After completing the system, restart the system and enter WinPE. Then start the command prompt and enter the command "Diskpart /s d:\\diskpart.txt" to create and load the VHD.

Note: Win7 users directly enter the system, start the "command prompt" program as an administrator and execute the above commands.

Next, continue to enter "d:\\sources\\setup.exe" in the command prompt window to activate the installation (assuming that all Win7 files have been copied to the D drive), in "You want to install the system to Which partition is the step to install the system to the virtual hard disk created above, this virtual hard disk is labeled "disk1 partion 1" (as shown in Figure 1).

OK, the rest of the operation follow the on-screen instructions to complete the Win7 installation, so you get the Win7 single file system installed in "D:\\win7.vhd".

Tip: Only the "diskpart" command of WinPE3.0 (WinPE comes with Win7) supports the creation of VHD files, so please be sure to use Win7 core WinPE. The "diskpart.txt" in the text is a batch file that has been created. By default, the D drive (the D drive must be in NTFS format and ensure enough space to create system files) creates a 10GB "Win7.vhd" file. . You can use "Notepad" to open "diskpart.txt" according to your own situation.

After getting the Win7 single file system through the above operation, you now have two choices:

1. If you are installing XP system now, and your memory is not very large, then You can choose to keep the existing XP system, and then you only need to configure the Win7 single file system startup in WinPE to form a dual system of "traditional XP system + Win7 single file system";

2. If you install now XP or Win7 system, and your memory is relatively large, then you can choose to follow the " put the system into the memory of your own high-speed RAMOS", the method described in the article, make a XP running in memory System, then format the current system, then configure boot in WinPE, get the "Win7 single file system + XP single file system" dual system.

Of course, for the sake of insurance, it is recommended to keep the original system, reformat the original system and reconfigure the boot after confirming that there is no problem with the single file system. Of course, the original system can also be retained, but the final result is the generation of three systems: the original system + XP single file system + Win7 single file system.

Specifically, how to choose, depends on your own request.

Step 2 Configure Single File System Startup

Take the dual system of "Win7 Single File System + XP Single File System" as an example, first make the "winxp.img" Place it on the D drive, then start the WinPE system (you can use the Win7 CD directly), press "Shift+F10" to start the command prompt when the installation language interface appears, and then start the "Configure Single File System" provided in the archive. Enter the command for the command "document", format the C drive as prompted, and then copy the necessary files to the C drive.

After completing the above operation, use "bcdtool" to configure the startup of Win7 and XP single file systems.

The startup configuration of the Win7 single file system is also done in the command prompt environment. Enter "D:\\bcdtool" to start the "bcdtool" program, then click "Start Configuration → Open", select "C:\\boot\\bcd" and configure Win7 VHD to start. The steps are as follows:

Click the "Edit → New Vista Startup Project" button in the "bcdtool" menu bar, select the new project and double-click the "device" in the right pane to change it to "partition=P:" (that is, load Win7.vhd virtual The drive letter of the disk, if you enter the command in the "Configure Single File System Startup Command" document downloaded, the VHD is automatically loaded after the P drive, otherwise please modify it according to the actual situation), "description" (start menu display Change the name to "Windows 7 VHD" and "Osdevice" to "partition=P:" (as shown in Figure 2).

After the completion, we will configure the startup of the XP single file system.

Continue to click "Edit → New Real Mode Startup", change "description" to "Boot XP", and other settings with default values. It should be noted that at this time, it is necessary to ensure that the C drive has "grldr.mbr", "menu.lst", "geldr" files, otherwise the XP single file system cannot be started.

Tip: In fact, whether it is XP or Win7, as long as we have "bootmgr" and "bcd" configuration files, it is very convenient to configure their startup through "bcdtool", regardless of which system is installed. Partition.

Now restart the system, we can select "Windows 7 VHD" in the multi-boot menu to enter the Win7 single file system, select "Boot XP" to enter XP! So far!!

Copyright © Windows knowledge All Rights Reserved