Skip to main content

10.13.1 Saving the OpenBoot PROM Environment Variables

10.13.1 Saving the OpenBoot PROM Environment Variables
This section describes the procedure for saving the OpenBoot PROM environment variables.
  1. Execute the printenv command to check the OpenBoot PROM environment variables.
{0} ok printenv
Variable Name           Value                          Default Value
ttya-rts-dtr-off        false                          false
ttya-ignore-cd          true                           true
security-mode           none                           No default
security-password                                      No default
security-#badlogins     1                              No default
diag-switch?            false                          false
local-mac-address?      false                          true
fcode-debug?            false                          false
scsi-initiator-id       7                              7
oem-logo                                               No default
oem-logo?               false                          false
oem-banner                                             No default
oem-banner?             false                          false
ansi-terminal?          true                           true
screen-#columns         80                             80
screen-#rows            34                             34
ttya-mode               9600,8,n,1,-                   9600,8,n,1,-
output-device           virtual-console                virtual-console
input-device            virtual-console                virtual-console
auto-boot-on-error?     false                          false
load-base               16384                          16384
auto-boot?              false                          true
network-boot-arguments  host-ip=, ...
boot-command            boot                           boot
boot-device             mydisk1 mydisk2 mydisk3  ...   disk net
multipath-boot?         false                          false
boot-device-index       0                              0
use-nvramrc?            true                           false
nvramrc                 devalias mydisk1 /pci@80 ...
error-reset-recovery    boot                           boot
{0} ok
  1. Save the output result to a text file.
  1. If there is a variable with a value replaced with "..." in step 1, execute the printenv command with the corresponding variable specified.
  1. The following example checks the boot-device variable.
{0} ok printenv boot-device
boot-device =           mydisk1 mydisk2 mydisk3 mynet
  1. The following example checks the nvramrc settings.
{0} ok printenv nvramrc
nvramrc =                 devalias mydisk1 /pci@8000/pci@4/pci@0/pci@0/scsi@0/disk@p3,0:a
                          devalias mydisk2 /pci@8100/pci@4/pci@0/pci@0/scsi@0/disk@p0,0:a
                          devalias mydisk3 /pci@8100/pci@4/pci@0/pci@0/scsi@0/disk@p1,0:a
                          devalias mynet /pci@8000/pci@4/pci@0/pci@9/network@0
                          h# 8 value video-mode
  1. The following example checks the network-boot-arguments settings.
{0} ok printenv network-boot-arguments
network-boot-arguments =  host-ip=,subnet-mask=,iscsi-target-ip=,,iscsi-lun=0
  1. Save the output result in step 3 to a text file.