sun OBP命令总结(精简)
port-b-ignore-cd port-a-ignore-cd keyboard device_type serial slave 00000001 intr 0000000c 00000000 interrupts 0000000c reg 00000001 f0000000 00000008 name zs
ok dev /sbus/ACME,widget
ok show-devs /SUNW,UltraSPARC@0,0 /sbus@1f,0 /counter-timer@1f,3c00 /virtual-memory /memory@0,0 . . . 获取在线帮助 在ok提示符下可以使用下面的命令获取帮助
help 显示帮助的分类 help category 显示特定分类的可用命令,category使用提示的第一个单词 help command 显示特定命令的帮助
example: ok help dump Category: Memory access dump ( addr length -- ) display memory at addr for length bytes ok
警告:在操作系统已经开始使用后,STOP-A进入OBP执行命令可能会失败,并且某些命令可能会使系统不可
用需要重新启动。如:probe-scsi
2.Booting and Testing Your System • Boot your system • Run diagnostics • Display system information • Reset the system
Booting Your System
可用参数 • auto-boot? 确定系统加点后是否自动启动,默认一般是true,如果为false则自动进入OBP配置 即ok状态 • boot-command 这个参数用来设置当auto-boot?为true是启动系统使用的命令,默认为boot。你可以使用其他启动命令如
:boot –s等。 • diag-switch? 如果为true则使用最大化自检启动系统。默认为false • boot-device 设定自动启动时的启动设备,一般是你的安装操作系统的硬盘作为启动盘。 • boot-file This variable contains the default boot arguments that are used when OpenBoot is not in diagnostic mode. • diag-device This variable contains the name of the default diagnostic mode boot device. • diag-file This variable contains the default diagnostic mode boot arguments.
这些参数的修改会在下面的Setting Configuration Variables中讲到.
本新闻共 6页,当前在第 2页 1 2 3 4 5 6 |