| 
         
xen-users
Re: [Xen-users] Windows domU doesn't boot
 
Let me paste what I have that works for me:
  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 = 10 name = "acw1" vcpus=3 pae=1 acpi=1 apic=1 vif = [ 'type=ioemu, mac=00:16:3e:37:b8:f7, bridge=xenbr1' ] disk = [ 'file:/store/acwin,ioemu:hda,w' ] 
boot='c' device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' sdl=0 vnclisten="10.1.34.16" vnc=1 vncdisplay=5 vncconsole=0 vncpasswd='' 
stdvga=0 serial='pty' >> This works with a Windows 2003 Server domU just fine.  I have this configuration working with CentOS 5.1.  For Ubuntu, it's slightly different -- mainly the path at the beginning. 
 
 
 On Thu, Apr 24, 2008 at 7:12 PM, Michael Jinks < mjinks@xxxxxxxxxxxx> wrote: 
Hi, all. 
 
I'm a Xen newbie, more or less.  I've got a Linux dom0 successfully 
running two different flavors of Linux domU, now I'm trying for my first 
HVM guest, a Windows 2003 Server machine.  I'll paste my config file 
below; I've found so many conflicting docs scattered around the net that 
I don't know if it has any obvious errors in it or not. 
 
The symptoms: when I create the domain, I don't get any errors at the 
command line, and I'm not sure if I'm seeing errors in xend.log or not, 
but the domain never does anything.  The console doesn't appear (have 
tried all sorts of different config syntaxes for vnc and sdl -- again, 
so many different forms appear around the net that I don't know which 
ones are correct, but I'm borrowing from the working configs for my 
Linux domU's).  "xm list" shows straight dashes for the domU; no "r", 
no "b", no "c": 
 
 % sudo xm list loathsome 
 Name                                        ID   Mem VCPUs      State Time(s) 
 loathsome                                  175   512     1     ------ 0.0 
 
The hardware is a brand new Sun Ultra40, with SVM-equipped AMD 
processors.  dom0 kernel is the Gentoo package of Linux 2.6.21/xen, Xen 
version is 3.2.0. 
 
I have an LVM partition set up to act as the Windows hard drive.  Works 
for my other domains... CD is an iso file which I've used successfully 
to install Windows on VMware, so it should be kosher... 
 
Thanks in advance for any clues.  Tips on where to get trustworthy docs 
are also welcome; the Xen web site is nice so far as it goes, but there 
are lots of gaps, unless I just don't know where to look. 
 
Thanks, 
--Michael 
 
-- begin domU config file, with comments -- 
 
builder = 'hvm' 
kernel = '/usr/lib/xen/boot/hvmloader' 
memory = '512' 
device_model = '/usr/lib/xen/bin/qemu-dm' 
disk = [ 'phy:/dev/mapper/pile-loathsome.uchicago.edu,ioemu:hda,w', 'file:/xen/isos/server2003.iso,ioemu:hdc:cdrom,r' ] 
name = 'loathsome' 
vif = [ '' ] 
boot = 'd' 
 
# config lines which i've tried and rejected for one reason or another: 
 
# disk = [ 'phy:/dev/mapper/pile-loathsome.uchicago.edu,ioemu:hda,w' ] 
 
# cdrom='/xen/isos/server2003.iso' 
 
# vfb = [ 'type=vnc, vncpasswd=l3m0n, vncunused=1, vnclisten=0.0.0.0' ] 
# vfb = [ 'type=vnc, vncpasswd=l3m0n, display=4, vnclisten=0.0.0.0' ] 
 
# some sites show a completely different approach to console configs: 
# vnc = 1 
# vncunused = 1 
# display = 3 
# vncviewer = 1  # <- what does the "vncviewer" directive mean, exactly? 
# vncpasswd = 'l3m0n' 
# vnclisten = 0.0.0.0 
# apic = 0 
# acpi = 0 
# sdl = 1  # <- i've seen accounts of people saying "sdl" worked better 
           # than a vnc console; how does one connect to an "sdl" 
           # console?  not from vncviewer, right...? 
 
 
_______________________________________________ 
Xen-users mailing list 
Xen-users@xxxxxxxxxxxxxxxxxxx 
http://lists.xensource.com/xen-users 
  
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
 |   
 
 | 
    |