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] Xen 3.4.1: pygrub Error: Boot loader didn't return any data!

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Xen 3.4.1: pygrub Error: Boot loader didn't return any data!
From: Gerry Reno <greno@xxxxxxxxxxx>
Date: Wed, 30 Dec 2009 23:27:42 -0500
Delivery-date: Wed, 30 Dec 2009 20:28:31 -0800
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
User-agent: Thunderbird (X11/20070530)
I converted a kvm guest to a PV guest converting grub2 to grub and running update-grub in the guest but it does not want to start. I remembered to adjust the indexing from hd0,5 in grub2 to hd0,4 in grub legacy but for some reason pygrub cannot boot it. I don't even get a grub prompt. Can anyone see anything wrong with this config?

The host is running latest pv_ops dom0 kernel and so is the guest. Both are ubuntu 9.10. The original /boot was on /dev/vda5 which I changed everywhere to /dev/xvda5 before shutting down the guest. The root is on /dev/mapper/... (lvm).

name = "CLOUD-CC-1"
maxmem = 1024
memory = 1024
vcpus = 1
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
disk = [ "tap:aio:/var/lib/xen/images/CLOUD-CC-1.img,xvda5,w" ]
vif = [ "mac=00:16:1a:2a:ef:56,bridge=virbr0" ]

# vi *.py
# xm create CLOUD-CC-1.py
Using config file "./CLOUD-CC-1.py".
Error: Boot loader didn't return any data!


Xen-users mailing list