Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I) What is the difference between the "OpenBoot PROM command entry mode"
and the usual OK prompt that is generally expected at Solaris Boot up?II) When stuck at the "OpenBoot PROM command entry mode", what command to type
in order to have the system continue to load the OS? I know I should type
"boot"..but all options of "boot" are for interractive boot(boot a),
reconfiguration (boot r), single mode booting (boot s) or booting with start-up
messages (boot v). I do not need all of that. I just need "boot" to "boot" my
system by automatically loading everything. So should I use "boot" alone with no option?Thanks

i) The ok> prompt is the command prompt for the OBP. The EEPROM (aka nvram... non-volatile) is 8k in size and features a forth interpreter. OBP programs are (obviously) written in forth (low-level language). The EEPROM also features the host's mac (ethernet) address (which is also used to formulate the hostid) and also the TOD (time of day) clock (eqv. RTC).
ii) All the boot options are correctly specified. However... there is one minor ommission. You have not specified the '-' char to denote the flagged argument, e.g.
ok> boot -s
This is the correct syntax to boot in single user mode.
ok> printenv
Will list all the environment variables, e.g.
boot-device disk net
auto-boot? falseAbove are 2 x environment variables worth taken note of in light of your query.
ok> setenv auto-boot? true
Above demonstrates how to assign a value to a variable.
Regarding the environment variable example:
boot-device disk net
Typing...
ok> boot...would initially try to boot from the device specified by the alias "disk". If this fails then it will try to boot from the device specified by the alias "net". However it is possible to specify which alias to boot from:
ok> boot net
To view the physical device path of the alias type:
ok> devalias disk
To list all the aliases specified type:
ok> devalias
The output generated from this command relates to the physical path of a device and it is possible to boot the device by addressing it by this reference as opposed to the alias.
Working with physical device paths for disks is far easier by typing:
ok> show-disks
This invokes a menu that lets you select and easily paste the physical address with one keystroke.
To remove an alias type:
ok> nvunalias [alias]
e.g.
ok> nvunalias disk
To create an alias type:
ok> nvalias [alias] [path]
These alias commands require a reset which is done as follows:
ok> reset
Finally...
The OBP represents a whole programming environment.
ok> sift
This will list all the available commands to you. However... DON'T USE A COMMAND YOU DON'T UNDERSTAND!

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |