Patent ID: 7159107

Claim:
A booting method capable of executing a warm boot or a cold boot in a computer system when a CPU (Central Processing Unit) crash occurs, the computer system having a CPU and a memory, the CPU controlling the memory, the memory storing data and predefined values of the computer system, the booting method comprising the steps of: (a) causing the computer system to detect whether a hardware reset function or a software reset function is selected when the CPU is in a crash state; (b) when the hardware reset function is selected, rebooting the CPU by executing a hardware reset operation, and deleting the data and predefined values of the memory to make the computer system return to a default state; and (c) when the software reset function is selected, rebooting the CPU by executing a hardware reset operation, and regarding the hardware reset operation as a software reset operation to hold the data and predefined values of memory to make the computer system return to a setting state before the CPU crash.