Skip to end of metadata
Go to start of metadata

To upgrade from OpenSolaris, you must be running build snv_134 (this includes snv_134, snv_134a and snv_134b). If you are on a previous release, you will need to upgrade to snv_134 prior to upgrading to OpenIndiana.

Upgrading from OpenSolaris 2009.06 (snv_111) to snv_134

If you are currently running OpenSolaris 2009.06 (snv_111) you can use the following commands to upgrade to build 134 (snv_134):

Please read the OpenSolaris release notes before proceeding!
This uses the OpenIndiana snapshot of the OpenSolaris snv_134 dev repository.

Once this process completes, you should reboot into the newly created snv_134 boot environment (BE) and proceed with the instructions below to upgrade to OpenIndiana.

Upgrading from OpenSolaris snv_134 to OpenIndiana

You can upgrade an existing (x86) OpenSolaris system to OpenIndiana.

From the command line:

This will add OpenIndiana as a new boot environment (BE) called "openindiana". You will still be able to use your previous OpenSolaris system until you remove the OpenSolaris BE or upgrade your ZFS pool to a newer version.

Once you have booted into the new boot environment, we would recommend you remove the opensolaris.org publisher by performing:

If your OpenSolaris b134 console was using a keyboard layout other than "qwerty" please be aware that upon booting into OpenIndiana for the first time, your keyboard layout may be reset to "qwerty".

Labels:
  1. Sep 15, 2011

    Anonymous

    Has anybody had any luck upgrading from Opensolaris snv_134b? I get the following errors...

    No matching version of package/pkg can be installed:
    pkg://openindiana.org/package/pkg@0.5.11,5.11-0.147:20100914T035208Z: This version is excluded by installed incorporation pkg://opensolaris.org/consolidation/ips/ips-incorporation@0.5.11,5.11-0.134.0.2:20100528T230337Z

    pkg://openindiana.org/package/pkg@0.5.11,5.11-0.147:20110720T213831Z: This version is excluded by installed incorporation pkg://opensolaris.org/consolidation/ips/ips-incorporation@0.5.11,5.11-0.134.0.2:20100528T230337Z

    pkg://openindiana.org/package/pkg@0.5.11,5.11-0.148:20101122T085607Z: This version is excluded by installed incorporation pkg://opensolaris.org/consolidation/ips/ips-incorporation@0.5.11,5.11-0.134.0.2:20100528T230337Z

    pkg://openindiana.org/package/pkg@0.5.11,5.11-0.148:20110720T213932Z: This version is excluded by installed incorporation pkg://opensolaris.org/consolidation/ips/ips-incorporation@0.5.11,5.11-0.134.0.2:20100528T230337Z

    pkg://openindiana.org/package/pkg@0.5.11,5.11-0.151.1:20110912T031338Z: This version is excluded by installed incorporation pkg://opensolaris.org/consolidation/ips/ips-incorporation@0.5.11,5.11-0.134.0.2:20100528T230337Z

    1. Sep 17, 2011

      Anonymous

      Check out Bug #1424: https://www.illumos.org/issues/1424
      and see if you're still stuck.

      Try and set the publisher to /dev-il:
      pfexec pkg set-publisher -P -O http://pkg.openindiana.org/dev-il openindiana.org

      Always create a new boot environment to backup (using beadm or "pkg image-update -v --be-name newBeName").

      If you manage to get it working, please post your solution there.

      -dan

      1. Sep 17, 2011

        Anonymous

        Basically, my guess is both of us are using OpenSolaris 134b to upgrade (instead of just 134). i'm also stuck at that last error ("this version is excluded by installed incorporation...").

        1. Sep 19, 2011

          Anonymous

          If you're using b134b is there any chance you still have a b134 (no b) or older BE lying around. If so, you might try reverting to that (using beadm activate) and then trying the upgrade from there. You can do that without damaging your b134b BE and if it works great! If not, you've not lost anything but time.

    2. Sep 19, 2011

      Anonymous

      I tried this past weekend. It was (as my kids would say) an "epic fail." When the system came back up, none of the network interfaces were plumbed, and I bailed out after struggling with it for a while.

      I may try again some day, but for now, build 134 seems good.

      1. Dec 27, 2011

        Anonymous

        i just had the same. the fix is relatively easy, once you know what the problem is...

        assuming you're back in svn_134 and have the non-working openindiana be "oi_151" on your system, use the following to get its network interface working:

        (if your BE is called differently, change the path names accordingly)

        the whole thing seems like a bug to me - this only happened on 1 out of 4 of my servers, which are all identically

    3. Sep 27, 2011

      Anonymous

      It worked for me when I added the "-f" option to "pkg image-update"; e.g.:

      $ pfexec pkg image-update -f -v --be-name openindiana

    4. Oct 13, 2011

      Anonymous

      Setting the publisher to "dev-il" didn't work, neither did using the "-f" option to "pkg image_update". What finally worked was upgrading from an old opensolaris-134 BE (NOT 134b) that I had. That upgrade went smoothly and the system has been running great for several weeks now.

      Thanks to everyone for your helpful suggestions! I'm looking forward to a long future with openindiana and illumos.

  2. Oct 11, 2011

    Anonymous

    "Grub loading stage2 ...."
    is the last thing I see after upgrading from OpenSolaris. The system seems to be dead now.

  3. Oct 16, 2011

    Anonymous

    I have made an attempt to upgrade from OpenSolaris as described here.

    I also had to add option "-f" to the "pkg image-update" to overcome numerous errors:
    "This version is excluded by installed incorporation"

    openindiana BE booted OK, although it was missing BE selector on the beginning as it used to be with opensolaris BE.

    My server has two NIC, both are manually configured, one DHCP and another one for static IP.
    NWAN service is disabled.
    After upgrading none of the NICs were up after system boot.
    All attempts to start them manually failed with errors "socket address family not supported by protocol family"
    This error is also reported in the boot logs.
    What would you recommend to resolve this issue?

  4. Feb 09, 2012

    Anonymous

    my original system was a vanilla opensolaris svn_111b. upgrading to svn_134 worked without problems, but then upgrading to openindiana failed.

    turns out i needed to remove the following packages before upgrading to openindiana:

    after that, image-update would run without problems

    1. Dec 27, 2011

      Anonymous

      This worked extremely well for me. I successfully upgraded to snv_134 from snv_133 via the instructions provided, and that worked fine.

      But when trying to upgrade to openindiana the image update failed

      I looked at trying to find what packages might be causing the issue via the instructions given here: http://wiki.openindiana.org/oi/Troubleshooting+image-update+failures but I was unable to puzzle out what the FAIL and OBSOLETE packages were in reference too. Then I notices the parent posting and tried it, and the update is currently installing.

  5. Jan 04, 2012

    Anonymous

    Nice work thank you.

    Migration to OpenIndiana from 134b didn't work (as expected from previous comments).

    So, rebooted to 111b BE, then followed upgrade to 134 using instructions here. Then upgraded 134 to OpenIndiana.

    (smile)

  6. Feb 20, 2012

    EDITED
    My upgrade from OpenSolaris got botched, and after reboot into the new BE it was still snv_134.

    However, giving the "pkg uninstall" commands listed in an earlier post here made it possible to recover with a second pkg image-update

    These uninstall commands should be added to the upgrade procedure at the top, because the failure mode when you don't give them is very confusing...