Step 2: Load the virtual hard disk Enter the following commands in turn, note that each input of a command must press the Enter key to confirm. Command 1: Diskpart command role: Run the partition management command. Hint: In the past, the partition management command provided by Windows system was Fdisk. Since Windows XP, Fdisk was replaced by Diskpart. Diskpart is powerful enough to provide almost all the features of a partitioned magician, and more importantly it supports scripting. Command 2: Creste vdisk file=e:ls.Vhd type=fixed maximum=12000 Command role: Create a virtual hard disk. The hard disk is simulated by a file (file=e:ls.Vhd) stored in the root directory of the D drive. The maximum space of the hard disk is 12GB. The type=fixed in the command indicates that the capacity of the virtual hard disk is fixed. It should be noted that it may take about 10 minutes to execute this command. At this time, except that the hard disk indicator on the computer is blinking, there is no reaction on the screen. Please wait patiently and don't mistake it. If the command is executed successfully, the prompt returned on the screen is "Diskpart successfully (created) created the virtual disk file". Command 3: Select vdisk file=e:ls.Vhd Command: Select the VHD file you just created (file=e:ls.Vhd) to act as a virtual hard disk (vdisk). If the command is executed successfully, the prompt returned on the screen is “Diskpart successfully open the virtual file”. Command 4: Attach vdisk command role: Activate the virtual hard disk. If the command is executed successfully, the screen prompts: "Diskpart successfully attached the virtual file". Command 5: Exit command role: Exit Diskpart. Hint: The key to this installation method is to create a VHD file and virtualize it as a hard disk by commanding Diskpart. The actual test shows that to complete this operation, the version number of Diskpart must be 6.1.7000, which is provided by Windows 7. Although Windows XP and Vista also provide the Diskpart command, but the version is lower than 6.1.7000, you cannot install Windows XP or Vista in this way. In addition, the original operating system of the C drive can also be Vista or Windows 7. Step 3: Format the Virtual Hard Disk Close the Command Prompt window and click “Next” to let the installation wizard continue to run until the interface shown in Figure 4 appears. Please note the information here: On my computer, there is a hard disk, marked as Disk0, and there are 3 partitions below it. The virtual hard disk flag just added is Disk1, followed by the words “Unallocated Space”, indicating that it has not been partitioned and formatted, and will now be partitioned and formatted. First, select Disk1 and click “Drive Options(advanced)”. Next, click “New” in the next interface. At this point, the program will ask us to enter the size of the first partition. The default is the maximum value (12GB in this example). Please click “Apply” to indicate that the maximum space of the virtual hard disk is used to create a unique partition. Then, click “Format” to format the partition of the virtual hard disk. Finally, click “Next” to return. Step 4: Complete the installation In Figure 4, select the installation location for the partition of the virtual hard disk you just created, and then click “Next”Install to continue. Once completed, you can select which system to enter through the boot menu, as shown in Figure 5. In Figure 5, the former is Windows XP and the latter is Windows 7.
2. Effect display On the surface, the partitions that can be observed are different after booting into two systems. On my computer (there are only two real hard disk partitions), as shown in the following table (√ means that you can observe, × means not). After booting to Windows XP, you can observe all the partitions of the real hard disk under "My Computer", you can find the VHD file created by the command prompt, but you can't convert it into a virtual hard disk by ordinary methods, so you can't observe it. To the content. After booting to Windows 7, you can also observe two partitions, one is the logical partition of the real hard disk (Disk 0) that stores the VHD file, and the other is the hard disk (Disk 1) partitioned by the VHD. In Figure 6, the author has marked the partitions that can be displayed under Windows XP with dots, and the partitions that can be displayed under Windows 7 are marked with a five-star symbol. Under Windows 7, the C partition is virtualized by the VHD file. However, the operation is completely the same as the real system. Tip: Under Windows 7, the partition for installing Windows XP can also be displayed by setting it: right-click on Disk Manager, select “change drive letter and path”, click “add” and press all the way The default option is OK. Compared with the ordinary dual Windows system, the advantages of this installation method are: ● The two systems are isolated from each other, avoiding the destruction of important files of another system due to misoperation under one system. ● Maintaining Windows 7 has become easier. Just backup the VHD file under Windows XP. ● To maintain Windows XP under Windows 7, just display the partition where it is installed. Why VHD was introduced into Windows 7 Perhaps Microsoft has realized that experiencing new systems and installing new software is what many people need. The virtual disk technology allows users to achieve these requirements most securely. Install the operating system into a file. In fact, Linux systems such as Ubuntu already have this feature.
The method is as follows: Method 1: [Baidu computer expert] one-click repair And install [Baidu co
When we look at files, we often encounter files that require our custom view. The solution to this s
Win7 recycle station cleaning is not clean How to solve the system space The specific method is as
win7 system right new no word, Excel, ppt file how to solve? 2, click on the start menu in the lowe
Win7 network neighbor display is not complete, can only see 2 computers how to do
Win7 system management self-starting program
Use Vista "Spy Mission" to make the system more secure.
How to turn off ipv6 configuration in win7 system
How is the Win7 system router used as a switch?
How to remove pop-up ads in the lower right corner of the Win7 system?
Where is the Win7 local connection? How to use Win7 local connection
Increase the number of downloads of IE 8? The registry is a
Trouble you, God, mention the assembly opinion of the computer
Win7 system can not start the solution that prompts Hal.dll to be damaged or lost
Fingerprint recognition function of notebook under Windows 7
Solution for enabling Guest to access the network in XP
Rescue Windows7 system fake death phenomenon
Let the various security warnings under the xp file disappear all the way
Win10 installation graphics driver has a blue screen solution
Blue Finger Android Simulator Bluestacks sends pictures of tips