Problem With pygrub when i type pygrub at command line i am getting the following error: Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ''import site'' failed; use -v for traceback Traceback (most recent call last): File "/usr/bin/pygrub", line 16, in <module> import os, sys, string, struct, tempfile, re ImportError: No module named os please help me about this error i need it urgently. -- Thanks, Ramesh.M LSI Technologies India Pvt. Ltd. Software Development Engineer Bangalore _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Aug 20, 2008 at 8:51 AM, Manyam Ramesh <rameshmanyam@gmail.com> wrote:> > Problem With pygrub > > when i type pygrub at command line i am getting the following error:pygrub isn''t intended to work on the command line. use it as the bootloader option in your domU configuration file. i.e. bootloader=''/usr/bin/pygrub'' FYI: in Xen 3.3 pygrub is replaced with PV-GRUB to improve security. Cheers, Todd -- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Aug 20, 2008 at 10:41 AM, Todd Deshane <deshantm@gmail.com> wrote:> On Wed, Aug 20, 2008 at 8:51 AM, Manyam Ramesh <rameshmanyam@gmail.com> wrote: >> >> Problem With pygrub >> >> when i type pygrub at command line i am getting the following error: > > pygrub isn''t intended to work on the command line.Hmm? # pygrub Usage: /usr/bin/pygrub [-q|--quiet] [-i|--interactive] [--output=] [--kernel=] [--ramdisk=] [--args=] [--entry=] <image> Not the normal use, true, but it should not spew what Ramesh is seeing... jerry -- There''s plenty of youth in America - it''s time we find the "fountain of smart". _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2008/8/20 Todd Deshane <deshantm@gmail.com>> On Wed, Aug 20, 2008 at 8:51 AM, Manyam Ramesh <rameshmanyam@gmail.com> > wrote: > > > > Problem With pygrub > > > > when i type pygrub at command line i am getting the following error: > > pygrub isn''t intended to work on the command line.I don''t agree, pygrub is very usefull to test a device (virtual or not) for grub installation.> > > use it as the bootloader option in your domU configuration file. > > i.e. > bootloader=''/usr/bin/pygrub'' > > FYI: in Xen 3.3 pygrub is replaced with PV-GRUB to improve security. > > Cheers, > Todd > > -- > Todd Deshane > http://todddeshane.net > check out our book: http://runningxen.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Aug 21, 2008 at 6:00 AM, Alain Barthe <ab266061@gmail.com> wrote:> 2008/8/20 Todd Deshane <deshantm@gmail.com> >> >> On Wed, Aug 20, 2008 at 8:51 AM, Manyam Ramesh <rameshmanyam@gmail.com> >> wrote: >> > >> > Problem With pygrub >> > >> > when i type pygrub at command line i am getting the following error: >> >> pygrub isn''t intended to work on the command line. > > I don''t agree, pygrub is very usefull to test a device (virtual or not) for > grub installation. >Yeah. that makes sense. Back to the actually problem though, seems like a python path or missing/ conflicting python library issue? Was this an install of Xen on top of another or how was it installed? The error looks like it would affect both command line and bootloader usage. Cheers, Todd -- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users