SUMMARY: PXE/DHCP Solaris Jumpastart onto non-Sun x86 based machines...

From: Noelle M. Vega <nmvega_at_computingarchitects.com>
Date: Wed Nov 30 2005 - 14:03:15 EST
Thanks to both Alex Stade and Charles Gagnon for leading
in the right direction. This is what I did to bypass the
menu prompts that ask whether you want interactive or
custom jumpstart booting... (the one that gives you
4 choices)... i.e. to facilitate hands off Jumpstart.

My solution is as follows:

(1) Insert the following code in the file
   "...<installPath>/5.10/Solaris_10/Tools/Boot/etc/bootrc"

##########################################################
#       @(#)bootrc 1.15 04/08/13
#
# bootrc script for installations
#
##########################################################
# This section was inserted by "Noelle Milton Vega".
##########################################################
# This section (in between these octothorpe lines) is the only
# code change I made the this file.
#
# It checks to see if we want to hands-off JUMPSTART the client
# that is booting, by checking to see if the "boot-args" 
# setprop variable is set to 'js' (a value invented by me). The
# veriable can be set on a per-client basis in their associated
# bootenv.rc file called:
#
#   "/tftpboot/01MAC.bootenv.rc"
#
# Simply add the following line (minus the double quotes)
# to that file:
#
#   "setprop boot-args 'js'"
#
# If so, we reset "boot-args" below to a value of ' - install',
# and begin booting (skipping the menu prompts that would have
# been echoed further below.
########################################################
getprop boot-path bp
getprop boot-args ba
if .streq ( ${ba}X , jsX )
   set DEFAULT_BOOTFILE kernel/unix
   setprop boot-args ' - install'
   echo "
   Boot path: ${boot-path}
   Boot args: ${boot-args}
   Booting $DEFAULT_BOOTFILE ..."
   echo ""
   run $DEFAULT_BOOTFILE
endif
#####################################################

(2) Insert the following line in each of the files
/tftpboot/01MAC.bootenv.rc (as described above):

   setprop boot-args 'js'

Note that commenting this out, will let the system
boot to the menu as normal. This gives the option
either way.

Thanks all,
Noelle
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Nov 30 14:04:14 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:53 EST