(not sure if this has already been answered)

> I have a similar situation and would love some concise suggestions:
> 
> Had a working version of 2008.05 running svn_93 with the updated grub. I did 
> a pkg-update to svn_95 and ran the zfs update when it was suggested. System 
> ran fine until I did a a reboot, then no boot, only grub command line shows 
> up.

IMHO, after a ZFS upgrade an easy way to fix this is:

touch /etc/system # make bootadm re-create archive
bootadm update-archive
/boot/solaris/bin/update_grub

If you're already lost after an upgrade (commands from memory, no syntax 
guarantee)

* Boot from a current snv CD (needs to support the zpool version you have
   upgraded to)

   ISOs available at http://www.genunix.org/

* Import your rpool

   mkdir /tmp/rpool
   zpool import -R /tmp/rpool rpool

   - if this fails, get the pool ID with zpool import, then use

     zpool import -f -R /tmp/rpool <ID>

* Mount your root-fs

   mount -F zfs rpool/opensolaris-X /mnt

(now same as above, but with mounted on /mnt)

* update boot-archive

   touch /mnt/etc/system
   bootadm update-archive -R /mnt

* update grub

   /mnt/boot/solaris/bin/update_grub

* umount, export

   umount /mnt
   zpool export rpool

At least this has worked for me.

Would it be a good idea to put this into indiana release notes?

Nils
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to