Unlock instant, AI-driven research and patent intelligence for your innovation.

System disk switching method and device for a linux operating system

An operating system and switching device technology, applied in the field of operating systems, can solve the problems that the system cannot enter and suspend normally, the dual systems cannot perform normal switching, and there is no system disk switching method and device.

Active Publication Date: 2017-07-04
FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the running operating system crashes, the system cannot normally enter the suspend-to-memory state, so that normal switching between the two systems cannot be performed.
[0003] At present, there is no system disk switching method and device under the embedded linux operating system environment

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System disk switching method and device for a linux operating system
  • System disk switching method and device for a linux operating system
  • System disk switching method and device for a linux operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] Please refer to figure 2 , is a step diagram of another system disk switching method of the Linux operating system, and the first embodiment of the present invention is:

[0049] A system disk switching method of a Linux operating system, specifically comprising the following steps:

[0050] S10. Burn the boot loader into the flash;

[0051] S11. Make two or more system disks with linux operating system;

[0052] S12. Set any one system disk as the current system disk, and set the rest of the system disks as spare system disks;

[0053] S13. After the system is powered on, start the boot loader from the flash;

[0054] S14, the boot loader searches the current system disk;

[0055] S15. If the current system disk is searched, check whether the data of the current system disk is complete, if the data is complete, start the system from the current system disk, otherwise the boot loader searches for the spare system disk, and if the spare system disk is searched, chec...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the field of operating systems, and discloses a system disk switching method and device for a linux operating system. A boot loader is programmed to a flash, two system disks with the linux operating system are manufactured, one system disk is optionally selected and set as a current system disk, and the other system disk is set as a standby system disk; after the system is powered on, the boot loader is started from the flash, the boot loader searches for the current system disk, if the current system disk is found, whether data of the current system disk are integral is detected, if the data are integral, the system is started from the current system disk, and otherwise the boot loader searches for the standby system disk; if the standby system disk is found, whether data of the standby system disk are integral is detected, if the data are integral, when the current system disk breaks down and other problems occur, the current system disk can be switched to the standby system disk, and the system can be started from the standby system disk.

Description

technical field [0001] The invention relates to the field of operating systems, in particular to a system disk switching method and device of a Linux operating system. Background technique [0002] With the development of various hardware resources, the capabilities of electronic devices are also getting stronger and stronger. To this end, products that install two operating systems on one electronic device platform are also emerging in large numbers. Typically, two operating systems installed on a device run in separate memory areas. When the first operating system is running, the second operating system is in a dormant state. When switching is performed, the first operating system is made to enter a sleep state, and then the second operating system is woken up to run. In this way, the switching of the two operating systems is realized. However, if the running operating system crashes, the system cannot enter the suspend-to-memory state normally, and thus cannot normall...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/20
Inventor 林哲明李捷郑子凤
Owner FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD