Go to main content

Booting and Shutting Down Oracle® Solaris 11.3 Systems

Exit Print View

Updated: October 2017

os-root-device Variable

The os-root-device NVRAM variable defines devices and root file systems for root pools. To view this variable use the printenv command at the OpenBoot prompt or the eeprom command at a shell prompt. This variable is automatically maintained and normally should not need manual intervention. You can use the following keywords to define root pools stored on a firmware-inaccessible storage device:

  • osroot-path

  • osroot-type

  • osroot-iscsi-initiator-id

  • osroot-iscsi-target-ip

  • osroot-iscsi-port

  • osroot-iscsi-partition

  • osroot-iscsi-lun

  • osroot-iscsi-target-name

  • osroot-subnet-mask

  • osroot-host-ip

Example 46  Showing os-root-device Variable Keyword Data

This example shows data associated with the os-root-device ariable. The output is displayed with one keyword pair per line to make the text more readable. Normally the output is one long string.

# eeprom os-root-device

How to Enable Normal Booting

After a system has been configured to boot from a firmware-inaccessible storage device, the stem will continue to boot in that configuration. If you want to boot using another device, change the os-root-device variable.

  1. Check the os-root-device property.
    # eeprom os-root-device
  2. Clear the os-root-device property.
    # eeprom os-root-device=
  3. Verify that the property has been changed.
    # eeprom os-root-device

Next Steps

If you need to reboot the system from a firmware-inaccessible storage device, boot the system from the boot pool. The os-root-device variable will automatically be updated during the boot process so that from then on the system will continue to boot using the iSCSI device.