Friday, March 20, 2009


Pygrub & install OpenSolaris 2008.11 at Xen Unstable Dom0 with 2.6.29-rc7 pvops enabled kernel


The most recent changes to Xen Unstable now allow to load Solaris Nevada and opensolaris
PV DomUs with ZFS imagevia pygrub. Actually, Xen Unstable Dom0 with Suse's 2.6.27 xen-ified kernel or standard 2.6.18 kernel will behave the same way.
Installation profile :-

# cat os0811.py
name = 'OS0811'
memory = '1024'
disk = [ 'phy:/dev/loop0,6:cdrom,r', 'phy:/dev/sdb7,0,w' ]
vif = [ 'bridge=eth0' ]
bootloader = '/usr/bin/pygrub'
kernel = '/platform/i86xpv/kernel/amd64/unix'
ramdisk = '/boot/x86.microroot'
extra = '/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'



Run :-
# xm create -c os0811.py
and perform straightforward install





Runtime profile:-

# cat os0811.pyrun
name = 'OS0811'
memory = '1024'
bootloader = '/usr/bin/pygrub'
disk = ['phy:/dev/sdb7,0,w']
vif = [ 'bridge=eth0' ]



Load DomU:-
# xm create -c os0811.py





Bring up vncserver and connect to DomU:-