After upgrading a para-virtualized OpenSolaris 2008.05 instance with:

# pkg refresh --full
# pkg image-update
# mount -F zfs rpool/ROOT/opensolaris-2 /mnt
# /mnt/boot/solaris/bin/upgrade_grub -R /mnt
# reboot

I end up with a panicing instance:

# xm start -c os200805
v3.1.2-xvm chgset 'Mon Jun 11 14:56:50 2007 +0100 15634:1a366250feeb'
SunOS Release 5.11 Version snv_90 64-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
NOTICE: 

  ***************************************************  
  *  This device is not bootable!                   *  
  *  It is either offlined or detached or faulted.  *  
  *  Please try to boot from a different device.    *  
  ***************************************************  


NOTICE: 
spa_import_rootpool: error 22


panic[cpu0]/thread=fffffffffbc5aba0: cannot mount root path /ramdisk:a

fffffffffbc8c5d0 genunix:rootconf+122 ()
fffffffffbc8c620 genunix:vfs_mountroot+65 ()
fffffffffbc8c650 genunix:main+d8 ()
fffffffffbc8c660 unix:_locore_start+80 ()

skipping system dump - no dump device configured
rebooting...

I managed to recover and revert back to the pre image-update
state by booting off the ISO image and set the zpool bootfs
attribute back to its previous value:

# zpool import -f rpool
# zpool set bootfs=rpool/ROOT/opensolaris-1 rpool

Any ideas how to get passed this?

William Wanders.

Reply via email to