How to create SmartOS Windows VM



Jules is the owner and author of ISPIRE.ME. He's a Linux System Engineer, Tech fanatic and an Open Source fan.

You may also like...

18 Responses

  1. Xin Xin says:

    Thanks for your sharing.
    Great help for me.

  2. mark mark says:

    I guess you start this process from / rather than /root? Root home quickly fills and write fails… I was just concerned there is no backup instructions. This is a great how-to. What should you do before trying something potentially dangerous? (and need to recover?)


    • Jules Jules says:

      I prefer to work in /opt. And well sure you have to check for sufficient diskspace before you install anything on mount based operating systems.
      But that applies to every *nix and linux distributions.

  3. mark mark says:

    I was having difficulty getting the Windows to recognize my virtual hard disk. I wanted to share with you what I found as a workable solution… I located a pre-built iso image that contains the drivers required at this link

    I substituted this image for the smartos-vmtools.iso we had built in the previous steps. After navigating down through the folders and selecting the virtio driver, the Windows install was able to complete.

    • Jules Jules says:

      Hi Mark,

      good to hear that this works for you. im wondering that your virtual disk was not recognized. I tried this solution several times already. the fedoraproject iso contains almost the same binary drivers than smartos uses for it’s smartos-vmtools + some useful custom sysprep scripts.
      will you provide me your windows version you are using?

  4. Steve Steve says:

    RealVNC did not work for me. TightVNC works like a charm! Just a heads up for peeps using a VNC client from Windows.

  5. palmertime palmertime says:

    You can also just download the vmtools ISO from here:

  6. Dave Dave says:

    Any thoughts on why SmartOS can’t find the vdisk after creating a new VM based on this image?

  7. Justin Justin says:

    There is an error in the instructions for making the template. As mentioned on when creating a KVM image you should put -disk0 in the zfs snapshot command otherwise it does not backup the correct volume.

  8. Philipp Philipp says:

    There is a typo
    > zfs send zones/YourInstanceUUID-disk0@image | gzip > win2008_re2.zvol.gz
    should be
    > zfs send zones/YourInstanceUUID-disk0@image | gzip > win2008_re2.zvol.gz

  9. Miguel Miguel says:

    Anyone tried Windows 10?

    For me its stuck at installl (windows log)

Leave a Reply

Your email address will not be published. Required fields are marked *