Method for starting hard disk under Linux system

A hard disk, normal startup technology, applied in the direction of program loading/starting, generation of response errors, error detection of redundant data in operation, etc., can solve problems such as hard disk failure, Linux cannot be started, etc. Effect

Inactive Publication Date: 2012-01-25
赵玉燕
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem that Linux cannot be started due to a failure of a hard disk in the prior art, the present invention provides a method for starting a hard disk under the Linux system

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 starting hard disk under Linux system
  • Method for starting hard disk under Linux system
  • Method for starting hard disk under Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Such as figure 1 As shown, the present invention discloses a method for starting a hard disk under a Linux system, including the following steps S1 to S4: In step S1, when installing Linux, the first hard disk and the second hard disk are partitioned, and the partition of each hard disk is The number is at least two, the first hard disk has a partition as a boot partition, and the second hard disk has a partition as a boot partition, and the number of partitions and partition capacity of the two hard disks are the same. In step S2, after the partitioning is completed, first use the Linux soft RAID configuration tool to configure the partitions of the non-boot partitions on the two hard disks as soft RAID partitions, and then install Linux in the soft RAID partition of the first hard disk. In step S3, after Linux is installed, the data in the boot partition of the first hard disk is mirrored in the boot partition of the second hard disk; the boot partition of the first h...

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 provides a method for starting a hard disk under a Linux system. The method comprises the following steps of: A, when Linux is installed, partitioning a first hard disk and a second hard disk, wherein at least two partitions are formed in each hard disk, a partition of the first hard disk serves as a boot partition, a partition of the second hard disk serves as a boot partition, and the partition number and partition capacity of the two hard disks are same; B, configuring non-boot partitions on the two hard disks as soft redundant array of independent disk (RAID) partitions by using a Linux soft RAID configuration tool, and installing the Linum in the soft RAID partitions of the first hard disk; C, imaging data in the boot partition of the first hard disk to the boot partition of the second hard disk, wherein the boot partition of the first hard disk stores a kernel image and startup programs and files; and D, when a basic input-output system (BIOS) guides the Linux, starting from the first hard disk if a successful startup identifier of the first hard disk is in a 'yes' state, otherwise starting from the second hard disk and setting successful startup identifiers of the first and second hard disks in the 'yes' state.

Description

technical field [0001] The invention relates to computer system startup, in particular to a hard disk startup method under the Linux system. Background technique [0002] At present, common PCs and single boards usually have only one hard disk, on which an OS needs to be installed, and of course user data is also stored on this hard disk; but if this hard disk is damaged, the OS cannot be started and user data will be lost. PC refers to a computer, and OS refers to an operating system of the computer. [0003] At present, in order to improve the reliability of the OS and data, you can use a dedicated hardware RAID controller to mount two hard disks to implement RAID1, that is, use a dedicated hardware RAID controller (such as LSI1064E) to mount two hard disks to The method of implementing RAID1 can make a hard disk damaged, the OS can start normally, and the user data will not be lost; but this method needs to use a dedicated chip, the cost is high, and it is difficult to g...

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/14G06F9/445
Inventor 赵玉燕
Owner 赵玉燕
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products