<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Seeds of Genius &#187; Installation</title>
	<atom:link href="http://www.seedsofgenius.net/category/solaris/install/feed" rel="self" type="application/rss+xml" />
	<link>http://www.seedsofgenius.net</link>
	<description>Defining Value Add</description>
	<lastBuildDate>Wed, 19 Oct 2011 18:13:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Modify a Solaris Jumpstart Miniroot for Fun and Profit</title>
		<link>http://www.seedsofgenius.net/solaris/modify-a-solaris-jumpstart-miniroot-for-fun-and-profit</link>
		<comments>http://www.seedsofgenius.net/solaris/modify-a-solaris-jumpstart-miniroot-for-fun-and-profit#comments</comments>
		<pubDate>Wed, 25 May 2011 19:01:01 +0000</pubDate>
		<dc:creator>bisbell</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Patching]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Firmware]]></category>
		<category><![CDATA[Jumpstart]]></category>

		<guid isPermaLink="false">http://www.seedsofgenius.net/?p=406</guid>
		<description><![CDATA[I use the following basic procedure to create a Jumpstart boot image that I can use for various system maintenance purposes.  The boot image is used solely to boot across [...]]]></description>
			<content:encoded><![CDATA[<p>I use the following basic procedure to create a Jumpstart boot image that I can use for various system maintenance purposes.  The boot image is used solely to boot across the network into single user mode.   Once in single user mode I then have an OS image that contains useful software and patches that do not come with a basic Jumpstart miniroot image.  For example, my Jumpstart miniroot contains bash, SunVTS, and several firmware patches.  This makes life a lot easier when I&#8217;m doing service work on our systems.  If a system comes in with a bad system board, CPU or memory DIMM I can replace the failed components, stress test the new DIMM or CPU, and update the OBP to the latest revision all from a network boot image</p>
<p>Remember, you are responsible for your own systems.  Seeds of Genius is not liable for any problems that may occur based on your use of the following information.  This is for informational purposes only and these exact steps will not apply directly to all environments.  Please make sure to modify this procedure for your specific needs.</p>
<p>I started with a Sun BigAdmin article as my source, and then modified the steps to suit my needs.<br />
<a href="http://www.sun.com/bigadmin/features/hub_articles/patchmini.jsp" target="_blank">http://www.sun.com/bigadmin/features/hub_articles/patchmini.jsp</a></p>
<p><span style="text-decoration: underline;"><strong>Step 1: Build Initial Boot Image on Jumpstart Server</strong></span></p>
<p>Install Solaris 10 SPARC u9 onto the system that will be your Jumptart server.</p>
<p>You can either use a DVD or an ISO of the DVD to create the network boot image.</p>
<ul>
<li>After      Solaris installation, insert Solaris 10 SPARC u9 DVD into DVD drive.  If using a DVD image the mount      point will be /cdrom/cdrom0/</li>
</ul>
<ul>
<li>OR,      use an ISO image of the DVD and follow these steps.  Assume the ISO image is on the      system at /export/sol-10-u9-ga-sparc-dvd-iso</li>
</ul>
<p style="padding-left: 60px;"># lofiadm -a /export/sol-10-u9-ga-sparc-dvd-iso<br />
/dev/lofi/1<br />
# mkdir /mnt/u9<br />
# mount -F hsfs /dev/lofi/1 /mnt/u9</p>
<p>Whether you are using the DVD or an ISO image modify the following step to use the correct mount point of where the Solaris image resides</p>
<p style="padding-left: 60px;"># mkdir -p /export/Solaris/10/u9<br />
# &lt;MNT_PNT&gt;/Solaris_10/Tools/setup_install_server -b /export/Solaris/10/u9</p>
<p><span style="text-decoration: underline;"><strong>Step 2: Unpack miniroot for editing</strong></span></p>
<p style="padding-left: 60px;"># mkdir /var/tmp/mr<br />
# /boot/solaris/bin/root_archive unpackmedia /export/Solaris/10/u9 /var/tmp/mr</p>
<p><span style="text-decoration: underline;"><strong>Step 3: Modify miniroot</strong></span></p>
<p>You can modify the minitroot in any way you’d like; install packages, install patches, add files.  The following examples show different ways that the miniroot can be modified for various purposes.</p>
<p style="padding-left: 60px;">Example 1:</p>
<p style="padding-left: 60px;">To create a boot image to update firmware on a SunFire 240 you will need to download the firmware patch from Oracle to a separate directory location on your Jumpstart server. Once unzipped, copy the flash-update-SunFire240 and unix.flash-update.SunFire240.sh files from the patch directory to the root of the miniroot.</p>
<p style="padding-left: 90px;"># unzip 121683-06.zip<br />
# mkdir /var/tmp/mr/fw<br />
# cp -rp 121683-06/*flash-update* /var/tmp/mr/fw/</p>
<p style="padding-left: 60px;">Note:  When you boot into single user mode from this image you will need to remount root as rw and then run the flash-update shell script manually.  Following the instructions provided in the README file will not work.</p>
<p style="padding-left: 90px;"># mount -o remount,rw /<br />
# /fw/unix.flash-update.SunFire240.sh</p>
<p style="padding-left: 60px;">Example 2:</p>
<p style="padding-left: 60px;">To apply a patch to the miniroot, unzip the patch in a separate directory from the miniroot.  Use the patchadd with the -R option to set the miniroot location as the root to be patched.</p>
<p style="padding-left: 90px;"># unzip &lt;Patch#&gt;.zip<br />
# patchadd -R /var/tmp/mr &lt;Patch#&gt;</p>
<p style="padding-left: 60px;">Example 3:</p>
<p style="padding-left: 60px;">To install a software package, place the package in a separate directory from the miniroot.  Use the pkgadd with the -R option to set the miniroot location as the root to install the package. You will need to handle software dependencies, and considering the minimal amount of packages on the original miniroot figuring this out can be a major task.</p>
<p style="padding-left: 90px;"># pkgadd -R /var/tmp/mr SUNWbash</p>
<p style="padding-left: 60px;">As an example use-case scenario, I currently have a miniroot that has all the packaged required to run SunVTS so that I can perform a system validation from a net boot.</p>
<p><span style="text-decoration: underline;"><strong>Step 4: Pack miniroot</strong></span></p>
<p style="padding-left: 90px;"># /boot/solaris/bin/root_archive packmedia /export/Solaris/10/u9 /var/tmp/mr</p>
<p><span style="text-decoration: underline;"><strong>Step 5: Setup Jumptart client</strong></span></p>
<p>Even though this setup is only to boot a system into single user mode across the network for maintenance purposes (ie: to run SunVTS or update firmware), the add_install_client command requires the -p, -c, and -s options.  These options should point to a system or IP address that is an actual NFS server or else you might have a pin-wheel spinning even after the system comes up in single user mode.</p>
<p style="padding-left: 90px;"># cd /export/Solaris/10/u9<br />
# ./add_install_client -p jumpstart:/export/Jumpstart/Sysidcfgs -c jumpstart:/export/Jumpstart/Profiles -s jumpstart:/export/OS_Images/Solaris/SPARC/10/u8 SystemX sun4u</p>
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=411">Mounting ISO Images in Solaris vs. AIX</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=363">Solaris Tips: Flash Archive (FLAR) with Zones</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=349">Solaris Tips: Unencapsulate SVM root mirror</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=337">Solaris Tips: Repairing the Boot Archive</a></li>
</ul>
</div>
<p><!-- HTML Codes by Quackit.com --><br />
<span style="font-family:Arial;font-size:18px;font-style:italic;font-weight:bold;text-decoration:underline;text-transform:none;color:000066;background-color:ffffff;">ABOUT US</span><br />
<span style="font-family:Arial;font-size:14px;font-style:normal;font-weight:bold;text-decoration:none;text-transform:none;color:003366;background-color:ffffff;">Seeds of Genius, Inc. offers a full range of IT solutions including hardware and software products in addition to consulting, installation and support services. For more information, please visit our main web site at <a href="http://www.seedsofgenius.com">http://www.seedsofgenius.com</a> or contact our Technical Sales department at (410) 312-9806.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seedsofgenius.net/solaris/modify-a-solaris-jumpstart-miniroot-for-fun-and-profit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mirror boot drive on T5120 with onboard RAID controller.</title>
		<link>http://www.seedsofgenius.net/solaris/install/mirror-boot-drive-on-t5120-with-onboard-raid-controller</link>
		<comments>http://www.seedsofgenius.net/solaris/install/mirror-boot-drive-on-t5120-with-onboard-raid-controller#comments</comments>
		<pubDate>Fri, 08 Jan 2010 17:41:18 +0000</pubDate>
		<dc:creator>bisbell</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://www.seedsofgenius.net/?p=115</guid>
		<description><![CDATA[These are the procedures used create a mirrored boot drive using the onboard RAID controller on a T5120.  The same procedure can be used with any Sun system that comes [...]]]></description>
			<content:encoded><![CDATA[<p>I use the following basic procedure to create a Jumpstart boot image that I can use for various system maintenance purposes.  The boot image is used solely to boot across the network into single user mode.   Once in single user mode I then have an OS image that contains useful software and patches that do not come with a basic Jumpstart miniroot image.  For example, my Jumpstart miniroot contains bash, SunVTS, and several firmware patches.  This makes life a lot easier when I&#8217;m doing service work on our systems.  If a system comes in with a bad system board, CPU or memory DIMM I can replace the failed components, stress test the new DIMM or CPU, and update the OBP to the latest revision all from a network boot image</p>
<p>Remember, you are responsible for your own systems.  Seeds of Genius is not liable for any problems that may occur based on your use of the following information.  This is for informational purposes only and these exact steps will not apply directly to all environments.  Please make sure to modify this procedure for your specific needs.</p>
<p>I started with a Sun BigAdmin article as my source, and then modified the steps to suit my needs.<br />
<a href="http://www.sun.com/bigadmin/features/hub_articles/patchmini.jsp" target="_blank">http://www.sun.com/bigadmin/features/hub_articles/patchmini.jsp</a></p>
<p><span style="text-decoration: underline;"><strong>Step 1: Build Initial Boot Image on Jumpstart Server</strong></span></p>
<p>Install Solaris 10 SPARC u9 onto the system that will be your Jumptart server.</p>
<p>You can either use a DVD or an ISO of the DVD to create the network boot image.</p>
<ul>
<li>After      Solaris installation, insert Solaris 10 SPARC u9 DVD into DVD drive.  If using a DVD image the mount      point will be /cdrom/cdrom0/</li>
</ul>
<ul>
<li>OR,      use an ISO image of the DVD and follow these steps.  Assume the ISO image is on the      system at /export/sol-10-u9-ga-sparc-dvd-iso</li>
</ul>
<p style="padding-left: 60px;"># lofiadm -a /export/sol-10-u9-ga-sparc-dvd-iso<br />
/dev/lofi/1<br />
# mkdir /mnt/u9<br />
# mount -F hsfs /dev/lofi/1 /mnt/u9</p>
<p>Whether you are using the DVD or an ISO image modify the following step to use the correct mount point of where the Solaris image resides</p>
<p style="padding-left: 60px;"># mkdir -p /export/Solaris/10/u9<br />
# &lt;MNT_PNT&gt;/Solaris_10/Tools/setup_install_server -b /export/Solaris/10/u9</p>
<p><span style="text-decoration: underline;"><strong>Step 2: Unpack miniroot for editing</strong></span></p>
<p style="padding-left: 60px;"># mkdir /var/tmp/mr<br />
# /boot/solaris/bin/root_archive unpackmedia /export/Solaris/10/u9 /var/tmp/mr</p>
<p><span style="text-decoration: underline;"><strong>Step 3: Modify miniroot</strong></span></p>
<p>You can modify the minitroot in any way you’d like; install packages, install patches, add files.  The following examples show different ways that the miniroot can be modified for various purposes.</p>
<p style="padding-left: 60px;">Example 1:</p>
<p style="padding-left: 60px;">To create a boot image to update firmware on a SunFire 240 you will need to download the firmware patch from Oracle to a separate directory location on your Jumpstart server. Once unzipped, copy the flash-update-SunFire240 and unix.flash-update.SunFire240.sh files from the patch directory to the root of the miniroot.</p>
<p style="padding-left: 90px;"># unzip 121683-06.zip<br />
# mkdir /var/tmp/mr/fw<br />
# cp -rp 121683-06/*flash-update* /var/tmp/mr/fw/</p>
<p style="padding-left: 60px;">Note:  When you boot into single user mode from this image you will need to remount root as rw and then run the flash-update shell script manually.  Following the instructions provided in the README file will not work.</p>
<p style="padding-left: 90px;"># mount -o remount,rw /<br />
# /fw/unix.flash-update.SunFire240.sh</p>
<p style="padding-left: 60px;">Example 2:</p>
<p style="padding-left: 60px;">To apply a patch to the miniroot, unzip the patch in a separate directory from the miniroot.  Use the patchadd with the -R option to set the miniroot location as the root to be patched.</p>
<p style="padding-left: 90px;"># unzip &lt;Patch#&gt;.zip<br />
# patchadd -R /var/tmp/mr &lt;Patch#&gt;</p>
<p style="padding-left: 60px;">Example 3:</p>
<p style="padding-left: 60px;">To install a software package, place the package in a separate directory from the miniroot.  Use the pkgadd with the -R option to set the miniroot location as the root to install the package. You will need to handle software dependencies, and considering the minimal amount of packages on the original miniroot figuring this out can be a major task.</p>
<p style="padding-left: 90px;"># pkgadd -R /var/tmp/mr SUNWbash</p>
<p style="padding-left: 60px;">As an example use-case scenario, I currently have a miniroot that has all the packaged required to run SunVTS so that I can perform a system validation from a net boot.</p>
<p><span style="text-decoration: underline;"><strong>Step 4: Pack miniroot</strong></span></p>
<p style="padding-left: 90px;"># /boot/solaris/bin/root_archive packmedia /export/Solaris/10/u9 /var/tmp/mr</p>
<p><span style="text-decoration: underline;"><strong>Step 5: Setup Jumptart client</strong></span></p>
<p>Even though this setup is only to boot a system into single user mode across the network for maintenance purposes (ie: to run SunVTS or update firmware), the add_install_client command requires the -p, -c, and -s options.  These options should point to a system or IP address that is an actual NFS server or else you might have a pin-wheel spinning even after the system comes up in single user mode.</p>
<p style="padding-left: 90px;"># cd /export/Solaris/10/u9<br />
# ./add_install_client -p jumpstart:/export/Jumpstart/Sysidcfgs -c jumpstart:/export/Jumpstart/Profiles -s jumpstart:/export/OS_Images/Solaris/SPARC/10/u8 SystemX sun4u</p>
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=411">Mounting ISO Images in Solaris vs. AIX</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=363">Solaris Tips: Flash Archive (FLAR) with Zones</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=349">Solaris Tips: Unencapsulate SVM root mirror</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=337">Solaris Tips: Repairing the Boot Archive</a></li>
</ul>
</div>
<p><!-- HTML Codes by Quackit.com --><br />
<span style="font-family:Arial;font-size:18px;font-style:italic;font-weight:bold;text-decoration:underline;text-transform:none;color:000066;background-color:ffffff;">ABOUT US</span><br />
<span style="font-family:Arial;font-size:14px;font-style:normal;font-weight:bold;text-decoration:none;text-transform:none;color:003366;background-color:ffffff;">Seeds of Genius, Inc. offers a full range of IT solutions including hardware and software products in addition to consulting, installation and support services. For more information, please visit our main web site at <a href="http://www.seedsofgenius.com">http://www.seedsofgenius.com</a> or contact our Technical Sales department at (410) 312-9806.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seedsofgenius.net/solaris/modify-a-solaris-jumpstart-miniroot-for-fun-and-profit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Live Upgrade Troubleshooting</title>
		<link>http://www.seedsofgenius.net/solaris/live-upgrade-troubleshooting</link>
		<comments>http://www.seedsofgenius.net/solaris/live-upgrade-troubleshooting#comments</comments>
		<pubDate>Fri, 13 Nov 2009 19:39:54 +0000</pubDate>
		<dc:creator>kcassidy</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Live Upgrade]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.seedsofgenius.net/?p=52</guid>
		<description><![CDATA[This is meant to be a list of basic troubleshooting tips for Live Upgrade. It is a work in progress. #1 and #2 Troubleshooting Tips! Patch up to the most [...]]]></description>
			<content:encoded><![CDATA[<p>I use the following basic procedure to create a Jumpstart boot image that I can use for various system maintenance purposes.  The boot image is used solely to boot across the network into single user mode.   Once in single user mode I then have an OS image that contains useful software and patches that do not come with a basic Jumpstart miniroot image.  For example, my Jumpstart miniroot contains bash, SunVTS, and several firmware patches.  This makes life a lot easier when I&#8217;m doing service work on our systems.  If a system comes in with a bad system board, CPU or memory DIMM I can replace the failed components, stress test the new DIMM or CPU, and update the OBP to the latest revision all from a network boot image</p>
<p>Remember, you are responsible for your own systems.  Seeds of Genius is not liable for any problems that may occur based on your use of the following information.  This is for informational purposes only and these exact steps will not apply directly to all environments.  Please make sure to modify this procedure for your specific needs.</p>
<p>I started with a Sun BigAdmin article as my source, and then modified the steps to suit my needs.<br />
<a href="http://www.sun.com/bigadmin/features/hub_articles/patchmini.jsp" target="_blank">http://www.sun.com/bigadmin/features/hub_articles/patchmini.jsp</a></p>
<p><span style="text-decoration: underline;"><strong>Step 1: Build Initial Boot Image on Jumpstart Server</strong></span></p>
<p>Install Solaris 10 SPARC u9 onto the system that will be your Jumptart server.</p>
<p>You can either use a DVD or an ISO of the DVD to create the network boot image.</p>
<ul>
<li>After      Solaris installation, insert Solaris 10 SPARC u9 DVD into DVD drive.  If using a DVD image the mount      point will be /cdrom/cdrom0/</li>
</ul>
<ul>
<li>OR,      use an ISO image of the DVD and follow these steps.  Assume the ISO image is on the      system at /export/sol-10-u9-ga-sparc-dvd-iso</li>
</ul>
<p style="padding-left: 60px;"># lofiadm -a /export/sol-10-u9-ga-sparc-dvd-iso<br />
/dev/lofi/1<br />
# mkdir /mnt/u9<br />
# mount -F hsfs /dev/lofi/1 /mnt/u9</p>
<p>Whether you are using the DVD or an ISO image modify the following step to use the correct mount point of where the Solaris image resides</p>
<p style="padding-left: 60px;"># mkdir -p /export/Solaris/10/u9<br />
# &lt;MNT_PNT&gt;/Solaris_10/Tools/setup_install_server -b /export/Solaris/10/u9</p>
<p><span style="text-decoration: underline;"><strong>Step 2: Unpack miniroot for editing</strong></span></p>
<p style="padding-left: 60px;"># mkdir /var/tmp/mr<br />
# /boot/solaris/bin/root_archive unpackmedia /export/Solaris/10/u9 /var/tmp/mr</p>
<p><span style="text-decoration: underline;"><strong>Step 3: Modify miniroot</strong></span></p>
<p>You can modify the minitroot in any way you’d like; install packages, install patches, add files.  The following examples show different ways that the miniroot can be modified for various purposes.</p>
<p style="padding-left: 60px;">Example 1:</p>
<p style="padding-left: 60px;">To create a boot image to update firmware on a SunFire 240 you will need to download the firmware patch from Oracle to a separate directory location on your Jumpstart server. Once unzipped, copy the flash-update-SunFire240 and unix.flash-update.SunFire240.sh files from the patch directory to the root of the miniroot.</p>
<p style="padding-left: 90px;"># unzip 121683-06.zip<br />
# mkdir /var/tmp/mr/fw<br />
# cp -rp 121683-06/*flash-update* /var/tmp/mr/fw/</p>
<p style="padding-left: 60px;">Note:  When you boot into single user mode from this image you will need to remount root as rw and then run the flash-update shell script manually.  Following the instructions provided in the README file will not work.</p>
<p style="padding-left: 90px;"># mount -o remount,rw /<br />
# /fw/unix.flash-update.SunFire240.sh</p>
<p style="padding-left: 60px;">Example 2:</p>
<p style="padding-left: 60px;">To apply a patch to the miniroot, unzip the patch in a separate directory from the miniroot.  Use the patchadd with the -R option to set the miniroot location as the root to be patched.</p>
<p style="padding-left: 90px;"># unzip &lt;Patch#&gt;.zip<br />
# patchadd -R /var/tmp/mr &lt;Patch#&gt;</p>
<p style="padding-left: 60px;">Example 3:</p>
<p style="padding-left: 60px;">To install a software package, place the package in a separate directory from the miniroot.  Use the pkgadd with the -R option to set the miniroot location as the root to install the package. You will need to handle software dependencies, and considering the minimal amount of packages on the original miniroot figuring this out can be a major task.</p>
<p style="padding-left: 90px;"># pkgadd -R /var/tmp/mr SUNWbash</p>
<p style="padding-left: 60px;">As an example use-case scenario, I currently have a miniroot that has all the packaged required to run SunVTS so that I can perform a system validation from a net boot.</p>
<p><span style="text-decoration: underline;"><strong>Step 4: Pack miniroot</strong></span></p>
<p style="padding-left: 90px;"># /boot/solaris/bin/root_archive packmedia /export/Solaris/10/u9 /var/tmp/mr</p>
<p><span style="text-decoration: underline;"><strong>Step 5: Setup Jumptart client</strong></span></p>
<p>Even though this setup is only to boot a system into single user mode across the network for maintenance purposes (ie: to run SunVTS or update firmware), the add_install_client command requires the -p, -c, and -s options.  These options should point to a system or IP address that is an actual NFS server or else you might have a pin-wheel spinning even after the system comes up in single user mode.</p>
<p style="padding-left: 90px;"># cd /export/Solaris/10/u9<br />
# ./add_install_client -p jumpstart:/export/Jumpstart/Sysidcfgs -c jumpstart:/export/Jumpstart/Profiles -s jumpstart:/export/OS_Images/Solaris/SPARC/10/u8 SystemX sun4u</p>
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=411">Mounting ISO Images in Solaris vs. AIX</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=363">Solaris Tips: Flash Archive (FLAR) with Zones</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=349">Solaris Tips: Unencapsulate SVM root mirror</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=337">Solaris Tips: Repairing the Boot Archive</a></li>
</ul>
</div>
<p><!-- HTML Codes by Quackit.com --><br />
<span style="font-family:Arial;font-size:18px;font-style:italic;font-weight:bold;text-decoration:underline;text-transform:none;color:000066;background-color:ffffff;">ABOUT US</span><br />
<span style="font-family:Arial;font-size:14px;font-style:normal;font-weight:bold;text-decoration:none;text-transform:none;color:003366;background-color:ffffff;">Seeds of Genius, Inc. offers a full range of IT solutions including hardware and software products in addition to consulting, installation and support services. For more information, please visit our main web site at <a href="http://www.seedsofgenius.com">http://www.seedsofgenius.com</a> or contact our Technical Sales department at (410) 312-9806.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seedsofgenius.net/solaris/modify-a-solaris-jumpstart-miniroot-for-fun-and-profit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jumpstart of Solaris VM on VMWare ESX hangs</title>
		<link>http://www.seedsofgenius.net/solaris/install/jumpstart-of-solaris-vm-on-vmware-esx-hangs</link>
		<comments>http://www.seedsofgenius.net/solaris/install/jumpstart-of-solaris-vm-on-vmware-esx-hangs#comments</comments>
		<pubDate>Wed, 28 Oct 2009 23:02:15 +0000</pubDate>
		<dc:creator>bwagner</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://192.168.1.15/?p=28</guid>
		<description><![CDATA[Problem Description: I have a Jumpstart infrastructure set up that has had no problems installing Solaris natively on my servers. However, when I attempt to do so within a virtual [...]]]></description>
			<content:encoded><![CDATA[<p>I use the following basic procedure to create a Jumpstart boot image that I can use for various system maintenance purposes.  The boot image is used solely to boot across the network into single user mode.   Once in single user mode I then have an OS image that contains useful software and patches that do not come with a basic Jumpstart miniroot image.  For example, my Jumpstart miniroot contains bash, SunVTS, and several firmware patches.  This makes life a lot easier when I&#8217;m doing service work on our systems.  If a system comes in with a bad system board, CPU or memory DIMM I can replace the failed components, stress test the new DIMM or CPU, and update the OBP to the latest revision all from a network boot image</p>
<p>Remember, you are responsible for your own systems.  Seeds of Genius is not liable for any problems that may occur based on your use of the following information.  This is for informational purposes only and these exact steps will not apply directly to all environments.  Please make sure to modify this procedure for your specific needs.</p>
<p>I started with a Sun BigAdmin article as my source, and then modified the steps to suit my needs.<br />
<a href="http://www.sun.com/bigadmin/features/hub_articles/patchmini.jsp" target="_blank">http://www.sun.com/bigadmin/features/hub_articles/patchmini.jsp</a></p>
<p><span style="text-decoration: underline;"><strong>Step 1: Build Initial Boot Image on Jumpstart Server</strong></span></p>
<p>Install Solaris 10 SPARC u9 onto the system that will be your Jumptart server.</p>
<p>You can either use a DVD or an ISO of the DVD to create the network boot image.</p>
<ul>
<li>After      Solaris installation, insert Solaris 10 SPARC u9 DVD into DVD drive.  If using a DVD image the mount      point will be /cdrom/cdrom0/</li>
</ul>
<ul>
<li>OR,      use an ISO image of the DVD and follow these steps.  Assume the ISO image is on the      system at /export/sol-10-u9-ga-sparc-dvd-iso</li>
</ul>
<p style="padding-left: 60px;"># lofiadm -a /export/sol-10-u9-ga-sparc-dvd-iso<br />
/dev/lofi/1<br />
# mkdir /mnt/u9<br />
# mount -F hsfs /dev/lofi/1 /mnt/u9</p>
<p>Whether you are using the DVD or an ISO image modify the following step to use the correct mount point of where the Solaris image resides</p>
<p style="padding-left: 60px;"># mkdir -p /export/Solaris/10/u9<br />
# &lt;MNT_PNT&gt;/Solaris_10/Tools/setup_install_server -b /export/Solaris/10/u9</p>
<p><span style="text-decoration: underline;"><strong>Step 2: Unpack miniroot for editing</strong></span></p>
<p style="padding-left: 60px;"># mkdir /var/tmp/mr<br />
# /boot/solaris/bin/root_archive unpackmedia /export/Solaris/10/u9 /var/tmp/mr</p>
<p><span style="text-decoration: underline;"><strong>Step 3: Modify miniroot</strong></span></p>
<p>You can modify the minitroot in any way you’d like; install packages, install patches, add files.  The following examples show different ways that the miniroot can be modified for various purposes.</p>
<p style="padding-left: 60px;">Example 1:</p>
<p style="padding-left: 60px;">To create a boot image to update firmware on a SunFire 240 you will need to download the firmware patch from Oracle to a separate directory location on your Jumpstart server. Once unzipped, copy the flash-update-SunFire240 and unix.flash-update.SunFire240.sh files from the patch directory to the root of the miniroot.</p>
<p style="padding-left: 90px;"># unzip 121683-06.zip<br />
# mkdir /var/tmp/mr/fw<br />
# cp -rp 121683-06/*flash-update* /var/tmp/mr/fw/</p>
<p style="padding-left: 60px;">Note:  When you boot into single user mode from this image you will need to remount root as rw and then run the flash-update shell script manually.  Following the instructions provided in the README file will not work.</p>
<p style="padding-left: 90px;"># mount -o remount,rw /<br />
# /fw/unix.flash-update.SunFire240.sh</p>
<p style="padding-left: 60px;">Example 2:</p>
<p style="padding-left: 60px;">To apply a patch to the miniroot, unzip the patch in a separate directory from the miniroot.  Use the patchadd with the -R option to set the miniroot location as the root to be patched.</p>
<p style="padding-left: 90px;"># unzip &lt;Patch#&gt;.zip<br />
# patchadd -R /var/tmp/mr &lt;Patch#&gt;</p>
<p style="padding-left: 60px;">Example 3:</p>
<p style="padding-left: 60px;">To install a software package, place the package in a separate directory from the miniroot.  Use the pkgadd with the -R option to set the miniroot location as the root to install the package. You will need to handle software dependencies, and considering the minimal amount of packages on the original miniroot figuring this out can be a major task.</p>
<p style="padding-left: 90px;"># pkgadd -R /var/tmp/mr SUNWbash</p>
<p style="padding-left: 60px;">As an example use-case scenario, I currently have a miniroot that has all the packaged required to run SunVTS so that I can perform a system validation from a net boot.</p>
<p><span style="text-decoration: underline;"><strong>Step 4: Pack miniroot</strong></span></p>
<p style="padding-left: 90px;"># /boot/solaris/bin/root_archive packmedia /export/Solaris/10/u9 /var/tmp/mr</p>
<p><span style="text-decoration: underline;"><strong>Step 5: Setup Jumptart client</strong></span></p>
<p>Even though this setup is only to boot a system into single user mode across the network for maintenance purposes (ie: to run SunVTS or update firmware), the add_install_client command requires the -p, -c, and -s options.  These options should point to a system or IP address that is an actual NFS server or else you might have a pin-wheel spinning even after the system comes up in single user mode.</p>
<p style="padding-left: 90px;"># cd /export/Solaris/10/u9<br />
# ./add_install_client -p jumpstart:/export/Jumpstart/Sysidcfgs -c jumpstart:/export/Jumpstart/Profiles -s jumpstart:/export/OS_Images/Solaris/SPARC/10/u8 SystemX sun4u</p>
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=411">Mounting ISO Images in Solaris vs. AIX</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=363">Solaris Tips: Flash Archive (FLAR) with Zones</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=349">Solaris Tips: Unencapsulate SVM root mirror</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=337">Solaris Tips: Repairing the Boot Archive</a></li>
</ul>
</div>
<p><!-- HTML Codes by Quackit.com --><br />
<span style="font-family:Arial;font-size:18px;font-style:italic;font-weight:bold;text-decoration:underline;text-transform:none;color:000066;background-color:ffffff;">ABOUT US</span><br />
<span style="font-family:Arial;font-size:14px;font-style:normal;font-weight:bold;text-decoration:none;text-transform:none;color:003366;background-color:ffffff;">Seeds of Genius, Inc. offers a full range of IT solutions including hardware and software products in addition to consulting, installation and support services. For more information, please visit our main web site at <a href="http://www.seedsofgenius.com">http://www.seedsofgenius.com</a> or contact our Technical Sales department at (410) 312-9806.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seedsofgenius.net/solaris/modify-a-solaris-jumpstart-miniroot-for-fun-and-profit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Jumpstart Server</title>
		<link>http://www.seedsofgenius.net/solaris/install/creating-a-jumpstart-server</link>
		<comments>http://www.seedsofgenius.net/solaris/install/creating-a-jumpstart-server#comments</comments>
		<pubDate>Wed, 28 Oct 2009 21:19:29 +0000</pubDate>
		<dc:creator>bisbell</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://192.168.1.15/?p=3</guid>
		<description><![CDATA[This is meant to provide a step-by-step walk-through on how to build a simple JumpStart server. For more details on further capabilities of JumpStart and other advanced installation topics please [...]]]></description>
			<content:encoded><![CDATA[<p>I use the following basic procedure to create a Jumpstart boot image that I can use for various system maintenance purposes.  The boot image is used solely to boot across the network into single user mode.   Once in single user mode I then have an OS image that contains useful software and patches that do not come with a basic Jumpstart miniroot image.  For example, my Jumpstart miniroot contains bash, SunVTS, and several firmware patches.  This makes life a lot easier when I&#8217;m doing service work on our systems.  If a system comes in with a bad system board, CPU or memory DIMM I can replace the failed components, stress test the new DIMM or CPU, and update the OBP to the latest revision all from a network boot image</p>
<p>Remember, you are responsible for your own systems.  Seeds of Genius is not liable for any problems that may occur based on your use of the following information.  This is for informational purposes only and these exact steps will not apply directly to all environments.  Please make sure to modify this procedure for your specific needs.</p>
<p>I started with a Sun BigAdmin article as my source, and then modified the steps to suit my needs.<br />
<a href="http://www.sun.com/bigadmin/features/hub_articles/patchmini.jsp" target="_blank">http://www.sun.com/bigadmin/features/hub_articles/patchmini.jsp</a></p>
<p><span style="text-decoration: underline;"><strong>Step 1: Build Initial Boot Image on Jumpstart Server</strong></span></p>
<p>Install Solaris 10 SPARC u9 onto the system that will be your Jumptart server.</p>
<p>You can either use a DVD or an ISO of the DVD to create the network boot image.</p>
<ul>
<li>After      Solaris installation, insert Solaris 10 SPARC u9 DVD into DVD drive.  If using a DVD image the mount      point will be /cdrom/cdrom0/</li>
</ul>
<ul>
<li>OR,      use an ISO image of the DVD and follow these steps.  Assume the ISO image is on the      system at /export/sol-10-u9-ga-sparc-dvd-iso</li>
</ul>
<p style="padding-left: 60px;"># lofiadm -a /export/sol-10-u9-ga-sparc-dvd-iso<br />
/dev/lofi/1<br />
# mkdir /mnt/u9<br />
# mount -F hsfs /dev/lofi/1 /mnt/u9</p>
<p>Whether you are using the DVD or an ISO image modify the following step to use the correct mount point of where the Solaris image resides</p>
<p style="padding-left: 60px;"># mkdir -p /export/Solaris/10/u9<br />
# &lt;MNT_PNT&gt;/Solaris_10/Tools/setup_install_server -b /export/Solaris/10/u9</p>
<p><span style="text-decoration: underline;"><strong>Step 2: Unpack miniroot for editing</strong></span></p>
<p style="padding-left: 60px;"># mkdir /var/tmp/mr<br />
# /boot/solaris/bin/root_archive unpackmedia /export/Solaris/10/u9 /var/tmp/mr</p>
<p><span style="text-decoration: underline;"><strong>Step 3: Modify miniroot</strong></span></p>
<p>You can modify the minitroot in any way you’d like; install packages, install patches, add files.  The following examples show different ways that the miniroot can be modified for various purposes.</p>
<p style="padding-left: 60px;">Example 1:</p>
<p style="padding-left: 60px;">To create a boot image to update firmware on a SunFire 240 you will need to download the firmware patch from Oracle to a separate directory location on your Jumpstart server. Once unzipped, copy the flash-update-SunFire240 and unix.flash-update.SunFire240.sh files from the patch directory to the root of the miniroot.</p>
<p style="padding-left: 90px;"># unzip 121683-06.zip<br />
# mkdir /var/tmp/mr/fw<br />
# cp -rp 121683-06/*flash-update* /var/tmp/mr/fw/</p>
<p style="padding-left: 60px;">Note:  When you boot into single user mode from this image you will need to remount root as rw and then run the flash-update shell script manually.  Following the instructions provided in the README file will not work.</p>
<p style="padding-left: 90px;"># mount -o remount,rw /<br />
# /fw/unix.flash-update.SunFire240.sh</p>
<p style="padding-left: 60px;">Example 2:</p>
<p style="padding-left: 60px;">To apply a patch to the miniroot, unzip the patch in a separate directory from the miniroot.  Use the patchadd with the -R option to set the miniroot location as the root to be patched.</p>
<p style="padding-left: 90px;"># unzip &lt;Patch#&gt;.zip<br />
# patchadd -R /var/tmp/mr &lt;Patch#&gt;</p>
<p style="padding-left: 60px;">Example 3:</p>
<p style="padding-left: 60px;">To install a software package, place the package in a separate directory from the miniroot.  Use the pkgadd with the -R option to set the miniroot location as the root to install the package. You will need to handle software dependencies, and considering the minimal amount of packages on the original miniroot figuring this out can be a major task.</p>
<p style="padding-left: 90px;"># pkgadd -R /var/tmp/mr SUNWbash</p>
<p style="padding-left: 60px;">As an example use-case scenario, I currently have a miniroot that has all the packaged required to run SunVTS so that I can perform a system validation from a net boot.</p>
<p><span style="text-decoration: underline;"><strong>Step 4: Pack miniroot</strong></span></p>
<p style="padding-left: 90px;"># /boot/solaris/bin/root_archive packmedia /export/Solaris/10/u9 /var/tmp/mr</p>
<p><span style="text-decoration: underline;"><strong>Step 5: Setup Jumptart client</strong></span></p>
<p>Even though this setup is only to boot a system into single user mode across the network for maintenance purposes (ie: to run SunVTS or update firmware), the add_install_client command requires the -p, -c, and -s options.  These options should point to a system or IP address that is an actual NFS server or else you might have a pin-wheel spinning even after the system comes up in single user mode.</p>
<p style="padding-left: 90px;"># cd /export/Solaris/10/u9<br />
# ./add_install_client -p jumpstart:/export/Jumpstart/Sysidcfgs -c jumpstart:/export/Jumpstart/Profiles -s jumpstart:/export/OS_Images/Solaris/SPARC/10/u8 SystemX sun4u</p>
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=411">Mounting ISO Images in Solaris vs. AIX</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=363">Solaris Tips: Flash Archive (FLAR) with Zones</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=349">Solaris Tips: Unencapsulate SVM root mirror</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=337">Solaris Tips: Repairing the Boot Archive</a></li>
</ul>
</div>
<p><!-- HTML Codes by Quackit.com --><br />
<span style="font-family:Arial;font-size:18px;font-style:italic;font-weight:bold;text-decoration:underline;text-transform:none;color:000066;background-color:ffffff;">ABOUT US</span><br />
<span style="font-family:Arial;font-size:14px;font-style:normal;font-weight:bold;text-decoration:none;text-transform:none;color:003366;background-color:ffffff;">Seeds of Genius, Inc. offers a full range of IT solutions including hardware and software products in addition to consulting, installation and support services. For more information, please visit our main web site at <a href="http://www.seedsofgenius.com">http://www.seedsofgenius.com</a> or contact our Technical Sales department at (410) 312-9806.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seedsofgenius.net/solaris/modify-a-solaris-jumpstart-miniroot-for-fun-and-profit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

