Update OpenSolaris 2008.5 and find you can’t boot

I’ve been quite busy recently (you know, getting married etc.) and discovered this week that Sun had finally updated OpenSolaris 2008.5 with a new set of updates.

Wow, cool! So I drop to a terminal and do:

pkg image-update

Great! 2GB of downloads later (I kid you not – they need to work on that) I hit reboot. Well, type reboot, there is no actual way to reboot from their Gnome setup.

Oh look, it no longer boots. So I start digging and discover this post on their ‘other’ forums. Yes, there are two sets of OpenSolaris forums (thanks Sun).

General jist:

  1. Boot from LiveCD and drop to a root terminal (su password is ‘opensolaris’)
  2. zfs import -f rpool
  3. mount -F zfs rpool/ROOT/opensolaris /mnt
  4. /mnt/boot/solaris/bin/update_grub -R /mnt
  5. reboot

Tada! You’ll boot again. Thanks Sun. Please please PLEASE start posting this stuff in places where people know to look… like your official OpenSolaris site!

Subscribe

Subscribe to our e-mail newsletter to receive updates.

2 Responses to Update OpenSolaris 2008.5 and find you can’t boot

  1. Dan Linder July 7, 2008 at 5:57 pm #

    Step #2 should be “zpool import -f rpool” I believe.

  2. Lee Packham July 7, 2008 at 8:56 pm #

    Thanks – updated the post.

Leave a Reply