The invention relates to the technical field of computers, and discloses an automatic
recovery system and method for a computer
operating system, and the
system comprises a fault detection module which is used for monitoring a hardware self-detection state, an
operating system loading state and a key drive program initialization state in a computer starting process, and generating a fault
signal when a fault is detected; the
recovery module is used for starting an automatic
recovery process in response to the fault
signal; the recovery partition is arranged in a local built-in nonvolatile storage device of the computer and is used for storing a
system mirror image file, a driving program and an application program configuration file; and the recovery execution module is called and executed by the recovery module after the automatic recovery process is triggered, and is used for reading the
mirror image file from the recovery partition according to the recovery instruction and executing write-in recovery operation on the system partition of the system disk without covering the user data partition existing in the system disk. According to the method,
automation of the fault recovery process of the computer
operating system is realized, and autonomy and service continuity are improved.