Opensolaris Operating System on QEMU
Opensolaris works well on Qemu but there is a trick for the network.
Installation instructions
Download the latest Installation CD http://www.opensolaris.org. You need to register (free) before to download. This author used sol-nv-b82-x86-dvd.iso
Uncompress the ISO and concatenate the files if needed.
$ unzip sol-nv-b82-x86-dvd_iso-a.zip $ unzip sol-nv-b82-x86-dvd_iso-b.zip $ cat sol-nv-b82-x86-dvd_iso-a sol-nv-b82-x86-dvd_iso-b > sol-nv-b82-x86-dvd.iso
Create an empty disk image (15G is probably overkill, but the install won't proceed without sufficient space - more than 5G?):
$ qemu-img create -f qcow2 sol-nv-b82-x86.img 15G
Boot the installation CD (not sure if the -m option is needed or not):
$ qemu -cdrom sol-nv-b82-x86-dvd.iso -m 256 -boot d sol-nv-b82-x86.img
Proceed with the standard install, being aware that it will work very slowly. This author waited several minutes for the initial screen and then let the non-interactive part of the install proceed for the day while he was at work.
Next time you boot, you need to add -net nic,model=rtl8193 -net user on the command line :
$ qemu -m 256 -net nic,model=rtl8193 -net user sol-nv-b82-x86.img
The network interface in Opensolaris is then rtls0 (touch /etc/dhcp.rtls0 to enable the dhcp client in Opensolaris)
See http://qemu-buch.de/d/Gast-Systeme/_x86-Architektur/_BSD-Unix-Systeme for further information.
Hosted by http://qemu-buch.de