Running SXCE zone on Nexenta

This tutorial will teach you how to easily setup the OpenSolaris Zone running a copy of recent Solaris Express Community Edition on your Nexenta Operating System. You will need to do a few manual tricks, but in the end it should just work.

Step 1: Creating fully populated zone on your SXCE box

root@sxce# zonecfg -z sxce68 '
create -b; set zonepath=/zones/sxce68; commit'
root@sxce# zoneadm -z sxce68 install
root@sxce# zoneadm -z sxce68 detach

Step 2: Transfering zone to your Nexenta box

Use whatever mechanism is comfortable for you. I have chosen to create my zone on ZFS pool created on USB flash disk that I can just zpool export and zpool import later.

Step 3: Fooling zonecfg and booting

root@nexenta# zonecfg -z sxce68 '
create -b; set zonepath=/zones/sxce68; commit'
# instead of using 'zonecfg attach' we just
# manually change /etc/zones/index
# to indicate that sxce68 is installed
root@nexenta# vi /etc/zones/index
root@nexenta# zoneadm -z sxce68 boot

Networking, services, etc. are left to the reader as a homework.

July 13, 2007 EN, Nexenta, OpenSolaris

Sorry, the comment form is closed at this time.

Categories

Recent Posts