Wednesday, January 9, 2013

Solaris 11 as guest on KVM

To install Solaris 11 as a guest on KVM the following steps are needed.

I will use Ubuntu 12.10 (Quantal) with KVM (qemu-kvm package) and Virtal Machine Manager (virt-manager package). Ubuntu uses a 3.5 Linux kernel.

I will use the sol-11_1-text-x86.iso to install Solaris.

Create a new VM with:
OS Type: Solaris
Version: OpenSolaris
You will have to click "Show all OS options" before Solaris is available in the list. The list doesn't contain Solaris 11 yet, that's why I chose OpenSolaris.

After installing you will need to install slim_install to get a graphical environment:
pfexec pkg install slim_install
pfexec svcadm enable gdm
pfexec init 5

Now you need to remove the Tablet device which is used to keep the pointer of the host and the guest in sync, otherwise your mouse won't work.

Now you should be able to power-on your machine and use GNOME.

Have fun with SMF, ZFS and all other Solaris features!




4 comments:

  1. Just tried to install Solaris 11_1 on Debian Wheezy under qemu/KVM, it just kept reboot looping until i switched the hard drive to IDE and not VirtIO.

    https://forums.oracle.com/forums/thread.jspa?messageID=10037222

    ReplyDelete
  2. Hi,

    I can't believe i found someone installing the same, i've been looking and reading a lot.
    I'm doing a school job, and had to install Solaris 11 on KVM.

    I'm having problems with the mouse, and i'm not really pro with this.
    I don't get this >

    "After installing you will need to install slim_install to get a graphical environment:
    pfexec pkg install slim_install
    pfexec svcadm enable gdm
    pfexec init 5

    Now you need to remove the Tablet device which is used to keep the pointer of the host and the guest in sync, otherwise your mouse won't work."

    Can you walk me through it, plz?

    ReplyDelete
  3. hi;
    can you post the all process from the first step ?
    i have host with ubuntu 16.04 beta and with the latest qemu and i would like to install solaris 11.3 as guest ...
    thanks

    ReplyDelete
    Replies
    1. Sorry, but I'm currently not using Solaris.

      Delete