So recently I decided that it would be good to throw some test runs of Windows in Xen 3.2. So I am using kernel 2.6.24-19-xen on Ubuntu Sever 8.04 64-bit I believe. I wanted it to run on a logical volume within a lvm. So I created that. which looks like: Code: --- Logical volume --- LV Name /dev/raid6_vg/w2k3-term-02 VG Name raid6_vg LV UUID 1BYK9b-5ZQw-nYnG-JBLA-GutJ-YBCR-xxxx LV Write Access read/write LV Status available # open 0 LV Size 29.30 GB Current LE 7500 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:1 I created network bridges for my nics which are ethx and those seem to be working as well. So next I went to get a windows hvm config which looks like: Code: import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib' kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 1024 shadow_memory = 8 name = "exmp" vif = [ 'type=ioemu, bridge=eth1' ] disk = [ ‘phy:/dev/raid6_vg/w2k3_term_02,hda,w’, 'file:/home/exmp/images/windows2003srv.iso,hdc:cdrom,r' ] device_model = ‘/usr/’ + arch_libdir + ‘/xen/bin/qemu-dm’ boot=”dc” sdl=0 vnc=1 vncviewer=0 ne2000=0 usbdevice=’tablet’ Now no matter where I put the disk line it finds it and tells me there's a problem with it. I've checked everything I've renamed the lv group I've taken out the comments on the windows config. It doesn't matter no matter what it tells me it doesn't like it (Error on line). So I'm at a loss. Any guidance would be greatly appreciated.
Sure. The error message is the following: Error: Errors were found at line 16 while processing /etc/xen/w2k3.cfg: None
I guess your quotation marks are wrong. Instead of Code: disk = [ [COLOR="Red"]‘[/COLOR]phy:/dev/raid6_vg/w2k3_term_02,hda,w[COLOR="Red"]’[/COLOR], 'file:/home/exmp/images/windows2003srv.iso,hdc:cdrom,r' ] it should look as follows: Code: disk = [ [COLOR="Red"]'[/COLOR]phy:/dev/raid6_vg/w2k3_term_02,hda,w[COLOR="Red"]'[/COLOR], 'file:/home/exmp/images/windows2003srv.iso,hdc:cdrom,r' ]
*facepalm Wow it's an ID10T error. Wow I can't believe I missed that. Man... thank you I appreciate it.