[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] PV Clone


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: maillists0@xxxxxxxxx
  • Date: Thu, 8 Jan 2009 14:36:10 -0500
  • Delivery-date: Thu, 08 Jan 2009 11:36:53 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=YIeM27OoiYy68JwueF0AfLZX4FFieaMf1m6aQ/UvrTT7+jTqenrYy+ea2a9QjZvaiL gL01Slj4XaadcR7FSExpsOVjRQN1JvNkzPMehhBcR+DcdpIJl/rkxBtzSTsV9kBAsr83 QXWt3Ogbj7GqZuo4c/hviFPGRSimbSt+4i0LU=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I've followed the howto at virtuatopia.com to clone existing machines, then create them as PV guests. It has worked a couple of times for me, but I've run into a problem I don't understand. When I run "xm create name", I get an error that includes these lines --

File "/usr/bin/pygrub", line 656, in ?
    chosencfg = run_grub(file, entry, fs)...
RuntimeError: couldn't find bootloader config file in the image provided.

If I understand correctly, this is trying to find a boot file for a fully virtualized machine. The image has no /boot directory. The config file looks like this:

kernel="/boot/vmlinuz-2.6.18-92.1.22.el5xen"
ramdisk="/boot/initrd-2.6.18-92.1.22.el5xen.img"
maxmem = 2024
memory = 2024
name = "worker"
vcpus = 1
bootloader = "/usr/bin/pygrub"
>>>vfb = [  ]
disk = [ "tap:aio:/var/lib/xen/images/worker.img,xvda,w" ]
vif = [ "mac=00:16:3e:55:20:7e,bridge=xenbr1" ]
root = "/dev/xvda1 ro"

The image is ext3, and I can mount it and inspect it. The path to the file is correct. What did I do wrong?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.