Patent ID: 9600369
Date: 2017-03-21
CPC Classifications: G06F

Claim:
1. An operating system recovery method, comprising: starting a level 2 kernel; reading an image file of an operating system on a non-volatile memory into a dedicated device partition of a memory; transferring the image file of a to-be-recovered operating system to a specified location of the memory by using the started level 2 kernel such that a location of a recovery program in the level 2 kernel in the memory is a same as a location of a recovery program in an original kernel in the memory, wherein the level 2 kernel is obtained by tailoring the image file of the original kernel and then compiling a tailored image file of the original kernel, and wherein the image file of the operating system comprises hibernation state information of the operating system; and using, through the recovery program in the started level 2 kernel, the hibernation state information of the operating system comprised in the image file of the operating system in the specified location of the memory to recover the operating system to a state of the operating system before the operating system enters a hibernation mode.