System Administration Guide: Basic Administration

Procedurex86: How to Modify Boot Behavior by Using the eeprom Command

You can display or set boot parameters by using the eeprom command. These parameters are found in the /boot/solaris/bootenv.rc file. Changes that are made by using the eeprom command persist over a system reboot. You can override eeprom settings by editing the GRUB menu at boot time to specify alternative boot behavior.

See x86: How to Modify Boot Behavior by Editing the GRUB Menu at Boot Time. For more information about changes to the eeprom command in this release, see the eeprom(1M) man page.

  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 change the specified parameter, type the eeprom command with the appropriate arguments .

    # eeprom parameter=new-value
  3. Verify that the new parameter has been set.

    # eeprom parameter

    The output should display the new eeprom value for the specified parameter.

Example 11–3 x86: Setting boot-file Parameters by Using the eeprom Command

This example shows how to manually specify that the system boot a 64-bit kernel. Note that the system must support 64-bit computing.

# eeprom boot-file=kernel/amd64/unix

This example shows how to manually boot a 32-bit kernel on a 64-bit capable system.

# eeprom boot-file=kernel/unix

This example shows how to restore the default auto detected boot behavior on a system.

# eeprom boot-file=""