KVM

From KVM

How to setup Windows guest VirtIO block driver on Windows Server 2003

Contents

Introduction

VirtIO block driver can be used either as a system (boot) or non-system disk. However, the installation procedure for these two different scenarios is slightly different.

System disk installation procedure

QEMU command line options

First of all, a VM needs to be started with the VirtIO block device and boot options enabled:

-drive file=/image_path/image_name,if=virtio,boot=on

In addition, a virtual floppy disk with correct Windows drivers must be specified:

-fda /floppy_image_path/floppy_image_name

Boot from the CD and press "F6" to install a third party driver

Image:snapshot10.png

Press "S" to specify additional device

Image:snapshot11.png

Select correct architecture and press "ENTER"

Image:snapshot12.png

Press "Enter" to continue

Image:snapshot13.png

All set. Press "Enter" and continue with the normal installation procedure

Image:snapshot14.png


Non-System disk installation procedure

QEMU command line options

Run VM with the new VirtIO block device by adding the following options:

-drive file=/image_path/image_name,if=virtio,boot=off and -fda /floppy_image_path/floppy_image_name

Upon the Windows guest restart the New Hardware Wizard dialog will appear

Image:snapshot21.png

Select "Install from the list or specific ..." option and press "Next"

Image:snapshot22.png

Select an appropriate location and press "OK" button

Image:snapshot23.png

Press "Next" button

Image:snapshot24.png

Press "Finish" upon installation completion

Image:snapshot25.png

Verify installation

Go to "Device Manager" and check to see that "Red Hat VirtIO SCSI controller" appears under "SCSI and RAID controllers" category. Image:snapshot26.png

Go to "Start" -> "Administrative Tools" -> "Computer Management" 
and click "Disk Management".

Image:snapshot27.png

Follow to the "Initialize and Convert Disk Wizard" prompt

Image:snapshot28.png

Image:snapshot29.png

Image:snapshot30.png

Image:snapshot31.png

Right-click on the new disk and start the "New Partition Wizard"

Image:snapshot32.png

Image:snapshot33.png

Create a primary partition

Image:snapshot34.png

If it is necessary, adjust partition size,

Image:snapshot35.png

a drive letter,

Image:snapshot36.png

file system type, allocation unit size and volume label.

Image:snapshot37.png

Check that everything is fine and press "Finish" button

Image:snapshot38.png

The new partition will be marked as "Healthy"

Image:snapshot39.png

and accessible under "My Computer" folder.

Image:snapshot40.png

Views Article Discussion Edit History
Personal tools:  38.107.179.210 Talk for this IP Log in / create account
Toolbox What links here Related changes Upload file Special pages Printable version