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

Noelle M. Vega nmvega at computingarchitects.com
Wed Nov 30 14:03:15 EST 2005


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 at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



More information about the summaries mailing list