I have copied kernel and ramdisk to the DOMU and it worked fine even the /boot is under partition of ext4.
However, the pygrub still fails for partition of ext3 with same error.
Below is my DOMU config
name = "test"
memory = "2048"
extra = "(hd0,0)/grub/menu.lst"
vif = [ 'bridge=eth0' ]
disk= [ 'file:/root/iso/ubuntu.img,xvda,w' ]
When I replace with kernel and ramdisk, ubuntu can boot successfully. Any ideas?
On 21 June 2010 09:47, Fajar A. Nugraha <fajar@xxxxxxxxx>
Quick check: did you happen to use ext4 for /boot? AFAIK pygrub (on
On Sun, Jun 20, 2010 at 2:59 PM, KC LO <kclo2000@xxxxxxxxx
> RuntimeError: couldn't find bootloader config file in the image provided.
Xen 3.4 anyway) does not support ext4. ext3 works just fine.
/root/iso is a strange place to put domU image :P
> I have used kpartx -av /root/iso/ubuntu.img to mount the boot directory of
It shouldn't matter. Ubuntu's has pv_ops enabled kernel. Also, if it
> It seems that it don't has the linux-xen kernel for PV client. Is it the
> reason for it fail to boot?
were a problem with kernel, you'd get a different error message.
As a temporary work around, you can try copying domU's kernel and
initrd to dom0, and load it on domU Xen config file using "kernel",
"ramdisk", and "extra" directive.
Xen-users mailing list