Help - Search - Members - Calendar
Full Version: Running Xen on Mandriva
MandrivaUsers.org > Advanced Topics > Virtual Machines and Emulators
Jza
So I have setup as much as I can from the Xen package however I still have some issues triying to boot the iso on the virtual machine.

This is the Xen config file to run Windows XP on Mandriva:
CODE
# Automatically generated xen config file
name = "WindowsXP"
builder = "hvm"
memory = "300"
disk = [ 'file:/winxp.img,ioemu:hda,w', 'file:/WinXP.iso,hdc:cdrom,r']
cdrom = 'file:/WinXP.iso'
#disk = [ 'file:/root/WindowsXP.iso,hda,w' ]
boot = 'd'
vif = [ 'type=ioemu ip=172.168.1.154, mac=00:16:3e:59:1e:7c, bridge=xenbr0']
#uuid = "6e02077d-1fbd-9b03-24aa-d39d38d7900b"
device_model = "/usr/lib/xen/bin/qemu-dm"
kernel = "/boot/vmlinuz-2.6.17-6mdvxenU"
vnc=0
#vncunused=1
localtime=1
#usb=1
#full-screen=1
apic=1
acpi=1
pae=0

vcpus=1
serial = "pty" # enable serial console
on_reboot   = 'restart'
on_crash    = 'restart'


The problem I get is on Disk, it comes up with the errror:
CODE
Error: invalid literal for int(): :cdrom


Any help would be appreciated.
tyme
This is just a guess, but, are you sure you're pointing to the right place? Where is the WinXP.iso file at?
Jza
I move it to root

cdrom = 'file:/WinXP.iso'
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.