On Wed, Oct 15, 2008 at 04:46:10PM -0600, Sanjay Nadkarni wrote: > [EMAIL PROTECTED] wrote: > >> I just performed an image-update from b98 to b99. On reboot, the boot > >> process stops at a grub prompt, suggesting that my grub configuration > >> got wiped. How can I boot into my system to restore my grub > >> configuration (I'm not quite sure how I'd specify the root partition > >> on a system with ZFS)? > >> > > > > Before doing the image-update, did you happen to upgrade your ZFS pool > > version? There is a known issue here when upgrade your pool version > > and ZFS root. > > > > To recover, try entering the following into your GRUB prompt > > > > bootfs rpool/ROOT/opensolaris-<N> > > kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS > > module$ /platform/i86pc/$ISADIR/boot_archive > > > > where <N> is the previous boot environment's boot number (if you don't > > remember this, you may be able to infer a value from how many > > successful image-updates you've done. We know this is terrible and we > > badly need a better naming scheme here and of course, failure to boot > > after an update is unacceptable). > > > Alternatively, you could boot off your liveCD or liveUSB stick. Then in > a terminal window, > type: > pfexec zpool import -f rpool.
This will fail since the ZFS pool version on the disk (or disks) will have been upgraded to a version which OpenSolaris 2008.05 cannot access. I ran into this issue as well and had to burn a DVD with a recent enough version of Solaris Nevada to be able to access the disk. Can the "How to Update OpenSolaris" page here: http://opensolaris.org/os/project/indiana/resources/rn3/image-update/ be updated with this caveat that upgrading one's ZFS pool can result in an unbootable system along with the above recovery steps? I wasted a lot of time attempting to recover the system since it was never apparent that the ZFS pool upgrade was the root cause. The cryptic error message from GRUB when providing the bootfs/kernel$/module$ commands: Error 17: cannot mount selected partition didn't help. I found a bug which corresponds to this scenario: 6750061 zpool upgrade (11 to 12) broke GRUB (grub can't handle zpool version 12) http://bugs.opensolaris.org/view_bug.do?bug_id=6750061 which is currently unresolved. > -Sanjay -Brent _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
