Updating OpenSolaris

August 15, 2008

Hello all,

in my last post I have wrote about Firefox 3 on OpenSolaris. Björn corrected me about it. Firefox3 is already  in snv_95 image.

Currently, OpenSolaris 2008.05 livecd has been with environment snv86. So, let’s learn how to update your OpenSolaris image.

  • Update package list
pkg refresh
  • Upgrade your environment: it will create a new image to preserve and secure your current image
pkg image-update
  • After some cups of coffee (a big and boring download :/), you will see this message:
A clone of opensolaris exists and has been updated and activated.
On next boot the Boot Environment opensolaris-1 will be mounted on '/'.
Reboot when ready to switch to this updated BE.
  • To see your environments, just do it:
beadm list
  • Now, let’s notice the grub about the changes:
pfexec mount -F zfs rpool/ROOT/opensolaris-1 /mnt
pfexec /mnt/boot/solaris/bin/update_grub -R /mnt/
  • Reboot and choice “Solaris 2008.11 snv_95 X86

:)