WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] pygrub is failing to boot centos domu on Debian lenny dom0

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] pygrub is failing to boot centos domu on Debian lenny dom0
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Fri, 21 May 2010 15:59:13 +0530
Delivery-date: Fri, 21 May 2010 03:31:49 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=rrnou8bxIwNYAL4zqhpvb3UXr1u06mEp0MbGULs4b/I=; b=DVxM7S4GwQpVBZ7n2ttXR9lHolZSxtLG+lBcv20ned00/KclPMuyC51mp4htxOqcB8 ublzhljqep7jzAnnhfYZi4tPs2jMeCbSfBAN622l+PBZKU26+snbaqVx8D7G6OfBya64 sI1J75SOgqz8fIn3NY86uhAQdWgfVDvsgjpWU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uIXnTiuXVxhy2/bUYYRFrIvdOU4316Qbv6McV7S4Afyps3P6LN1Mb59VZwm9Jh1FOK va/rXs42kfNXt2EVrIY40XdHqfrRXpH+OOq7gMUX1tD0nzfYOsIB+286GbGe1CaD0ABT x73rI/RHPz0NLJeHo4ZQo43/agrAPreEQbFjw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I am trying to run a CentOS DomU on Debian Dom0 .
I created a VM using QEMU and it boots fine.(Except network connectivity)

Now for Debian Dom0
I created the new_centOS.cfg
added following

bootloader = "/usr/lib/xen-3.2-1/bin/pygryb"  (there was no softlink
from /usr/lib/xen-3.2-1/bin/pygryb to /usr/bin)
boot = "c"

full file uploaded here
http://pastebin.com/daeGSSpS

and then tried to boot
got an error

openworld:/etc/xen# xm create new_centOS.cfg
Using config file "./new_centOS.cfg".
Error: Bootloader isn't executable
about the above error on this link
http://wiki.debian.org/Xen#A.22Error.3ABootloaderisn.27texecutable.22
some information was but it did not helped.As what they were saying I
had already done.

Then checked this link
http://strugglers.net/~andy/blog/2008/01/20/red-hat-based-linux-under-xen-from-debian-etch/

I did
usr/lib/xen-3.0.3-1/bin/pygrub /dev/virtualization/centos5-disk xvda

I get a brub screen .
A snapshot for the pygrub booting can be seen here
http://farm5.static.flickr.com/4006/4626021351_d1a6f9c014_b.jpg

But it fails to boot.

Giving following message.


Traceback (most recent call last):
  File "./pygrub", line 657, in <module>
    dir="/var/run/xend/boot")
  File "/usr/lib/python2.5/tempfile.py", line 302, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags)
  File "/usr/lib/python2.5/tempfile.py", line 236, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory:
'/var/run/xend/boot/boot_kernel.je5fbt'

I searched this but it did not gave me a single search result
http://www.google.co.in/search?sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8&q=OSError:+[Errno+2]+No+such+file+or+directory:+'/var/run/xend/boot/boot_kernel.je5fbt'

what can I check next ?
Vm is booting fine with QEMU.



-- 
 Tapas Mishra
+91 8971248477



-- 
Tapas

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users