Just thought I'd give the people on the list who maybe interested a
pointer as to how I managed to install an opensolaris domU (latest
drop) under a Linux dom0 (Ubuntu Feisty to be exact)...
The instructions in the community documentation here doesn't include a
kernel or a ramdisk specification, so my Linux dom0's tools didn't
care for it. To get around this, I loop mounted the DVD image, and
took:
cp /media/cdrom/boot/platform/i86xpv/kernel/unix
/etc/xen/kernel/OpenSolaris-07-07.kernel
cp /media/cdrom/boot/x86.miniroot /etc/xen/kernel/OpenSolaris-07-07.miniroot
Then used the following xen python config (as /etc/xen/configs/opensol.cfg)
name = "opensol"
memory = "300"
kernel = '/etc/xen/kernel/OpenSol-07-07.kernel'
ramdisk = "/etc/xen/kernel/OpenSol-07-07.miniroot"
extra = '/platform/i86xpv/kernel/unix - nowin -B install_media=cdrom'
on_shutdown = "destroy"
on_reboot = "destroy"
on_crash = "destroy"
disk = ['file:/opt/iso/OS/OpenSolaris/66-0624-nd.iso,6:cdrom,r',
'phy:optData/xen-opensol-c0t0d0,0,w']
vif = ['bridge=xenbr0']
This seems to have worked (so far, it's busily installing packages
right now). I expect to have the same kind of issues with the
boot_archive not getting propagated back to the dom0, causing it not
to be read as the ramdisk, but I'll manage to get around that.
It would be beneficial if the kernels (both for x86 and amd64) and the
initial ramdisk image could be extracted from the ISO and put onto the
Sun Downloads page with the ISO image chunks. This would definitely
help any who choose to attempt to run an OpenSolaris domU under a
Linux (or maybe even NetBSD) dom0.
Thanks for the good work, and for the useful support on IRC.
Note: I'm not yet sure if my networking will work, or if I need to
twiddle that. That vif setting works for all my Linux domUs so I used
it as a starting place. I think it worked with the b44 drop too.