US 12,468,547 B2
Computer and method of booting computer
Hsin-I Lee, Taoyuan (TW)
Assigned to MITAC COMPUTING TECHNOLOGY CORPORATION, Taoyuan (TW)
Filed by MITAC COMPUTING TECHNOLOGY CORPORATION, Taoyuan (TW)
Filed on Oct. 20, 2023, as Appl. No. 18/491,325.
Claims priority of application No. 111140207 (TW), filed on Oct. 24, 2022.
Prior Publication US 2024/0134652 A1, Apr. 25, 2024
Prior Publication US 2024/0231835 A9, Jul. 11, 2024
Int. Cl. G06F 9/4401 (2018.01)
CPC G06F 9/441 (2013.01) 14 Claims
OG exemplary drawing
 
1. A method of booting a computer including a baseboard controlling unit, a storage medium, and a processing unit electrically connected to the baseboard controlling unit and the storage medium, the storage medium storing program codes of a basic input/output system (BIOS), the baseboard controlling unit storing a prioritized option of boot device and a prioritized type of boot hard disk, the processing unit executing the BIOS for executing a plurality of firmware steps defined in the program codes, the method comprising steps, during a power-on self-test, of:
the processing unit sending a first query about the prioritized option of boot device to the baseboard controlling unit;
in response to receipt of device information related to the prioritized option of boot device from the baseboard controlling unit, the processing unit determining whether the prioritized option of boot device is hard disk based on the device information;
when the processing unit determines that the prioritized option of boot device is hard disk, the processing unit sending a second query about the prioritized type of boot hard disk to the baseboard controlling unit; and
in response to receipt of hard disk information related to the prioritized type of boot hard disk from the baseboard controlling unit, the processing unit booting the computer from a hard disk that corresponds to the prioritized type of boot hard disk;
wherein the step of the processing unit booting the computer from the hard disk that corresponds to the prioritized type of boot hard disk includes sub-steps of
the processing unit scanning through a plurality of hard disks that are bootable so as to obtain a plurality of hard disk paths respectively of the hard disks, where for each of the hard disks, the hard disk path includes information related to a hard disk type and a device path of the hard disk,
the processing unit obtaining, for each of the hard disks, the hard disk type of the hard disk based on the information included in the hard disk path of the hard disk, and selecting one of the hard disk paths that includes the hard disk type conforming with the prioritized type of boot hard disk, and
the processing unit obtaining the device path of the hard disk based on the information included in said one of the hard disk paths, and then booting the computer from one of the hard disks according to the device path thus obtained;
wherein the processing unit executes a sub-program of the BIOS to obtain the hard disk paths respectively from the hard disks that are bootable according to a device path protocol defined by Unified Extensible Firmware Interface Specifications (UEFI Spec).