Hi, I am using build 76 and booted with xVM. When I tried to install SUSE on a new domain using virt-install script, I am getting "Unable to determine kernel RPM path" error. I couldn''t find the path /export/builds/xvm_76... (I wanted to verify the DistroManager.py) Is that part of SMF ? Any pointers on how to proceed from here..? # uname -i i86xpv # svcs | grep xvm online 9:53:39 svc:/system/xvm/store:default online 9:53:48 svc:/system/xvm/xend:default online 9:53:48 svc:/system/xvm/console:default online 9:53:48 svc:/system/xvm/domains:default # virt-install -n linux --paravirt -r 8192 -f /diskimg/imagefile/linux.img \ -l /net// Starting install... Traceback (most recent call last): File "/usr/bin/virt-install", line 657, in ? main() File "/usr/bin/virt-install", line 606, in main dom = guest.start_install(conscb,progresscb) File "/export/builds/xvm_76/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 636, in start_install File "/export/builds/xvm_76/proto/install/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 78, in _prepare_install_location File "/export/builds/xvm_76/proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 632, in acquireKernel File "/export/builds/xvm_76/proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 261, in acquireKernel File "/export/builds/xvm_76/proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 321, in extractRPMNames Unable to determine kernel RPM path Thanks Sridhar
On Wed, Oct 31, 2007 at 02:52:43PM -0400, Sridhar Ranganathan wrote:> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">Please don''t send HTML, it makes it much less likely you''ll get help...> # virt-install -n linux --paravirt -r 8192 -f /diskimg/imagefile/linux.img \ > -l /net/<location>/<SUSE_OS.iso>Wherever you got this example from, you must not take it literally. For example, if you have the SUSE iso file at /export/suse.iso then you must use -l /export/suse.iso regards john
Hi John, Please find my reply inline. John Levon wrote:> On Wed, Oct 31, 2007 at 02:52:43PM -0400, Sridhar Ranganathan wrote: > > >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> >> > > Please don''t send HTML, it makes it much less likely you''ll get help... >Thanks for the hint.> >> # virt-install -n linux --paravirt -r 8192 -f /diskimg/imagefile/linux.img \ >> -l /net/<location>/<SUSE_OS.iso> >> > > Wherever you got this example from, you must not take it literally. For > example, if you have the SUSE iso file at /export/suse.iso then you must > use -l /export/suse.iso >Of course. The ISO image IS in the /net path. I tried few other options - like nfs:<location>:<iso image path> and also local system directory. If I point to a directory or an invalid path, I get messages accordingly. I have two questions. 1. Is there any specific linux ISOs I should use ? 2. Where does the DistroManager.py reside ? It is not in the path that was displayed on the error.> regards > john >
sridhar ranganathan wrote:> Hi John, > > Please find my reply inline. > > John Levon wrote: >> On Wed, Oct 31, 2007 at 02:52:43PM -0400, Sridhar Ranganathan wrote: >> >> >>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> >>> >> Please don''t send HTML, it makes it much less likely you''ll get help... >> > Thanks for the hint. >> >>> # virt-install -n linux --paravirt -r 8192 -f /diskimg/imagefile/linux.img \ >>> -l /net/<location>/<SUSE_OS.iso> >>> >> Wherever you got this example from, you must not take it literally. For >> example, if you have the SUSE iso file at /export/suse.iso then you must >> use -l /export/suse.iso >> > Of course. The ISO image IS in the /net path. I tried few other options > - like nfs:<location>:<iso image path> and also local system directory. > If I point to a directory or an invalid path, I get messages accordingly.Can you trying putting the iso on a local disk and see if that works?> I have two questions. > > 1. Is there any specific linux ISOs I should use ?I''ve used various versions of fedora, rhel, centos, and openSUSE. I''ve also installed gentoo and ubuntu, but those take a lot more work. MRJ> 2. Where does the DistroManager.py reside ? It is not in the path that > was displayed on the error. >> regards >> john >> > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org-- Mark Johnson <mark.johnson@sun.com> Sun Microsystems, Inc. (781) 442-0869
On Thu, Nov 01, 2007 at 08:11:49AM -0400, sridhar ranganathan wrote:> >Wherever you got this example from, you must not take it literally. For > >example, if you have the SUSE iso file at /export/suse.iso then you must > >use -l /export/suse.iso > > > Of course. The ISO image IS in the /net path.It was hard to tell as you didn''t give the exact command line you used. What version of SUSE is it? Are you positive it comes with Xen support? Internally we use Fedora 7 or CentOS5 on netinstall, /export/linux> 1. Is there any specific linux ISOs I should use ? > 2. Where does the DistroManager.py reside ? It is not in the path that > was displayed on the error.Try /usr/lib/python2.4/vendor-packages/virtinst regards john
Would be :- 1. ISO image file of regular CentOS 5 (DVD)(incuding Xen 3.0.3 kernel) 2. ISO image file of regular F7 (DVD) (including Xen 3.0.4 kernel)) 3. ISO image file of regular OpenSUSE 10.3 (DVD) (including Xen 3.1 kernel)) OK ? To create PVMs on top of SNV75a Xen with command:- # virt-install -n linux --paravirt -r 1024 -f /diskimg/imagefile/linux.img \ -l /export/home/linux.iso Sorry for straightforward question This message posted from opensolaris.org
Hi,>>2. ISO image file of regular F7 (DVD) (including Xen 3.0.4 kernel))I tested this image successfully in a Solaris 10 Dom0 with Xen 07/07 (the previous Xen Drop for Solaris). (see here: http://home.arcor.de/bnsmb/public/htdocs/Xen_and_Solaris.html). But I did not use virt-install for the installation - I created a DomU configuration file manually. I strongly assume that it also works on Solaris snv_75. regards Bernd Boris Derzhavets wrote:> Would be :- > > 1. ISO image file of regular CentOS 5 (DVD)(incuding Xen 3.0.3 kernel) > 2. ISO image file of regular F7 (DVD) (including Xen 3.0.4 kernel)) > 3. ISO image file of regular OpenSUSE 10.3 (DVD) (including Xen 3.1 kernel)) > OK ? To create PVMs on top of SNV75a Xen with command:- > # virt-install -n linux --paravirt -r 1024 -f /diskimg/imagefile/linux.img \ > -l /export/home/linux.iso > Sorry for straightforward question > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org > >-- Bernd Schemmer, Frankfurt am Main, Germany http://home.arcor.de/bnsmb/index.html M s temprano que tarde el mundo cambiar . Fidel Castro
On Thu, Nov 01, 2007 at 08:17:54PM +0100, Bernd Schemmer wrote:> >>2. ISO image file of regular F7 (DVD) (including Xen 3.0.4 kernel))Regular Fedora 7 netinstall works great, but if you''re doing a text install, then there''s a Fedora bug: you will need to add -x "console=hvc0" to the virt-install line. An ISO install of Fedora at least doesn''t work (another Linux bug) regards john