Windows 7 introduced Native VHD boot which allows user to install Windows 7/Windows server 2008 R2 on a physical box to a virtual hard disk (VHD). You can do same process in Windows 8
- Boot from the Windows 8 media (USB, CD, etc.).
- At the Install screen, press Shift+F10 to open a command prompt.
- Start diskpart and create the VHD file you want to install to:
create vdisk file=c:\win8.vhd maximum=80000 type=expandable
select vdisk file=c:\win8.vhd
create partition primary
format fs=ntfs label=”Win8″ quick
- Exit diskpart, and when you install Windows 8 you’ll be able to select your VHD volume (ignore the warning that you won’t be able to install).
If this is an existing machine, and you want to dual boot rather than wipe the disk, then don’t perform the first three blocks of commands.