Pygrub install Solaris (Nevada build 87) DomU at Xen 3.2 Ubuntu 8.04 Desktop&Server Dom0 (64-bit)
Install Ubuntu 8.04 Xen Desktop (amd64) as advised by Todd Deshane ([1]).
Notice, that performing same install at Ubuntu 8.04 Xen Server (amd64)([2]),
i didn't test "pygrub"and mentioned install has been done with xen manager what required mount loop ISO image of Solaris DVD and copy xen-kernel and boot_archive off of the disk to Dom0. Pygrub works fine on both Ubuntu 8.04 Xen 3.2 Server and Desktop in regards of Solaris PV guests installs.
To configure startup profile for Solaris Nevada build 87 at Ubuntu 8.04 Xen Desktop manage as follows:-
$ sudo su
# mount /dev/scd1 /media/cdrom0
# dd if=/dev/scd1 of=/usr/lib/xen-solaris/snv87.iso
Losetup ISO image:-
$ sudo su
# losetup -f /usr/lib/xen-solaris/snv87.iso
# losetup -a
/dev/loop0: [080b]:3737846 (/usr/lib/xen-solaris/snv87.iso)
Installation profile:-
name = 'SolarisPVM'
memory = '1024'
disk = [ 'phy:/dev/loop0,6:cdrom,r', 'phy:/dev/sdb15,0,w' ]
vif = [ 'bridge=eth0' ]
bootloader = '/usr/bin/pygrub'
kernel = '/boot/platform/i86xpv/kernel/amd64/unix'
ramdisk = '/boot/amd64/x86.miniroot'
extra = '/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'
Go through normal install and switch profile to runtime:-
name = 'SolarisPVM'
memory = '1024'
disk = [ 'phy:/dev/sdb15,0,w' ]
vif = [ 'bridge=eth0' ]
Set up Sun Xvnc at SNV87 DomU and connect with any user (different from
root) credentials from remote desktop to SNV87 DomU at Ubuntu 8.04 Xen Server Dom0.
# svccfg -s application/x11/x11-server \
add display1
# svccfg -s application/x11/x11-server:display1 \
addpg options application
# svccfg -s application/x11/x11-server:display1 \
addpropvalue options/server astring: "/usr/X11/bin/Xvnc"
# svccfg -s application/x11/x11-server:display1 \
addpropvalue options/server_args astring: '"SecurityTypes=None"'
Configure dtlogin to start it:-
# mkdir -p /etc/dt/config
# cp /usr/dt/config/Xservers /etc/dt/config/Xservers
# echo " :1 Local local_uid@none root /usr/X11/bin/Xserver :1" \
>> /etc/dt/config/Xservers
# pkill -HUP dtlogin