On Wed, 25 Jan 2012, Roberto Fichera wrote:

2) Running pygrub directly to see if it works or gives useful debugging ie.
pygrub <partition or image file>
The pygrub menu starts and after a second or so I got this:

Using <class 'grub.GrubConf.GrubConfigFile'> to parse /grub/menu.lst
Traceback (most recent call last):
                                   File "/usr/bin/pygrub", line 715, in <module>
    data =

IOError: [Errno 2] No such file or directory

As I can see the /grub2/grub.cfg contains a valid grub2 configuration.

In pygrub in 4.1 grub gets checked before grub2, and I can't remember if it goes on to check grub2 locations if it finds a grub related file which doesn't work.

I suggest you move or rename /grub/grub.conf and /grub/menu.lst so pygrub doesn't get confused by them.

        Michael Young
xen mailing list

Reply via email to