Changes

Jump to: navigation, search
no edit summary
== Windows 7 Installation Media ==
In order to install Windows 7 as a Xen HVM guest the next requirement is the operating system installation media. This is likely to be in the form of a DVD. AlternativielyAlternatively, if the media was downloaded from the Microsoft web site, it will be in the form of an ISO image file. Installation may be performed directly from the DVD, from an ISO image, or the contents of the DVD may be copied to an ISO image file on the host system.
To create an ISO image simply insert the DVD into a drive, unmount it if it automounts and then run the following command (substituting ''/dev/cdrom'' for your DVD drive device):
</pre>
Similarly, the ''disk = '' directive can be modified to perform the installation from a physical DVD drive as in the following example (where ''/dev/hdccdrom'' is modified to reflect the physical device on your host system):
<pre>disk = [ 'phy:/dev/sdb,hda,w', 'phy:/dev/cdrom,hdc:cdrom.r' ]</pre> The above line maps physical disk drive ''/dev/sdb'' on the host to ''/dev/hda'' on the guest and ''/dev/hdccdrom'' on the host as the CD/DVD device on the guest (note that the CD/DVD device name on your host may be different depending on your Linux distribution).
Alternatively, if a disk image file is to be used as the disk drive the line might instead read:
<pre>
disk = [ 'phyfile:/devhome/xen/sdbxenwin2008.img,hda,w', 'phy:/dev/hdbcdrom,hdc:cdrom,r' ]
</pre>
1,798
edits

Navigation menu