Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for ensuring normal start-up of Linux operating system

A normal startup and original technology, applied in the field of Linux operating system, can solve problems such as large adverse effects, high technical ability requirements, and lag in finding and solving problems

Active Publication Date: 2017-05-31
BANGYAN TECH
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, once the files on the x86 computing board installed with these systems are damaged and the system cannot be started, it is mainly repaired manually by the user connecting the monitor. People are not always on site, and the discovery and resolution of problems will be greatly delayed, and the problem will have a greater adverse impact on work

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
  • Method for ensuring normal start-up of Linux operating system
  • Method for ensuring normal start-up of Linux operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0018] The invention provides a method for guaranteeing the normal startup of the Linux system, which is suitable for use when the hard disk file system is damaged in the MTCA environment. It mainly uses the device mapper mechanism and file system snapshot function of the Linux system, and does not need to modify the Linux kernel or existing programs to solve the problem of starting the operating system when the file system on the hard disk is damaged. The system includes but not limited to Redhat, CentOS, Ubuntu Server and other distributions.

[0019] figure 1 It is a schematic flowchart of an embodiment of the method for ensuring the normal startup of the Linux system in the present invention. figure 2 for figure 1 The specific flowchart of the steps of modifying the original initramfs image file in / boot. Ple...

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 discloses a method for ensuring a normal start-up of a Linux operating system. The method comprises the following steps that during hard disk partition, a partition that is the same size as an original root partition is created as a snapshot partition; the Linux operating system is installed in the original root partition; an original initramfs mirror file in / boot is modified; the steps to modify the original initramfs mirror file in the / boot comprise: using a gunzip command and a cpio command to unpack the original initramfs mirror file to a predetermined catalog; adding a device-mapping software package to the predetermined catalog; when a dmsetup command does not exist in a sbin subcatalog, the dmsetup command in the device-mapper software package is put in the sbin subcatalog; editing an init script program, modifying a code of the init script program that mounts the root file system, and adding a corresponding code logic; generating a new initramfs mirror file to overwrite the original initramfs mirror file. By adopting the method, when a file system of the hard disk is damaged, the system can be automatically restored and be started up normally without manual participation, and normal start-up of the operating system is ensured.

Description

technical field [0001] The invention relates to the field of Linux operating systems, in particular to a method for ensuring the normal startup of the Linux operating system. Background technique [0002] At present, because the MTCA platform is widely used in occasions with low environmental stability, it often faces the situation that the entire frame of some equipment is powered off, which will have a certain impact on the hard disk being read and written, such as incomplete data and file system damage. Especially the latter, in severe cases, the system on the board cannot be started, and the board cannot work normally. The boards equipped with hard disks in the MTCA platform are mainly x86 computing boards. Due to the versatility of the x86 architecture, various manufacturers generally do not develop systems for them in order to save costs, facilitate use, and quickly deploy. Stable Linux distributions, such as Redhat, CentOS, Ubuntu Server, etc., if these systems detec...

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 Applications(China)
IPC IPC(8): G06F11/14
CPCG06F11/1435G06F11/1448
Inventor 祝启政
Owner BANGYAN TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products