Solaris 10 wanboot installation or Solaris 10 installation over web / HTTP

In this articles I will provide the Solaris 10 Installation mode over HTTP named as WanBoot method for SPARC Systems.

This method is helpful for that systems where is not possible to use Install Server in the same Ethernet Network segment as client location and also not possible to place Boot Server too.

For Example: you have one or several new fresh servers which is located in DMZ Zone or isolated by Firewall and by Enterprise rules there not acceptable to open NFS,TFTP,SSH,RSH,Telnet,FTP services between Install Server and possible new systems, but Administrators agree to open one TCP port – HTTP or HTTPS. Here I will provide only HTTP installation way.

Another possible situation where you can use this method can be when new fresh system located on customer site with Internet access and you just have remote access to this system into ALOM over VPN or direct access though Internet. Therefore you can use your already prepared Installation WanBoot server for this systems.

In our description we will use IP for Install server and IP for client.


First of first you need Solaris Sparc 10 DVD install image. If you not have it – then you can download one for free after registration from this address:

Download Solaris 10 10/09 Operating System DVD Full for Solaris 10 OS, SPARC, Multi-language

After download this image – you can burn it to DVD disk or direct mount in Solaris as lofi device:

1)place Solaris 10 DVD ISO image in /var/tmp "/var/tmp/sol-10-u8-ga-sparc-dvd.iso"
2)mkdir /var/tmp/DVD
3)mount -F hsfs `lofiadm -a /var/tmp/sol-10-u8-ga-sparc-dvd.iso` /var/tmp/DVD


After it we will begin preparing WanBoot Install Server:


1) creating WanBoot Install server root folder

mkdir /var/tmp/WanBoot


2) copy wanboot util from Solaris 10 Install DVD image

cp /var/tmp/DVD/Solaris_10/Tools/Boot/platform/sun4u/wanboot /var/tmp/WanBoot/wanboot_sol10_sparc


3)copy Solaris 10 install miniroot system from Install DVD

cp /var/tmp/DVD/boot/sparc.miniroot /var/tmp/WanBoot/miniroot_sol10_sparc


4) creating CGI-BIN folder for Web Server and placing there WanBoot CGI utils. (In our method we will use integrated in Solaris 10 Apache v2 Web Server"

mkdir /var/tmp/WanBoot/cgi-bin
cp /usr/lib/inet/wanboot/wanboot-cgi /var/tmp/WanBoot/cgi-bin/
cp /usr/lib/inet/wanboot/bootlog-cgi /var/tmp/WanBoot/cgi-bin/


5) Preparing and placing flash archive

mkdir -p /var/tmp/WanBoot/flash/archive/
flarcreate -n Solaris10 /var/tmp/WanBoot/flash/archive/Solaris10.flar


6) Customization of Apache web server:

in file /etc/apache2/httpd.conf change directive DocumentRoot to place of WanBoot folder:

DocumentRoot "/var/tmp/WANBOOT"


and add it description:


<Directory "/var/tmp/WANBOOT">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all


Change directive ScriptAlias /cgi-bin/ to

ScriptAlias /cgi-bin/ "/CONTAINERS/jumpstart/WANBOOT/cgi-bin/"


and add it description:


<Directory "/CONTAINERS/jumpstart/WANBOOT/cgi-bin"> 
AllowOverride None
Options None
Order allow,deny
Allow from all


restart apache v2 by command:

svcadm restart svc:/network/http:apache2


7) create WanBoot config files:

mkdir /etc/netboot

create wanboot.conf file:

cat >>/etc/netboot/wanboot.conf

press CTRL+c


create system.conf file:

cat >/etc/netboot/system.conf

press CTRL+c


8) JumpStart configuration procedure:

adding install client IP in to the /etc/hosts file:

echo "  test">>/etc/hosts


copy JumpStart check util from Install DVD:

cp /var/tmp/DVD/Solaris_10/Misc/jumpstart_sample/check /var/tmp/WanBoot/flash/archive


creating JumStart rules file in /var/tmp/WanBoot/flash/archive folder:

echo "hostname    test  -    test_archive  -">/var/tmp/WanBoot/flash/archive/rules


creating JumStart custom profile test_archive for systems with two internal SCSI HDD c1t0d0 and c1t1d0 with RAID1 SVM Volume:

cat >>/var/tmp/WanBoot/flash/archive/test_archive
install_type flash_install
partitioning explicit
metadb c1t0d0s7 size 8192 count 3
metadb c1t1d0s7 size 8192 count 3
filesys mirror:d10 c1t0d0s0 c1t1d0s0 free / logging
filesys mirror:d20 c1t0d0s1 c1t1d0s1 8192 swap
filesys c1t0d0s2 all overlap
filesys c1t1d0s2 all overlap

press CTRL+c

creating JupmStart Custom install system ready profile:

here root password is "root" in encryption form

cat >>/var/tmp/WanBoot/flash/archive/sysidcfg
network_interface=primary {hostname=test default_route= ip_address= netmask= protocol_ipv6=no}

press CTRL+c


Now in Client side is necessary to check WANBOOT OpenBOOT support.

from OpenBoot prompt "ok" run command printenv and check directive network-boot-arguments.

If this directive is present then we can boot direct from OpenBoot, it it doesnt present first try to update yours OpenBoot to the last one.

From OpenBoot "ok" promt run next command:

setenv network-boot-arguments host-ip=,router-ip=,subnet-mask=,hostname=test,file=


Now we can start installation: run bellow command from OpenBoop "ok" promt:

boot net - install


The installation log process you can monitor from WanBoot Install server in /tmp folder. In our Example the log file will be /tmp/bootlog.test.