3 Feb 2013

How to Create a Virtual Machine with Windows 8 Hyper-V

The first thing we need to do is to enable the Hyper-V components. To do this, we need to turn them on.

Open Windows Features. Provide Administrative credentials if prompted by UAC.

Expand the Hyper-V sub-section and ensure that all options are checked (ticked) as shown below. Click on OK and restart your computer to apply changes.



If all options remain checked after a reboot, and you haven't received any error messages, then you are good to go. Continue with the next section, Here's How:. If not, then I'm sorry but your system doesn't support this feature.

If you have successfully carried out the Preparation, you will notice a couple of new icons on the Metro Start Page. These are Hyper-V Manager and Hyper-V Virtual Machine...

In order to install a guest OS (and I'm using Windows Vista Ultimate SP2 x86 for this Tutorial), we need to run the Hyper-V Manager, so click on its icon. to bring up the following screen:



In order to allow the guest OS to have network access, we need to make a configuration change. Under the Actions panel, click Virtual Switch Manager...



We need to create an External type switch, so ensure that this option is highlighted as shown and then click Create virtual switch.



Ensure that the options are set as shown above (note that the actual name of the adapter will depend on your hardware) and then click OK.



Take note of the above warning, and click Yes to complete the operation. You will then be returned to the Hyper-V Manager.

Under the Actions panel, click New and then Virtual Machine... to bring up the following screen:




To move through the screens of the Wizard, click Next and to review settings, click Previous. Click Next to continue.



Here, I have given a suitable name for my guest OS (the Virtual Machine). You can choose a location to save this VM to, but here I have left it as the default. Click Next to continue.



I have assigned 1024MB of RAM for this VM (this figure will depend on the amount of RAM you have installed), and I have also checked the option Enable Hyper-V to manage the memory amount dynamically for this VM. Click Next to continue.



In the Connection: dropbox, select the adapter you created earlier. Click on Next to continue.



The only option that you should need to change here is the Size: of the virtual hard disk. I have changed mine to 32GB. Click Next to continue.



Here, I have specified the source .iso file that will be used for the installation. Click Next to continue.



This screen is just a summary of the previous ones. If you want to make any changes before committing yourself, you can do so by using Previous and Next to move through the other screens. When you are satisfied, click on Finish to continue. The Virtual Hard Disk will now be created, and you will then see the following screen.



Under the Actions panel, click Start to run the VM. Note that there might be a slight delay the first time it is run. Click on Connect... to bring up the main screen. Alternatively, double-click the image to expand the main screen.



If you click inside this screen, your cursor will be captured and will then only function in the VM. Install the OS just as you would normally. Note that installation will be slower under a VM compared to a native (normal) install.

No comments:

Post a Comment