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: >>> >>> 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. > 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 > email@example.com > https://admin.fedoraproject.org/mailman/listinfo/xen -- xen mailing list firstname.lastname@example.org https://admin.fedoraproject.org/mailman/listinfo/xen