In this article we are going to explain how to install Windows 8 to VHD (virtual hard disk) for an easy dual-booting setup. It divides our hard drive into multiple partitions, typically required for dual-booting multiple operating systems. Windows 8 provides a very easy way to try your native hardware while retaining a Windows 7 safety-net that you can return to with just a reboot.
How to install Windows 8 to VHD
First we have to move on Desktop of Windows 8.
Then we have to move on the Start screen window of Windows 8.
Select the shortcut key Win+c.
Search Run in the search engine.
Open "diskmgmt.msc" in the run window.
The Disk Management window in Windows 8 looks like:
Then click on Action and select Create VHD.
Enter a location and name for your vhd. I typically use c:\vhd\win8.vhd.
Microsoft recommends a minimum of 20 GB for Windows 8 64-bit. I suggest setting the VHD disk size to at least 40 GB so you have room for apps.
When you have your settings selected, click OK. At that point hit Shift and F10 to bring up a command prompt.
Once the command prompt is open, run the following:
select vdisk file=d:\vhd\win8.vhd