Fully understand and use the VHD features of Windows 7

Source: Internet
Author: User

Windows 7 has a lot of new gadgets, but the GUI interface doesn't mean anything for two or three days, and I'd like to say that the topic is a new feature of Windows 7--windows 7 boot system has a VHD disk driver built into it that lets us move windows The 7 system is installed on the virtual disk (in fact, Windows Server 2008 is also supported).

Of course, to do this thing, for most people, is simply toss, want to toss down to look down-

Play One:

Assuming that there are C, d two partitions on the hard drive, where the C partition has a Vista system installed, and now I want to install a Windows 7 system, but for the sake of simplicity, do not want to install it directly on any physical disk, so install it in the C:\VHD directory of Windows 7. VHD file, and with Vista system composed of dual systems.

PS: This play requires attention, C disk capacity can not be too small, if Vista accounted for 15GB, and Windows 7.VHD should have at least 10GB above, therefore, C disk capacity at least in 30GB above can play.

Before you start, you need to prepare two things:

1. A Windows 7 ISO image file

2. A ImageX.exe tool (found in the Windows AIK package) is used to pour install.wim into the VHD.

Methods and steps:

First step: In Vista system, all files in the Windows 7 ISO file are extracted to the second partition (that is, d disk), and the prepared ImageX.exe is also placed in the D-packing directory.

Step Two: Then open the system's Disk Manager, the D partition is set to active partition, restart the system will start from here, into the same installation environment as the CD-ROM system can replace the optical drive. Of course, if you have more than 4GB u disk, then format the U disk into NTFS, and set it as active partition, then the vist a/windows 7/win2008 CD content copy in, and then the motherboard set to USB boot, then u disk = optical drive.

Step three: Reboot the system and enter the Windows 7 installation environment. Then we need to create a VHD disk in the first partition. What is needed is the DiskPart command.

Open the Command Input window with SHIFT+F10 and enter the following command

Diskpart

Sel Disk 0

Sel Part 1

Active

#以上是激活第一分区 so that the Windows 7 system in the virtual disk is started from here, the disk bit d of the partition can be confirmed by the list vol.

Create vdisk file=d:\vhd\windows 7.vhd maximum=20480 type=fixed

Sel vdisk file=d:\vhd\windows 7.vhd

Attach Vdisk

Create Part Primary

Assign Letter=v

Format Fs=ntfs Quick

Exit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.