Updates the current boot archive, if required. Applies to both SPARC and x86 based systems.

To update the boot archive on an alternate root, type:

# bootadm update-archive -R /a

-Raltroot

Specifies an alternate root path to apply to the update-archive subcommand.

Note - The root (/) file system of any non-global zone must not be referenced with the -R option. Doing so might damage the global zone's file system, compromise the security of the global zone, or damage the non-global zone's file system. See the zones(5) man page.

Reboot the system.

# reboot

How to Manually Update the Boot Archive on a Solaris Volume Manager RAID-1 (Mirrored) Root Partition

The following procedure describes how to mount a mirrored metadevice during a failsafe
boot. In this procedure, the root (/) file system that is used is
/dev/dsk/c0t0d0s0.

Boot the failsafe archive.

SPARC platform: From the ok prompt, type the following command:

ok boot -F failsafe

If the system is already running, open a terminal window, become superuser, and
type the following command:

To list the location of the active GRUB menu and current GRUB menu
entries, type:

# bootadm list-menu

list-menu

Lists the location of the active GRUB menu, as well as the current GRUB menu entries. Information about the autoboot-timeout, the default entry number, and the title of each entry is included in this listing. Applies to x86 based systems only.

Example 13-1 Listing the Location of the Active GRUB Menu and Current GRUB Menu Entries