System Administration Guide: Basic Administration

ProcedureHow to Manually Update the Boot Archive

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. To update the current boot archive, type:


    # bootadm update-archive
    
    bootadm

    Manages the boot archives on a system.

    update-archive

    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
      
      -R altroot

      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.