Querying and Setting the Boot Device (bootdevice)
Function
The bootdevice command is used to query and set the boot device.
Format
ipmcget -d bootdevice
ipmcset -d bootdevice -v <option> [once | permanent]
Parameters
Parameter |
Description |
Value |
---|---|---|
option |
Specifies the number of the booting device. |
|
once |
The setting is effective only once upon the next startup. After that, the default boot device set on the BIOS is used. |
- |
permanent |
The setting is effective permanently. |
- |
Usage Guidelines
None.
Example
# Configure the system to boot from the default hard disk. The setting is effective only once upon the next startup.
iBMC:/->ipmcset -d bootdevice -v 2 once
Set boot device successfully.
# Query the boot device.
iBMC:/->ipmcget -d bootdevice
Boot device: Force boot from default Hard-drive
Effective type: Once
If Boot device is "Unspecified", parameters related to forced boot are not set.