JumpStart HOWTO

=Solaris Jumpstart Howto= Here's a procedure in makig a Solaris jumpstart server.


 * 1) mkdir /jumpstart/image
 * 2) mkdir /jumpstart/config
 * 3) mkdir /jumpstart/share

/dev/lofi/1 /var/tmp/Solaris10_u5_1108.iso
 * 1) lofiadm -a /var/tmp/Solaris10_u5_1108.iso
 * 1) lofiadm /dev/lofi/1


 * 1) svcadm disable volfs
 * 2) mkdir -p /cdrom/cdrom0


 * 1) mount -F hsfs -o ro /dev/lofi/1 /cdrom/cdrom0

Verifying target directory... Calculating the required disk space for the Solaris_11 product ... output skipped ...
 * 1) cd /cdrom/cdrom0/Solaris_10/Tools
 * 2) ./setup_install_server /jumpstart/image

Block Device File
 * 1) cd /
 * 2) umount /cdrom/cdrom0
 * 3) lofiadm -d /dev/lofi/1
 * 4) lofiadm


 * 1) cd /jumpstart/image/Solaris_10/Misc/jumpstart_sample
 * 2) cp ./check /jumpstart/config


 * 1) cp /etc/dfs/dfstab /etc/dfs/dfstab.org

+---
 * 1) vi /etc/dfs/dfstab
 * share -F nfs -o ro,anon=0 /jumpstart/config
 * share -F nfs -o ro,anon=0 /jumpstart/image
 * share -F nfs -o ro,anon=0 /jumpstart/share

+---
 * 1) vi /etc/dfs/dfstab
 * share -F nfs -o ro,anon=0 /jumpstart


 * 1) svcadm enable nfs/server
 * 2) shareall

+-- default_route=127.0.0.1}
 * 1) vi /jumpstart/config/sysidcfg
 * system_locale=en_US
 * timezone=MET
 * name_service=NONE
 * terminal=dtterm
 * timeserver=localhost
 * root_password="WybF.D5GwZnz2"
 * network_interface=primary { netmask=255.0.0.0 protocol_ipv6=no
 * security_policy=NONE
 * nfs4_domain=dynamic

+---
 * 1) vi /jumpstart/config/sun4u_profile
 * install_type initial_install
 * system_type standalone
 * partitioning explicit
 * filesys any 1024 /
 * filesys any 1024 /usr
 * filesys any 1024 /var
 * filesys any 1024 /opt
 * filesys any 1024 /export/home
 * filesys any 256 swap
 * cluster SUNWCreq
 * package SUNWman
 * package SUNWbash
 * package SUNWless

+---
 * 1) cd /jumpstart/config
 * 2) vi ./rules
 * karch sun4u - sun4u_profile -


 * 1) ./check

+--
 * 1) vi /etc/hosts
 * 10.0.0.2 pino

> -e 8:0:20:0:0:02 \ > -i 10.0.0.2 \ > -s tommie:/jumpstart/image \ > -c tommie:/jumpstart/config \ > -p tommie:/jumpstart/config \ > pino \ > sun4u
 * 1) cd /jumpstart/image/Solaris_10/Tools
 * 2) ./add_install_client \


 * 1) svcadm enable rarp


 * 1) inetconv

ok boot net - install
 * 1) init 0

Create a finish script

+-
 * 1) vi /jumpstart/config/sun4u_after
 * mkdir /a/server
 * mount -F nfs -o ro 10.0.0.1:/jumpstart/share /a/server
 * cp /a/server/crontab.root /a/var/spool/cron/crontabs/root
 * cp /a/server/hosts.header /a/hosts
 * HOSTNAME=`cat /etc/nodename`
 * regel=`grep $HOSTNAME /a/server/hosts.org`
 * echo "$regel loghost ." >> /a/hosts
 * grep -v $HOSTNAME /a/server/hosts.org >> /a/hosts
 * mv /a/hosts /a/etc/hosts
 * | umount /a/server
 * rmdir /a/server
 * touch /a/noautoshutdown
 * touch /a/etc/.NFS4inst_state.domain
 * } > /a/server.log 2> /a/server.errlog
 * rmdir /a/server
 * touch /a/noautoshutdown
 * touch /a/etc/.NFS4inst_state.domain
 * } > /a/server.log 2> /a/server.errlog
 * } > /a/server.log 2> /a/server.errlog

+-
 * 1) vi /jumpstart/share/hosts.header
 * # Internet host table
 * # Internet host table

+--
 * 1) vi /jumpstart/share/hosts.org
 * 10.0.0.1 tommie
 * 10.0.0.2 pino # crontab -l > /jumpstart/share/crontab.root

Update the rules file

+---
 * 1) vi rules
 * karch sun4u - sun4u_profile sun4u_after


 * 1) ./check