I''ve followed the howto at
virtuatopia.com<http://www.virtuatopia.com/index.php/Building_a_Xen_Virtual_Guest_Filesystem_on_a_Disk_Image_%28Cloning_Host_System%29>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"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
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@lists.xensource.com
http://lists.xensource.com/xen-users