Opensolaris Operating System on QEMU

Opensolaris works well on Qemu but there is a trick for the network.

Installation instructions

  1. 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

  2. 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
  1. 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
  1. 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

OpensolarisOnQemu (last edited 2010-07-31 10:05:05 by Rowa)