Configuring and Installing Solaris 8 and Solaris 9 ( Containers / Zones )



The following procedure is for Solaris 8 containers only. Follow the same steps to install Solaris 9

Step 1
  • Install Solaris 10 5/08

       # cat /etc/release
                           Solaris 10 5/08 s10s_u5wos_10 SPARC
               Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                            Use is subject to license terms.
                                 Assembled 24 March 2008
  • Install solaris 8 container packages

      # pkgadd -d SUNWs8brandr
      # pkgadd -d SUNWs8brandu
      # pkgadd -d SUNWs8p2v
Step 2
  • Create zone for Solaris8

In this example zone name is “zone-s8” and “” is used
as the IP address

 # mkdir /export/home/zone-s8
 # chmod go-rx /export/home/zone-s8
 # zonecfg -z s8-zone
	s8-zone: No such zone configured
	Use 'create' to begin configuring a new zone.
	zonecfg:s8-zone> create -t SUNWsolaris8
	zonecfg:s8-zone> set zonepath=/export/home/zone-s8
	zonecfg:s8-zone> set autoboot=true
	zonecfg:s8-zone> add net
	zonecfg:s8-zone:net> set address=
	zonecfg:s8-zone:net> set physical=ipge0
	zonecfg:s8-zone:net> end
        zonecfg:s8-zone> verify
      	zonecfg:s8-zone> commit
	zonecfg:s8-zone> exit
  • Install S8 image in this zone

NOTE: This step uses the sample Solaris 8 image(solaris8-image.flar) which is included in
Solaris 8 Container Software.If you want to migrate your existing S8 system into the
container,then you must create an archive of your S8 system. Refer here

 # zoneadm -z zone-s8 install -u -a solaris8-image.flar
      Log File: /var/tmp/zone-s8.install.1888.log
            Source: /workspace/vs145730/etude/s8containers_pkg/solaris8-image.flar
     Installing: This may take several minutes...
   Postprocessing: This may take several minutes...
  Log File: /export/home/zone-s8/root/var/log/zone-s8.install.1888.log
  • Boot the zone

     # zoneadm -z zone-s8 boot
  • Check if zone is running

     # zoneadm list -cv
      ID NAME          STATUS     PATH                       BRAND    IP
       0 global        running    /                          native   shared
      15 zone-s8       running    /export/home/zone-s8       solaris8 shared

In another window; login to the console for initial zone configuration

 # zlogin -C zone-s8

Follow interactive menu for zone configuration. After configuration is complete, the zone will
automatically reboot

  • Login to the zone

     # zlogin zone-s8
     [Connected to zone 'zone-s8' pts/7]
     Last login: Wed Jun  4 13:02:31 on pts/1
     Sun Microsystems Inc.   SunOS 5.8       Generic Patch   February 2004
     # uname -a
     SunOS zone-s8 5.8 Generic_Virtual sun4v sparc SUNW,Sun-Fire-T200
     # cat /etc/release
                           Solaris 8 2/04 s28s_hw4wos_05a SPARC
               Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
                                Assembled 08 January 2004

Leave a Comment

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top