John Brewer
2008-Sep-10 04:37 UTC
Installing a Solaris Using Network Install and JumpStart onto a ZFS Volume
I was following this URL http://opensolaris.org/os/community/xen/docs/virtinstall/ to Install a Solaris using Network Install and JumpStart onto a ZFS Volumein to create a virt-install Solaris DomU for 10u5 running on snv_b97 ? The Tools/setup_install_server /zones/install/jumpstart/10u5 did run fine: bash-3.2# ls -a /zones/install/jumpstart/10u5 . License .. .slicemapfile boot Solaris_10 .catalog .volume.inf .cdtoc .volume.inf.1 Copyright .volume.inf.2 .install .volume.inf.3 .install_config .volume.inf.4 installer .volume.inf.5 JDS-THIRDPARTYLICENSEREADME Here is my jumpstart profile: install_type initial_install cluster SUNWCXall zpool zones 80g 2g any bootenv installbe bename 10u5 and my jumpstart sysidcfg file: system_locale=en_US.UTF-8 terminal=dtterm timezone=US/Eastern security_policy=none name_service=DNS {domain_name=domain myhome.westell.com name_server=dnsservername(192.168.1.1) } root_password=XXXXXXXXXXXXX timeserver=localhost network_interface=default {primary hostname=server2 ip_address=191.168.1.100 netmask=255.255.255.0 protocol_ipv6=no default_route=191.168.1.1} nfs4_domain=default Jere is my zfs list on c0d0c5: NAME USED AVAIL REFER MOUNTPOINT zones 19.0G 406G 11.0G /zones zones/solaris1-disk 16K 414G 16K - I run this: virt-install --name solaris1 --ram 1024 --nographics \ --file /dev/zvol/dsk/zones/solaris1-disk \ --location nfs:192.168.1.46:/zones/install/jumpstart/10u5 \ --autocf nfs:192.168.1.46:/zones/jumpstart How large would you like the disk (/dev/zvol/dsk/pool/solaris1-disk) to be (in gigabytes)? 8 ERROR: The specified path''s root directory must exist. What would you like to use as the disk (file path)? /dev/zvol/dsk/zones/solaris1-disk Starting install... Could not find an installable distribution at ''nfs:192.168.1.46:/zones/install/jumpstart/10u5'' Domain installation may not have been successful. If it was, you can restart your domain by running ''virsh start solaris1''; otherwise, please restart your installation. Wed, 10 Sep 2008 00:22:38 ERROR Could not find an installable distribution at ''nfs:192.168.1.46:/zones/install/jumpstart/10u5'' Traceback (most recent call last): File "/usr/bin/virt-install", line 511, in ? main() File "/usr/bin/virt-install", line 471, in main dom = guest.start_install(conscb,progresscb) File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 887, in start_install File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 68, in _prepare_install File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 231, in prepare File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 194, in _prepare_kernel_and_initrd File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 106, in acquireKernel File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 92, in _storeForDistro ValueError: Could not find an installable distribution at ''nfs:192.168.1.46:/zones/install/jumpstart/10u5'' -- This message posted from opensolaris.org
Ryan Scott
2008-Sep-10 04:48 UTC
Re: Installing a Solaris Using Network Install and JumpStart onto a ZFS Volume
John Brewer wrote:> Jere is my zfs list on c0d0c5: > NAME USED AVAIL REFER MOUNTPOINT > zones 19.0G 406G 11.0G /zones > zones/solaris1-disk 16K 414G 16K -It looks like you have a zfs file system instead of a zfs volume. Try destroying zones/solaris1-disk, then creating it with ''zfs create -V 8G zones/solaris1-disk''. The ''-V'' option means create a volume, not a file system. -Ryan> > I run this: > virt-install --name solaris1 --ram 1024 --nographics \ > --file /dev/zvol/dsk/zones/solaris1-disk \ > --location nfs:192.168.1.46:/zones/install/jumpstart/10u5 \ > --autocf nfs:192.168.1.46:/zones/jumpstart > How large would you like the disk (/dev/zvol/dsk/pool/solaris1-disk) to be (in gigabytes)? 8 > ERROR: The specified path''s root directory must exist. > What would you like to use as the disk (file path)? /dev/zvol/dsk/zones/solaris1-disk > > > Starting install... > Could not find an installable distribution at ''nfs:192.168.1.46:/zones/install/jumpstart/10u5'' > Domain installation may not have been > successful. If it was, you can restart your domain > by running ''virsh start solaris1''; otherwise, please > restart your installation. > Wed, 10 Sep 2008 00:22:38 ERROR Could not find an installable distribution at ''nfs:192.168.1.46:/zones/install/jumpstart/10u5'' > Traceback (most recent call last): > File "/usr/bin/virt-install", line 511, in ? > main() > File "/usr/bin/virt-install", line 471, in main > dom = guest.start_install(conscb,progresscb) > File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 887, in start_install > File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 68, in _prepare_install > File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 231, in prepare > File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 194, in _prepare_kernel_and_initrd > File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 106, in acquireKernel > File "/export/builds/xvm_97///proto/install/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 92, in _storeForDistro > ValueError: Could not find an installable distribution at ''nfs:192.168.1.46:/zones/install/jumpstart/10u5'' > -- > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org