Then here is the guide on how to get all the goodness of Windows 8 (I'm using Windows 8 Developer preview here) along side Windows 7 without partitioning or formatting your hard disk drive. The only thing that is required in order to dual boot is a hard drive with at least 20 Gigs of free space. All you have to do is create a Virtual Hard Drive using Windows 7 and Install Windows 8 on it using Powershell.
- Windows 7.
- 16 GB available hard disk space (20 GB recommended).
- Creating the VHD.
- Mounting Windows 8 Dvd Image On Virtual DVD Drive.
- Installing Windows 8 On The VHD.
Creating the VHD
To create a new VHD, click on the action button in the menu bar, and select Create VHD.
Once the disk is created, you'll need to initialize the disk by clicking on it and selecting initialize.
Leave the partition style at MBR(Master Boot Record) and click ok.
We now need to create an actual volume on the partition. To do this right click on the black space and select “New Simple Volume”.
Now you have a VHD file that is acting like a real Disk drive.
Mounting Windows 8 Dvd Image On Virtual DVD Drive.
Browse to the Windows 8 image and double-click to mount the image.
Installing Windows 8 On The VHD.
Now you need to run PowerShell as an administrator. You can do this by opening Start Menu->All Programs->Accessories->Windows Powershell, right-clicking on the Windows PowerShell, and choosing Run as Administrator.
When PowerShell launches, type Set-ExecutionPolicy RemoteSigned. You will be given a security notice just type “Y” and press enter to accept.
CD C:\ to switch to the root of the drive.
And then type the following command:
.\Install-WindowsImage.ps1 –WIM J:\Sources\Install.wim –Apply –Index 1 –Destination I:\You should substitute the drive letter that comes after the –WIM for the drive of the mounted DVD image, and substitute the destination drive letter, in our case this is I:\, for the VHD that you created in the first section of this article. Then press enter.
Now open an elevated command prompt, and type bcdboot.exe I:\Windows (assuming that I:\ is the drive with Windows 8 on it).
That’s it now when you boot Windows you will be greeted with the new OS Choosing Screen.