BoYans.net

How to install Windows 8 to VHD

 

  1. Download Windows 8.1 Evaluation ISO file

  2. Use Windows 7 USB/DVD Download tool to burn the .iso file to DVD or USB. You can use also another tool for creating bootable Windows 8 installation DVD/USB.

  3. Create a fixed or dynamic VHD file of size 16 GB for 32-bit (or 20 GB for 64-bit) version of Windows 8. (steps 3+4 detailed below)

  4. Attach created VHD, create a single partition and format as NTFS.

  5. Reboot from created Windows 8 DVD or USB.

  6. Select your language and keyboard layout and proceed to Repair your computer > Troubleshoot > Advanced Options > Command prompt.

  7. Run diskpart. Execute command "list volume" (without quotes) to see mapping of partitions and note drive letter where VHD file is stored.

  8. Now execute following commands to select and attach VHD:

    >select vdisk file="drive_and_full_path_to_vhd_file" (e.g. "c:\vdisks\win8.vhd" )

    >attach vdisk

    >exit

  9. After exiting diskpart run setup.exe to start installation.

  10. Select language and keyboard layout when prompted.

  11. Select custom installation. Select VHD drive as destination and after confirming you will see "Installing Windows"...

  12. After first iteration of installation is finished. Remove DVD or USB to reboot and continue installation.

  13. Wait for operations "Getting devices ready" and "Getting system ready" and restart to Windows 8.

 

How to create and prepare VHD for Installation

 

VHD preparation steps can be executed also after booting from installation DVD/USB just before running setup.

 

Example file created is win8.vhd in folder \vdisks on drive c: with size 16 GB.

Run diskpart.exe and execute these commands:

>create vdisk file="c:\vdisks\win8.vhd" maximum=16000 type=fixed
>select vdisk file="c:\vdisks\win8.vhd"
>attach vdisk
>create partition primary
>assign letter=v
>format fs=ntfs label="Win8" quick

>exit

 

 

Copyright © 2012-2014 BoYans