Hi, For 10 times now i tried to install a VM in to my new XCP machine but everytime i get the same error: [root@xcp-digitog ~]# xe vm-start vm=Debian6 Error code: Using <class ''grub.GrubConf.Grub2ConfigFile''> to parse /boot/grub/grub.cfg Error parameters: WARNING:root:Unknown directive load_video, Traceback (most recent call last):, File "/usr/bin/pygrub", line 746, in ?, raise RuntimeError, "Unable to find partition containing kernel", RuntimeError: Unable to find partition containing kernel, [root@xcp-digitog ~]# It runs the installation correctly, HD detection works, it asks if i want to install grub and of course i answer with yes, but then at first bootup it just dies with above error. I have the same issue with Debian 5. I''m running XCP 0.5 Any pointers? Thanks, Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2010-07-21 09:54 keltezéssel, Peter den Hartog írta:> Hi, > > For 10 times now i tried to install a VM in to my new XCP machine but > everytime i get the same error: > > [root@xcp-digitog ~]# xe vm-start vm=Debian6 > Error code: Using <class ''grub.GrubConf.Grub2ConfigFile''> to parse > /boot/grub/grub.cfg > Error parameters: WARNING:root:Unknown directive load_video, Traceback > (most recent call last):, File "/usr/bin/pygrub", line 746, in ?, > raise RuntimeError, "Unable to find partition containing kernel", > RuntimeError: Unable to find partition containing kernel, > [root@xcp-digitog ~]# > > It runs the installation correctly, HD detection works, it asks if i > want to install grub and of course i answer with yes, but then at > first bootup it just dies with above error. I have the same issue with > Debian 5. > > I''m running XCP 0.5 > > Any pointers? > > Thanks, > Peter > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersI''ve spent a few hours until I figured it out (this morning). It seems to me that the problem is, that squeeze uses root (hd0,msdos1) instead of (hd0,0) in the grub config. So before the install would have finished I asked it to drop me to shell, and there I''ve edited the grub config file, and now have a working squeeze (64bit PV) install. Good luck! Geza _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Unfortunately I have no idea about the situation of the lenny install. I''ve never used a lenny PV install method, since I''ve used only 64bit lenny instals, installing first as a HVM and then after the installation of a suitable kernel converting it to PV. Cheers Geza> Ok that explains the squeeze problem, but lenny isn''t working either :-( > > On Wed, Jul 21, 2010 at 11:39 AM, Gémes Géza <geza@kzsdabas.hu > <mailto:geza@kzsdabas.hu>> wrote: > > 2010-07-21 09:54 keltezéssel, Peter den Hartog írta: >> Hi, >> >> For 10 times now i tried to install a VM in to my new XCP machine >> but everytime i get the same error: >> >> [root@xcp-digitog ~]# xe vm-start vm=Debian6 >> Error code: Using <class ''grub.GrubConf.Grub2ConfigFile''> to >> parse /boot/grub/grub.cfg >> Error parameters: WARNING:root:Unknown directive load_video, >> Traceback (most recent call last):, File "/usr/bin/pygrub", >> line 746, in ?, raise RuntimeError, "Unable to find partition >> containing kernel", RuntimeError: Unable to find partition >> containing kernel, >> [root@xcp-digitog ~]# >> >> It runs the installation correctly, HD detection works, it asks >> if i want to install grub and of course i answer with yes, but >> then at first bootup it just dies with above error. I have the >> same issue with Debian 5. >> >> I''m running XCP 0.5 >> >> Any pointers? >> >> Thanks, >> Peter >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> <mailto:Xen-users@lists.xensource.com> >> http://lists.xensource.com/xen-users > I''ve spent a few hours until I figured it out (this morning). It > seems to me that the problem is, that squeeze uses root > (hd0,msdos1) instead of (hd0,0) in the grub config. So before the > install would have finished I asked it to drop me to shell, and > there I''ve edited the grub config file, and now have a working > squeeze (64bit PV) install. > > Good luck! > > Geza > > > > > -- > *Groet // Kind regards,* > /Peter den Hartog/_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparently Analagous Threads
- Bug#603391: Workaround PyGrub issue
- Bug#603391: Bug#603391: Workaround PyGrub issue
- Error starting updated Debian servers
- Bug#603391: Bug#603391: Workaround PyGrub issue
- Bug#599243: xen-utils-4.0: pygrub does not understand grub2 partition types (e.g. (hd0, msdos1) instead of (hd0, 1))