On 01/25/2012 10:51 AM, Roberto Fichera wrote:
> On 01/25/2012 10:43 AM, M A Young wrote:
>> 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
>>> 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.
> Actually I'm under xen-4.0.1-6, should I upgrade it? If so which version do
> you suggest?
>> I suggest you move or rename /grub/grub.conf and /grub/menu.lst so pygrub
>> doesn't get confused by them.
> Still doesn't work and the pygrub menu doesn't even come up at all.
I got it working by adding the related kernel lines in /grub/grub.conf.
>> Michael Young
> xen mailing list
xen mailing list