Hi all,
Thanks all!
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" bootloader="/usr/bin/pygrub" extra = "(hd0,0)/grub/menu.lst" vif = [ 'bridge=eth0' ] vcpus=2 disk= [ 'file:/root/iso/ubuntu.img,xvda,w' ]
root="/dev/xvda1 ro" >>
When I replace with kernel and ramdisk, ubuntu can boot successfully. Any ideas?
On 21 June 2010 09:47, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Sun, Jun 20, 2010 at 2:59 PM, KC LO < kclo2000@xxxxxxxxx> wrote: > RuntimeError: couldn't find bootloader config file in the image provided.
Quick check: did you happen to use ext4 for /boot? AFAIK pygrub (on Xen 3.4 anyway) does not support ext4. ext3 works just fine.
> > I have used kpartx -av /root/iso/ubuntu.img to mount the boot directory of
/root/iso is a strange place to put domU image :P
> It seems that it don't has the linux-xen kernel for PV client. Is it the > reason for it fail to boot?
It shouldn't matter. Ubuntu's has pv_ops enabled kernel. Also, if it
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.
-- Fajar
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|