Loading...

xen-users@lists.xensource.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

[Xen-users] pygrub question James Pifer Thu Apr 12 08:01:26 2012

I have a CentOS 5.7 domU I'm trying to convert from an hvm to pv. I've
installed the xen kernel in the domU and setup menu.lst and fstab for
xvda devices.

When I try to xm create the domU I get "Error: Boot loader didn't return
any data!"

If I do:
pygrub /dev/mapper/360030d90f890d704c735eff06069f0df

I get: 
Traceback (most recent call last):
  File "/usr/bin/pygrub", line 713, in <module>
    chosencfg = run_grub(file, entry, fs, incfg["args"])
  File "/usr/bin/pygrub", line 548, in run_grub
    g = Grub(file, fs)
  File "/usr/bin/pygrub", line 204, in __init__
    self.read_config(file, fs)
  File "/usr/bin/pygrub", line 408, in read_config
    raise RuntimeError, "couldn't find bootloader config file in the
image provided."
RuntimeError: couldn't find bootloader config file in the image
provided.

If I do:
 pygrub /dev/mapper/360030d90f890d704c735eff06069f0df_part1

This one I see the grub menu.

The disk structure is:
part1 = /boot
part2 = swap
part3 = /

Any suggestions or thoughts on where the problem lies?

Thanks,
James


_______________________________________________
Xen-users mailing list
[EMAIL PROTECTED]
http://lists.xen.org/xen-users