摘要 |
A method of loading and updating OS(Operating System) by an HDD(Hard Disk Drive) in an embedded system is provided to restore the OS at the time of occurrence of power-off or a fault during updating and to decrease a time taken to update the OS. A method of loading and updating an OS by an HDD(150) in an embedded system includes: a first step in which a CPU(110) executes a boot loader by transferring the boot loader stored in a flash memory(130) to a main memory(120) when a power is on; a second step in which the boot loader loads an original OS stored in the HDD to the main memory; a third step in which the original OS loaded to the main memory is executed; a fourth step in which the boot loader loads a back-up OS stored in the HDD when loading the original OS is failed in the second step; and a fifth step in which the back-up OS loaded to the main memory is executed. |