摘要 |
A method and a device for self-rescuing after a file system being damaged are disclosed, wherein the method includes the steps: after the device detects that the file system is damaged when starting up with boot, a failure alarm message is sent to a background server; the device receives an acknowledgement message which the background server returns, the acknowledgement message includes a path and a version file name of the backup version which is selected by the background server according to the type of a product; the device downloads the version file, and restarts from the version file. After starting up with BOOT and detecting that the file system is damaged, and not switched to a large version, the device implements the network communication between the foreground and the background, obtains the version from the background server initiatively, carries out a reload and repairs the damaged file system itself automatically without manual intervention. |