Xen on Debian: Difference between revisions
Jump to navigation
Jump to search
| Line 473: | Line 473: | ||
Paste the config below into the file and save it, NOTE this assumes your Windows iso is located in /root/ with the filename windows.iso and that you're using Squeeze (for Wheezy change the kernel line to a xen-4.1 instead of xen-4.0 folder). In Debian Jessie, please use 'qemu-xen' rather than 'qemu-xen-traditional'. | Paste the config below into the file and save it, NOTE this assumes your Windows iso is located in /root/ with the filename windows.iso and that you're using Squeeze (for Wheezy change the kernel line to a xen-4.1 instead of xen-4.0 folder). In Debian Jessie, please use 'qemu-xen' rather than 'qemu-xen-traditional'. | ||
kernel = "/usr/lib/xen-4. | kernel = "/usr/lib/xen-4.8/boot/hvmloader" | ||
builder='hvm' | builder='hvm' | ||
memory = 4096 | memory = 4096 | ||
name = "windows" | |||
name = " | |||
vif = ['bridge=xenbr0'] | vif = ['bridge=xenbr0'] | ||
disk = ['phy:/dev/vg0/windows,hda,w','file:/root/windows.iso,hdc:cdrom,r'] | disk = ['phy:/dev/vg0/windows,hda,w','file:/root/windows.iso,hdc:cdrom,r'] | ||
or | |||
disk = [ 'file:/home/xen/xenwin10.img,hda,w', 'file:/root/windows.iso,hdc:cdrom,r' ] | |||
acpi = 1 | acpi = 1 | ||
device_model_version = 'qemu-xen' | |||
device_model_version = 'qemu-xen | boot="dc" | ||
boot=" | |||
sdl=0 | sdl=0 | ||
serial='pty' | serial='pty' | ||
vnc=1 | vnc=1 | ||
vncconsole=1 | |||
vnclisten="10.0.1.10" | |||
vncpasswd="Passw0rd" | |||
vncpasswd= | |||