
NM - found it. The grub.conf in the image was configured with 'root=LABEL=/' and the label on the disk image didn't match. Works now... Thanks, C. Halstead <chris@sourcelabs.com> SourceLabs - http://www.sourcelabs.com Dependable Open Source Systems On 1/30/07 10:51 AM, "Daniel P. Berrange" <berrange@redhat.com> wrote:
On Tue, Jan 30, 2007 at 10:39:05AM -0800, Chris Halstead wrote:
I'm stumped. I'm trying to automate creation of domains through libvirt and the Python bindings, but I'm having trouble getting things to work when using pygrub.
If I define an XML-described domain and use <bootloader>/usr/bin/pygrub</bootloader> the domain tries to start and then immediately crashes. Using explicit local-pathed vmlinuz/initrd without the bootloader element works just fine. Am I missing something?
Not sure - which bit crashes ? Pygrub, or XenD, or the guest kernel ? If there's any interesting looking stuff in xend.log or xend-debug.log please post it to the list.
Oh also, what version of xen & python are you using - there's crash with Xen 3.0.4 or later when using with python 2.5
Regards, Dan.