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

[Xen-users] pygrub question



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
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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