Go to main content

Booting and Shutting Down Oracle® Solaris 11.4 Systems

Exit Print View

Updated: August 2018
 
 

How to Install the Boot Loader

If the boot loader becomes corrupted and the system can no longer boot, you would need to reinstall the boot loader by following these steps.

Before You Begin

Ensure that your role has the appropriate rights profiles to perform this procedure. See Using Rights Profiles to Administer Boot Features.

  1. Boot the system from the Oracle Solaris media.
  2. Import the root pool.
    $ zpool import -f pool-name
  3. Install the boot loader.
    $ bootadm install-bootloader [-f] -P pool-name
    –f

    Forces the installation of the boot loader and bypasses any version checks.


    Note -  Do not use the –f option unless you are sure that you want to overwrite the boot loader with the version that is on the media.
    –P

    Specifies the boot configuration for the pool to be used.

  4. Export the root pool.
    $ zpool export pool-name
  5. Reboot the system.