Lets try first if latest SchilliX can run on native zone.

If BrandZ kernel is compatible and what modifications we
are need to run FS based on SchilliX Live CD in zone.

1. Getting SchilliX

mkdir /BrandZ

Downloading SchilliX-0.4.1.iso.bz2

bzip2 -d SchilliX-0.4.1.iso.bz2

mkdir /BrandZ/SchilliX

mount -F hsfs `lofiadm -a /BrandZ/SchilliX-0.4.1.iso \
/BrandZ/SchilliX

2. Creating native Solaris zene
(Whole Root zone for to have where to try run SchilliX)

zonecfg -z nativezone
nativezone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:nativezone> create -b
zonecfg:nativezone> set zonepath=/export/nativezone
zonecfg:nativezone> add net
zonecfg:nativezone:net> set address=11.22.22.44/24
zonecfg:nativezone:net> set physical=e1000g0
zonecfg:nativezone:net> end
zonecfg:nativezone> commit
zonecfg:nativezone>  exit

3. Installing native Solaris zone
zoneadm -z nativezone install
Preparing to install zone <nativezone>.
Creating list of files to copy from the global zone.
Copying <131224> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <977> packages on the zone.
Initialized <977> packages on zone.
Zone <nativezone> is initialized.
Installation of these packages generated errors: 
  <SUNWimar SUNWmpsvplr>
Installation of these packages generated warnings:     
  <SUNWgnome-a11y-libs-share>
The file
</export/nativezone/root/var/sadm/system/logs/install_log>
contains a log of the zone installation.

4. Testing nativezone with Original Solaris

zoneadm -z nativezone boot

zlogin nativezone
Looks OK

zoneadm -z nativezone halt

5. Creating SchilliX root based on CD-ROM /

mkdir /export/SchilliX/
mkdir /export/SchilliX/root

copy /BrandZ/SchilliX/* to /export/SchilliX/root

6. Customizing SchilliX local image

Commeting out ramdisk / in vfstab

Edit /export/nativezone/root/etc/vfstab
#/devices/ramdisk:a - / ufs   1  no  rw,nologging

7. Putting SchilliX in place instead of native zone
copy /export/nativezone/dev to /export/SchilliX/root

mv /export/nativezone /export/nativezone.org

mv /export/SchilliX/ /export/nativezone

8. Booting native zone with SchilliX content

zoneadm -z nativezone boot

zlogin nativezone
[Connected to zone 'nativezone' pts/2]
Sun Microsystems Inc.  SunOS 5.11  schily29  Dec. 23, 2005

Checking network OK

9. Notes 
This test proved then SchilliX can be used as test distributon
for developing of dedicated "open brand" for running
SchilliX,Benelix, Nexenta, Polaris or other  projects based
direclty on (Open)Solaris kernel.

10. Warning: This is just a test and can be full of pitfalls
I will recomned to move zone back to native Solaris each time you
will want to use a pkg* or other zone tuned tools in Global Zone

Nice day
Rudolf



Reply via email to