| CPC G06F 11/1469 (2013.01) | 12 Claims |

|
9. A method of operating an electronic device, the method comprising:
creating an uncompressed file by decompressing a compressed file of a file that constitutes at least one module into a package;
storing the uncompressed file in memory of the electronic device;
mounting the at least one module included in the uncompressed file;
in response to mounting the at least one module, identifying whether corruption has occurred in the uncompressed file while booting the electronic device;
in response to identifying that the corruption has occurred in the uncompressed file while booting the electronic device, unmounting the at least one module;
in response to unmounting the at least one module, deleting the uncompressed file that is corrupted including the at least one module that is unmounted, based on identifying that the corruption has occurred in the uncompressed file;
decompressing the compressed file stored in the memory to recreate another uncompressed file; and
performing a recovery operation of the uncompressed file corresponding to the corruption occurring in the uncompressed file by mounting the at least one module based on the another uncompressed file that is recreated.
|