WindowsGuestDrivers/viostor/installation: Difference between revisions

From KVM
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 31: Line 31:


= Non-System disk installation procedure =
= Non-System disk installation procedure =
== QEMU command line options==
 
== QEMU command line options ==
Run VM with the new VirtIO block device by adding the following options:
Run VM with the new VirtIO block device by adding the following options:


Line 38: Line 39:
''-fda /floppy_image_path/floppy_image_name''
''-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]]
== <pre>Go to "Start" -> "Administrative Tools" -> "Computer Management"
and click "Disk Management".</pre> ==
[[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]]
[[Image:snapshot15.png]]


== ==
== Create a primary partition ==
[[Image:snapshot21.png]]
[[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:snapshot22.png]]
[[Image:snapshot40.png]]

Latest revision as of 09:56, 4 August 2009

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

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

Snapshot10.png

Press "S" to specify additional device

Snapshot11.png

Select correct architecture and press "ENTER"

Snapshot12.png

Press "Enter" to continue

Snapshot13.png

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

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

Snapshot21.png

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

Snapshot22.png

Select an appropriate location and press "OK" button

Snapshot23.png

Press "Next" button

Snapshot24.png

Press "Finish" upon installation completion

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. Snapshot26.png

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

Snapshot27.png

Follow to the "Initialize and Convert Disk Wizard" prompt

Snapshot28.png

Snapshot29.png

Snapshot30.png

Snapshot31.png

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

Snapshot32.png

Snapshot33.png

Create a primary partition

Snapshot34.png

If it is necessary, adjust partition size,

Snapshot35.png

a drive letter,

Snapshot36.png

file system type, allocation unit size and volume label.

Snapshot37.png

Check that everything is fine and press "Finish" button

Snapshot38.png

The new partition will be marked as "Healthy"

Snapshot39.png

and accessible under "My Computer" folder.

Snapshot40.png