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/
Home Products Support Community News


[Xen-users] pygrub error booting iso

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] pygrub error booting iso
From: greno@xxxxxxxxxxx
Date: Sun, 13 Jun 2010 16:49:11 -0500 (CDT)
Delivery-date: Sun, 13 Jun 2010 14:50:40 -0700
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 mounted an iso file like so:
# mount -o loop=/dev/loop0 /path/to/iso /tmp/mnt
#ls /tmp/mnt
cdromupgrade  dists  doc  install  isolinux  md5sum.txt  pics  pool  preseed  README.diskdefines  ubuntu

I used the following file to try to have pygrub boot the mounted iso:
name = "RESCUE"
memory = 1024
vcpus = 4
bootloader = '/usr/local/bin/pygrub'
kernel = "/boot/vmlinuz-"
ramdisk = "/boot/initrd.img-"
disk = [

vfb = [ 'type=vnc,vncunused=1' ]

Then I tried to create:
# xm create test.py
Using config file "./test.py".
Error: Boot loader didn't return any data!

Is there something else I need to get pygrub to boot an iso?


Xen-users mailing list