I am pretty new to using solaris''s xvm. I booted my sol dom0 and attempted to create a one of the linux pre-built domU''s. Every time I try to run the xm create command I get an error saying something about it not being able to find the kernel file. Any ideas. This message posted from opensolaris.org
Tony Feldmann wrote:> I am pretty new to using solaris''s xvm. I booted my sol dom0 and > attempted to create a one of the linux pre-built domU''s. Every time I > try to run the xm create command I get an error saying something about > it not being able to find the kernel file. Any ideas.please supply (to the list): - the command and the actual error message you''re seeing. - detailed information about what you''re using, and how the data is layed out. Michael -- Michael Schuster Recursion, n.: see ''Recursion''
What I did exactly, was to download two different pre-built domU''s from jailtime. After extracting them in the proper location, I ran xm create XXXX.xen3.conf -c and I got an error stating that it could not find the kernel file. I can''t remember the exact syntax because the I took the box down because it is being used in a demo tomorrow. I will try and repost the message sometime tomorrow. Tony This message posted from opensolaris.org
On Tue, Nov 06, 2007 at 03:24:08PM -0800, Tony Feldmann wrote:> What I did exactly, was to download two different pre-built domU''s from jailtime. After extracting them in the proper location, I ran xm create XXXX.xen3.conf -c and I got an error stating that it could not find the kernel file. I can''t remember the exact syntax because the I took the box down because it is being used in a demo tomorrow. I will try and repost the message sometime tomorrow.You also need to find the relevant kernel/ramdisk for the domU - the jailtime images don''t seem to include them, infuriatingly. It''s way simpler to export an unpacked ISO over NFS and install via virt-install. regards john
> On Tue, Nov 06, 2007 at 03:24:08PM -0800, Tony > Feldmann wrote: > > > What I did exactly, was to download two different > pre-built domU''s from jailtime. After extracting > them in the proper location, I ran xm create > XXXX.xen3.conf -c and I got an error stating that it > could not find the kernel file. I can''t remember the > exact syntax because the I took the box down because > it is being used in a demo tomorrow. I will try and > repost the message sometime tomorrow. > > You also need to find the relevant kernel/ramdisk for > the domU - the jailtime > images don''t seem to include them, infuriatingly. > > It''s way simpler to export an unpacked ISO over NFSPlease, type required commands. Thanks in advance.> and install via > virt-install. > > regards > john > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.orgThis message posted from opensolaris.org
John Levon wrote:> On Tue, Nov 06, 2007 at 03:24:08PM -0800, Tony Feldmann wrote: > >> What I did exactly, was to download two different pre-built domU''s from jailtime. After extracting them in the proper location, I ran xm create XXXX.xen3.conf -c and I got an error stating that it could not find the kernel file. I can''t remember the exact syntax because the I took the box down because it is being used in a demo tomorrow. I will try and repost the message sometime tomorrow. > > You also need to find the relevant kernel/ramdisk for the domU - the jailtime > images don''t seem to include them, infuriatingly. > > It''s way simpler to export an unpacked ISO over NFS and install via > virt-install.Why not just use the ISO directly ? Or does that only work for Solaris domU installs with virt-install ? -- Darren J Moffat
On 07/11/2007, Darren J Moffat <darrenm@opensolaris.org> wrote:> > You also need to find the relevant kernel/ramdisk for the domU - the jailtime > > images don''t seem to include them, infuriatingly. > > > > It''s way simpler to export an unpacked ISO over NFS and install via > > virt-install. > > Why not just use the ISO directly ? Or does that only work for Solaris > domU installs with virt-install ?I tried to install a Linux domu using an ISO but no luck:> virt-install -n OpenSuSE64-domu -r 512 --nographics -l /tmp/openSUSE-10.3-GM-DVD-x86_64.iso -f /dev/dsk/c0t2d0s4Starting install... Traceback (most recent call last): File "/usr/bin/virt-install", line 666, in ? main() File "/usr/bin/virt-install", line 615, in main dom = guest.start_install(conscb,progresscb) File "/export/builds/xvm_75/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 636, in start_install File "/export/builds/xvm_75/proto/install/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 78, in _prepare_install_location File "/export/builds/xvm_75/proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 632, in acquireKernel File "/export/builds/xvm_75/proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 261, in acquireKernel File "/export/builds/xvm_75/proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 321, in extractRPMNames Unable to determine kernel RPM path Might be related to the problem Tony Feldman ran into? Cheers, Frank
> > On Tue, Nov 06, 2007 at 03:24:08PM -0800, Tony > > Feldmann wrote: > > > > > What I did exactly, was to download two > different > > pre-built domU''s from jailtime. After extracting > > them in the proper location, I ran xm create > > XXXX.xen3.conf -c and I got an error stating that > it > > could not find the kernel file. I can''t remember > the > > exact syntax because the I took the box down > because > > it is being used in a demo tomorrow. I will try > and > > repost the message sometime tomorrow. > > > > You also need to find the relevant kernel/ramdisk > for > > the domU - the jailtime > > images don''t seem to include them, infuriatingly. > > > > It''s way simpler to export an unpacked ISO over > NFSHow to manage ? #svcs -a|grep nfs Which services have to be enabled ? # svcadm enable svc:/network/nfs/status:default # svcadm enable svc:/network/nfs/server:default # svcadm enable svc:/network/nfs/client:default Maybe more or less ? # lofiadm -a /etc/xen/disks/snv76x86.iso # mount -o ro -F hsfs /dev/lofi/1 /mnt # share /mnt # virt-install -n sps -p -r 1024 --nographics -f /export/xVM/sps.disk -l nfs:localhost:/mnt> > and install via > > virt-install. > > > > regards > > john > > _______________________________________________ > > xen-discuss mailing list > > xen-discuss@opensolaris.orgThis message posted from opensolaris.org
Boris Derzhavets wrote:> # lofiadm -a /etc/xen/disks/snv76x86.iso > # mount -o ro -F hsfs /dev/lofi/1 /mnt > # share /mnt > # virt-install -n sps -p -r 1024 --nographics -f /export/xVM/sps.disk -l nfs:localhost:/mntI didn''t need the NFS and lofi steps I just pointed virt-install to the iso file (not a lofi device of it) and it worked just fine on snv_75a. -- Darren J Moffat
On Wed, Nov 07, 2007 at 10:17:15AM +0000, Darren J Moffat wrote:> >>What I did exactly, was to download two different pre-built domU''s from > >>jailtime. After extracting them in the proper location, I ran xm create > >>XXXX.xen3.conf -c and I got an error stating that it could not find the > >>kernel file. I can''t remember the exact syntax because the I took the > >>box down because it is being used in a demo tomorrow. I will try and > >>repost the message sometime tomorrow. > > > >You also need to find the relevant kernel/ramdisk for the domU - the > >jailtime > >images don''t seem to include them, infuriatingly. > > > >It''s way simpler to export an unpacked ISO over NFS and install via > >virt-install. > > Why not just use the ISO directly ? Or does that only work for Solaris > domU installs with virt-install ?Linux domUs can''t do it (a Linux bug) regards john