You already know how to create a Red Hat Enterprise Linux virtual machine from scratch. The procedure for creating a Windows virtual machine is similar, except that it requires additional virtio drivers. This example uses Windows 7, but you can also use other Windows operating systems. You will perform a normal attended installation using a virtual DVD.
To create a Windows server
- Navigate to the Tree pane and click . Click the VMs icon in the
Defaultcluster under theDefaultdata center. On the Virtual Machines tab, click New Desktop.You only need to fill in the Name field and select Windows 7 as your Operating System. You may alter other settings, but this example retains the defaults. Click OK to create the virtual machine. - Close the Guide Me window. Your new Windows 7 virtual machine displays in the Virtual Machines tab.
You have now created your first Windows desktop virtual machine. Before you can use your virtual machine, install an operating system on it.
To install the Windows guest operating system
- Right click the virtual machine and select Run Once. Configure the following options:
- Attach Floppy: virtio-win
- Attach CD: Your Windows installation media
- Boot sequence: CD-ROM
- Display protocol: SPICE
Retain the default settings for the other options and click OK to start the virtual machine. - Select the virtual machine and click the Console (
) icon. If this is your first time connecting to the virtual machine, allow the installation of SPICE ActiveX and the SPICE client.
- After the SPICE plugins have been installed, select the virtual machine and click Console again. This displays a window to the virtual machine, where you will be prompted to begin the installation process.
- Accept the default settings and enter the required information as necessary. The only change you must make is to manually install the VirtIO drivers from the virtual floppy disk (vfd) image. To do so, select the Custom (advanced) installation option and click Load Driver. Press Ctrl and select:
Red Hat VirtIO Ethernet AdapterRed Hat VirtIO SCSI Controller
- The installation process commences, and the system will reboot itself several times.When the virtual machine has finished installing, it is time to install
RHEV-toolswhich provide some required features including optimizing SPICE display resolution. PressF12to release the mouse and click on the SPICE symbol on the upper left hand corner of the SPICE window. In the menu, select → to attach the Guest Tools ISO to the virtual machine. - On the virtual machine, locate the CD drive (usually D drive) and install the Red Hat Enterprise Virtualization Application provisioning tool. This tool checks for RHEV-tools updates on every reboot.
- After the installation of the tool, wait for a few minutes. During this time, you will not see any apparent activity because the tool runs as a service. The guest will automatically reboot to apply changes.
You have completed the installation of your Windows virtual machine. You can now log in and start using it. In the next lab you will convert this machine into a template from which you will be able to provision multiple similar machines.


