| CPC G06F 21/572 (2013.01) | 19 Claims |

|
1. A method for setting a boot disk of a HBA card, being applicable in an electronic device; the electronic device comprises a storage medium with computer programs and a processor; the processor executes the computer programs to implement following processes:
acquiring a physical layer port number corresponding to a slot of a target hard disk;
configuring a first identifier for the physical layer port number in a BIOS configuration page of the HBA card;
configuring a second identifier for the target hard disk in the BIOS configuration page, the second identifier being configured based on the first identifier and a predetermined rule; and
writing the second identifier into boot device items of the BIOS configuration page for fixing the target hard disk as a boot disk of the HBA card.
|