This topic describes how to create a virtual machine from a blank virtual hard disk. You can either install the operating system after creating the virtual machine or configure the virtual machine to start from an ISO image.
Considerations
When you create a virtual machine from a blank virtual hard disk:
- You must configure the virtual machine so
that you can install an operating system from a system CD, from an
ISO image file in the library, or through a network service
boot.
- Recommended: Install virtualization guest
services (such as Virtual Machine Additions or Integration
Components) on the virtual machine.
- The virtual machine must be deployed on a
host or on a library server that has Virtual Server installed.
Procedure
To create a virtual machine from a blank virtual hard disk:
- In the Actions pane in the Virtual Machine Manager
Administrator Console, click New virtual machine.
- Complete the New Virtual Machine Wizard.
Wizard Page | Action | ||
---|---|---|---|
Select Source |
Select the Create the new virtual machine with a blank hard disk option. |
||
Virtual Machine Identity |
|
||
Configure Hardware |
Configure the blank virtual hard disk for the virtual machine.
To configure additional hardware for the virtual machine, use the following procedures:
|
||
Select Destination |
Choose between two options:
|
||
Select Host (Host placement only) |
Select a host to deploy the virtual machine on. All hosts that are available for placement are given a rating of 0-5 stars based on their suitability to host the virtual machine. The host ratings are based on the virtual machine's hardware and resource requirements and anticipated resource usage. They are also based on placement settings that you can customize for VMM or for individual virtual machine deployments. The ratings are recommendations. You can select any host that has the required disk space and memory available.
If a host has network optimization enabled, a green arrow appears in the Network Optimization column. VMM 2008 R2 allows you to take advantage of network optimization capabilities that are available on Hyper-V hosts that are running Windows Server 2008 R2. For information about network optimization and the hardware that supports it, see the Windows Server 2008 R2 documentation. After a virtual machine is deployed, this feature is displayed only for virtual machines that are deployed on a host that is running Windows Server 2008 R2. |
||
Select Library Server (Library only) |
Select a library server on which to store the virtual machine. To view additional information about the available library servers, select the server in the list. The tab below the list in the details pane provides the following information: SAN Explanation -- If a SAN transfer cannot be used to move the virtual machine's files to the library server, this tab lists the conditions that prevent a SAN transfer. |
||
Select Path |
Select the path to the folder that will store the configuration files for the virtual machine:
|
||
Select Networks (Host placement only) |
Modify the networks and attach them to None or to any of the virtual networks that are found on the selected host.
|
||
Additional Properties (Host placement only) |
Configure actions to take on a virtual machine when the virtualization service starts and stops. For more information, see How to Configure Automatic Start and Stop Actions for a Virtual Machine |
||
Summary |
Review the configuration settings. To change settings, click Previous. To begin creating the virtual machine, click Create.
|
Install an Operating System on the Virtual Machine
This section tells how to configure the virtual machine so that you can install an operating system from a system CD, from an ISO image file in the library, or through a network service boot. For the first two methods, you must configure a virtual DVD drive to attach to a physical CD drive on the host or to the image file. For a network installation, you must configure a virtual network adapter.
Operating System Requirements for a Virtual Machine
The operating system on the virtual machine must meet the following requirements:
- The virtual machine must have a supported
operating system installed. For more information, see Supported Operating
Systems for Virtual Machines
- The boot partition must be the Windows
partition.
Procedures
To install from a physical CD, you simply need to map a virtual CD/DVD drive on the virtual machine to the physical CD drive on the host computer.
To prepare to install from a system CD-
In Virtual Machines view of the VMM Administrator Console, right-click the virtual machine in the results pane, and click Properties.
-
On the Hardware Configuration tab, click DVD on the New toolbar to add a virtual DVD drive to the IDE bus.
-
In the right pane, click Physical CD/DVD drive, and then select the DVD drive on the host.
If you will use an image file to install the operating system, you must add the image file to the Virtual Machine Manager library.
To prepare to install from an image file in the library-
Copy the image file to a share in the Virtual Machine Manager library. The file will be added to the library and will be available in wizards after the next library refresh.
If you have not yet added library servers and shares, you can use the default library share, $MSSCMMLibrary, on the VMM server. The default path is <systemdrive>\Documents and Settings\All Users\Documents\Virtual Machine Manager Library Files.
-
To make the file available immediately, refresh the library share.
- In the VMM Administrator Console, under the navigation pane,
click Library to display Library view.
- In the navigation pane, right-click the share that you copied
the image file to, and then click Refresh share.
- In the VMM Administrator Console, under the navigation pane,
click Library to display Library view.
-
In the virtual machine properties, configure a virtual DVD drive to connect to the image file:
- In Virtual Machines view, right-click the virtual
machine in the results pane, and click Properties.
- On the Hardware Configuration tab, click DVD on
the New toolbar to add a virtual DVD drive to the IDE
bus.
- In the right pane, select Existing image file, and then
select the image file from the available library resources.
- In Virtual Machines view, right-click the virtual
machine in the results pane, and click Properties.
If the network adapter on the host computer supports network service boots, you can configure a virtual network adapter on the virtual machine to enable this.
To prepare to install from a network service boot-
In Virtual Machines view, right-click the virtual machine in the results pane, and click Properties.
-
On the Hardware Configuration tab, configure a network connection:
- On the left pane, click the network adapter.
- In Connected to, select the external virtual network to
use for the network service boot. The list contains all virtual
networks that are configured on the host.
- In the BIOS section, ensure that PXE Boot appears
first in the list.
- On the left pane, click the network adapter.
With the virtual machine configured to provide access to the installation medium of choice, you can connect to the virtual machine to install the operating system. Virtual Machine Manager uses Virtual Machine Remote Control (VMRC) to connect to virtual machines from the VMM Administrator Console. By default, VMM uses port 5900 to connect to VMRC. No configuration is required unless a firewall is blocking the port.
To install the operating system on the virtual machine-
In Virtual Machines view, right-click the virtual machine in the results pane, and then click Connect to virtual machine. You will need to click Yes at the prompt to start the virtual machine.
This opens the Virtual Machine Remote Control console.
-
Install the operating system on the virtual machine as you would on a physical computer. On a virtual machine, the startup disk partition must be the Windows partition.
-
After completing the installation, end your session with the virtual machine and stop the virtual machine in VMM. (Use the Stop action in Virtual Machines view.)
See Also
For the most up-to-date Help information, go to the Virtual Machine Manager 2008 Help Online. To find additional Virtual Machine Manager 2008 documentation, go to the Virtual Machine Manager 2008 TechCenter Library.