OpenSolaris 2008.11 as a DomU running on a Linux Dom0

An OpenSolaris HVM Guest

I'm not going to write yet another tutorial on how to setup OpenSolaris as a DomU running atop a Linux Dom0. What you will find here are my cfg files. Dom0

  • Xen 3.3
  • Linux xen 2.6.18-xen-r12 x86_64 Dual-Core AMD

DomU

  • SunOS opensolaris-01 5.11 snv_101b i86pc i386 i86pc Solaris

cfg file used during the install

#  -*- mode: python; -*-
import os, re
arch = os.uname()[4]
if re.search('64', arch):
      arch_libdir = 'lib64'
else:
      arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

memory = "512"
shadow = "2"
name = "opensolaris-01"
vif = ['type=ioemu, bridge=xenbr0']
dhcp = "dhcp"
vcpu="2"
disk = [ 'phy:xenvg/open-sol-01,hda,w','file:/xen/iso/osol-0811.iso,hdc:cdrom,r' ]

boot='d'

usb=0  # No USB support

sdl = 0
vnc = 1
vncpasswd='password'
vnclisten='192.168.1.10'   # Replace this with the IP address of Dom0
serial='pty'
stdvga=0

on_poweroff = \'destroy\'
on_reboot = \'destroy\'
on_crash = \'destroy\'

cfg file used for normal running

#  -*- mode: python; -*-
import os, re
arch = os.uname()[4]
if re.search('64', arch):
      arch_libdir = 'lib64'
else:
      arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

memory = "512"
shadow = "8"
name = "opensolaris-01"
vif = ['type=ioemu, bridge=xenbr0']
dhcp = "dhcp"
vcpu="2"
disk = [ 'phy:xenvg/open-sol-01,hda,w','file:/xen/iso/osol-0811.iso,hdc:cdrom,r' ]
boot='c'

usb=0 # No USB support

sdl = 0
vnc = 1
vncpasswd='password'
vnclisten='192.168.1.10'
serial='pty'
stdvga=0

on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'preserve'

tags: Open Solaris

Sun 04 Jan 2009, 21:13

0 comments

Back