Installing Windows on Xapi

From Xen
Jump to navigationJump to search

Installing Windows

To install windows, you'll need an iso. These can be served by an NFS server. Try this:

xe-mount-iso-sr nfs-server:/path/to/isos


Then create a windows VM:

xe vm-install template=Windows\ 7\ \(32-bit\) new-name-label=windows
xe vm-cd-add vm=windows cd-name=win7.iso device=3
xe vm-start vm=windows


To get networking working, you'll need to set up the bridge manually:

brctl addbr xenbr0
brctl addif xenbr0 eth0


You may need to move the IP address to the bridge rather than the physical interface. Having done this, try a pif-scan:

xe pif-scan

This might create the network for your interface.

PV drivers for Windows

wget http://downloads.xen.org/XCP/debian/xs-tools-5.9.960.iso
mv xs-tools-5.9.960.iso /usr/lib/xen-common/xapi/packages/iso


After doing this, rescan the SR to pick up the new ISO.