The invention discloses an equipment dual-
system protection method and an equipment dual-
system upgrading method on the basis of the linux. The equipment dual-
system protection method on the basis of the linux comprises the following steps: S01, establishing a
backup system in a storage space of a linux
file system; S02, judging whether the linux system is started for the first time; S03, judging whether a damaged zone bit in a params partition is set, recovering a kernel partition and a rootfs partition from the
backup system if yes, and executing the step S04 if no; S04, judging whether an appupdate zone bit in the params partition is set; S05, judging whether kernel, rootfs and appfs updating zone bits in the params partition are simultaneously set; S06, checking whether a
mirror image of the kernel partition is undamaged; S07, checking whether a
mirror image of the rootfs partition is undamaged; and S08, loading the kernel partition and enabling the linux system to start to work. By carrying out
backup on the important partitions of a system, the equipment dual-
system protection method is used for recovering the integral system when detecting damage.