Patent ID: 8601255

Claim:
A computer system having a Basic Input/Output System (BIOS), externally connected to a storage device, the computer system comprising: a central processing unit (CPU); a first storage unit for storing a BIOS program, wherein the BIOS program comprises a booting area and a program area used to store a first BIOS image file, wherein the booting area comprises a check program that is used to check the status of the first BIOS image file before the computer system is booted; a second storage unit; a controller, electrically connected between the second storage unit and the storage device, and used to duplicate a second BIOS image file in the storage device to a designated area in the second storage unit, wherein the designated area of the second storage unit is an area inaccessible to an end user of the computer system; and a third storage unit for storing a flag; wherein after the second BIOS image file is duplicated into the designated area, the flag is changed from a first status to a second status; wherein the CPU checks the status of the first BIOS image file and programmatically determines, without human intervention, whether to boot the computer system by the first BIOS image file or the second BIOS image file according to the status of the first BIOS image file and the status of the flag, and wherein the controller duplicates the second BIOS image file in the storage device to the designated area in the second storage unit before the computer system enables an Operating System (OS), wherein when the first BIOS image file is in a normal status, the CPU checks the status of the flag to determine whether to boot the computer system by the first BIOS image file or by the second BIOS image file, and wherein when the flag is in the first status, the computer system is booted by the first BIOS image file, and when the flag is in the second status, the computer system is booted by the second BIOS image file.