Changes

Jump to: navigation, search
no edit summary
== Preparing the Windows XP / Windows Vista for Xen HVM Installation ==
Installation will require a Windows XP or Vista installation DVD. Installation may be performed directly from the DVD drive, or the DVD image may be extracted from the DVD to an ISO image residing on the filesystem of the host. To extract the ISO image from the DVD insert it into a DVD drive, unmount it is if it is automounted auto-mounted and execute the following command (substituting ''/dev/hdb'' for the matching device on your chosen Linux distribution):
<pre>
</pre>
Once the copy is completed the DVD can be removed from the drive and stored safely, and the ''Windows.iso'' file used to perform the installation.
== Configuring the Xen Windows Guest Configuration File ==
</pre>
Next, the amount of shadow memory may be defined. This should be equal to 2KB per MB of domain memory, plus a few MB per vcpu. In general 8Mb is sufficentsufficient:
<pre>
<pre>
disk = [ 'phy:/dev/sdb,hda,w', 'phy:/dev/hdb,hdc:cdrom.,r' ]
</pre>
</pre>
Next the boot order of the guest needs to be defined. Clearly the CDROm CDROM device needs to be first in the boot order , at least until Windows is installed on the disk drive:
<pre>
<pre>
xm create xenwin.cfg
Using config file "./hvmxenwin.cfg".
Started domain xenhvm
</pre>
1,798
edits

Navigation menu