printenv boot-device setenv boot-device device[n] printenv boot-device reset-allBefore You Begin
You might need to identify the devices on the system before youcan change the default boot device to some other device. For information about identifyingdevices on the system, see How to Identify Devices on a System.
- Bring the system to the ok PROM prompt.
# init 0- Change the value of the boot-device parameter.
ok setenv boot-device device[n]device[ n]
Identifies the boot-device value, such as disk or network. The n can be specified as a disk number. Use one of the probe commands if you need help identifying the disk number.
- Verify that the default boot device has been changed.
ok printenv boot-device- Save the new boot-device value.
ok reset-allThe new boot-device value is written to the PROM.
Reference:
http://docs.oracle.com/cd/E23824_01/html/821-2731/gkkvd.html#sparcboot-61766
How to Change the Default Boot Device by Using the Boot PROM
最新推荐文章于 2019-03-20 17:10:33 发布