David Hollenberg wrote:
> I did a fresh install of b98 and everything went fine.  I then mirrored my 
> root pool.
> When build 99 came out, I tried to "pkg image-update" to it.  All went well 
> until the very end,
> when it failed to activate the new boot environment.  I set BE_PRINT_ERR to 
> get more info:
> 
> [EMAIL PROTECTED]:~/Desktop# BE_PRINT_ERR=true; export BE_PRINT_ERR
> [EMAIL PROTECTED]:~/Desktop# beadm activate b99
> be_do_installgrub: installgrub failed for device c4t1d0.
> Unable to activate b99. Unknown external error.
> 
> I then ran truss to get the install_grub command and ran it manually as root:
> 
> [EMAIL PROTECTED]:~/Desktop# /sbin/installgrub  
> /tmp/.be.8ZaqMb/boot/grub/stage1 /tmp/.be.8ZaqMb/boot/grub/stage2 
> /dev/rdsk/c4t1d0
> raw device must be a root slice (not s2)
> 
> My root pool looks like:
> 
> [EMAIL PROTECTED]:~/Desktop# zpool status
>   pool: rpool
>  state: ONLINE
>  scrub: none requested
> config:
> 
>       NAME          STATE     READ WRITE CKSUM
>       rpool         ONLINE       0     0     0
>         mirror      ONLINE       0     0     0
>           c3t0d0s0  ONLINE       0     0     0
>           c4t1d0    ONLINE       0     0     0
> 
> Can someone tell me what I have done wrong and how to correct it (assuming 
> this is my
> problem and not a bug)?

You mirrored using the whole disk, not a slice.

Break c4t1d0 out of the mirror, use format to put a sliced label on it, 
then re-add it.

Dave

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to