[rescue] Question on boot loader on ZFS rpool mirror

Jerry Kemp sun.mail.list47 at oryx.cc
Tue Sep 18 20:45:36 CDT 2012

On x86/x86, you probably need to run the "installgrub" command assuming
the necessary bits were not installed on installation.

This is a sample usage.  Obviously you need to be root.

# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c4t1d0s0

The Sparc equivalent is "installboot".  The syntax is a little different
for installboot

This is a link to an older pdf version of the document.  I am certain
that Oracle has a newer one, but MOS is a killer for me to find anything on.


This pdf and the man page should have everything you need to move forward.

Hope this helps,



On the same topic, if there are any current/past developers out there,
where either of the above commands, i.e. installgrub or installboot,
used on the PPC, MIPS, ARM or mainframe Solaris ports?  Or was something
completely different used?

On 09/17/12 11:06 PM, John Lengeling wrote:
> I loaded Solaris 10 on a server and performed the initial install to a ZFS
> root pool.   All works well until the first drive in the ZFS root mirror goes
> bad and the system won't boot and the BIOS doesn't see the second drive in the
> ZFS rpool mirror as a bootable drive.
> Is this because the boot loader was never installed on the second drive in the
> ZFS root pool?   I would have thought that the Solaris 10 initial install
> would have installed the boot loader on both drives at the initial Solaris 10
> install time.
> The first drive (one that was marked as failed) just had some transient
> communications problems and was rebuilt when I booted to Solaris failsafe
> mode.  Not that I have a bootable and 100% functioning system now.   I want to
> understand what happened as I think I have several other servers where there
> is no boot loader on the second HD in the ZFS rpool.
> How to I install the boot loader on this second drive in the ZFS rpool?   Also
> is this a safe operation to perform if the server is running multiuser?   I
> just want to make sure I don't mess up the rpool as I don't have a lot of
> Solaris 10 and ZFS boot experience.
> Thanks,
> johnl
> _______________________________________________
> rescue list - http://www.sunhelp.org/mailman/listinfo/rescue

More information about the rescue mailing list