Changes

Jump to: navigation, search
m
Text replacement - "<htmlet>xen<htmlet>" to "<htmlet>xen</htmlet>"
</table>
<hr>
 
 
<htmlet>xen</htmlet>
</pre>
If neither of the above command produce output then it is likely these features are unavailable and that your hardware is unable to run Xen HVM guests. Whilst you can still run modified operating systems (such as Linux) as paravirtualized guests you will not be able to virtualize Windows using Xen. It is also possible that the host CPU supports one of these features, but that the functionality is disabled by default in the system BIOS. To verify this, access the host system’s BIOS configuration menu during the boot process and look for an option related to virtualization support. If such an option exists and is disabled, enable it, boot the system and repeat the above commands.
== Preparing to Install Windows ==
== 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>
Bringing all these settings together gives us a minimal Xen HVM configuration file for a Windows guest which looks similar to to the following:
<pre>
<pre>
xm create xenwin.cfg
Using config file "./hvmxenwin.cfg".
Started domain xenhvm
</pre>
[[Image:xen_windows_install.jpg|Windows installation viewed using VNC]]
 
 
<htmlet>xen</htmlet>

Navigation menu