Install Windows 7 64-bit in vhd

Source: Internet
Author: User
Tags windows 7 x64
During the experiment today, an outofmemory exception occurred because the data volume was too large to exceed 2 GB. However, I thought it would be possible to run it successfully using a 64-bit system.

However, my disk space is quite tight. I heard that I was able to install the system in vhd some time ago. Today I just want to try it.

First, use disk management in Computer Management to create a vhd disk. the maximum size is set to 20 GB or above, either dynamic or fixed. If it is dynamic, make sure there is sufficient space, otherwise, a blue screen error occurs later.

Mount the created vhd disk to the system, and use imagex to apply the 4th positions in install. Vim in the souces folder of the installation disk to the mounted vhd disk. Why should we select 4th locations? Because the fourth position is the flagship version, if the first position is used, it will be the home normal version. Vhd only supports its flagship and commercial editions. This process is long.

Run the following command to create a startup Item:

Bcdedit/copy {current}/D "Windows 7x64"

A line ID is generated and replaced with the line ID.

Bcdedit/set {91efbc47-7796-11de-8788-b469c8eae731} device vhd = [E:] win2007.vhd

Bcdedit/set {91efbc47-7796-11de-8788-b469c8eae731} osdevice vhd = [E:] win2007.vhd

Bcdedit/set {91efbc47-7796-11de-8788-b469c8eae731} detecthal on

Modify the vhd address according to the actual situation.

Restart your computer. If you select Windows 7 x64, the installation process will be completed. Restart later. Continue to select Windows 7 x64. Wait for a while before the installation is complete.

Related Article

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.