US 12,242,611 B2
Method for setting boot disk of HBA card, apparatus, and computer readable storage medium applying the method
Jian-Hua Zhu, Tianjin (CN); and Jie Yuan, Tianjin (CN)
Assigned to Fulian Precision Electronics (Tianjin) Co., LTD., Tianjin (CN)
Filed by Fulian Precision Electronics (Tianjin) Co., LTD., Tianjin (CN)
Filed on Apr. 6, 2023, as Appl. No. 18/131,850.
Claims priority of application No. 202211184672.3 (CN), filed on Sep. 27, 2022.
Prior Publication US 2024/0104216 A1, Mar. 28, 2024
Int. Cl. G06F 21/57 (2013.01)
CPC G06F 21/572 (2013.01) 19 Claims
OG exemplary drawing
 
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.