Re: Fedora 12 x86_64, Xen 4.0.1-6 and Fedora 16 domU

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

 



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:

pygrub /dev/disk/by-path/ip-10.0.0.1:3260-iscsi-iqn.2009-12.it.tekno-soft:xen.vm.TeknoProxy-lun-1
Using <class 'grub.GrubConf.GrubConfigFile'> to parse /grub/menu.lst
Traceback (most recent call last):
                                   File "/usr/bin/pygrub", line 715, in <module>
                                                                                    data =
fs.open_file(chosencfg["kernel"]).read()

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
xen@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/xen



[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux