Method and device for starting recovery

A technology of configuration information and advanced configuration, applied in the direction of program control device, program loading/starting, and the generation of response errors, etc., can solve problems such as difficult to grasp, long recovery time, prone to errors or failures, etc., to save time and energy , Quick start recovery, achieve the effect of automatic backup

Active Publication Date: 2012-05-02
HUAWEI TECH CO LTD
View PDF6 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the first method is to perform hard disk backup in DOS state, which is prone to errors or failures
The second method takes a long time to back up partitions or the entire hard disk, and the recovery time is also long, and the backup needs to take up a lot of storage space, wasting resources. At present, only traditional MBR hard disks are supported, and GPT hard disks are not supported; If the content changes, it needs to be backed up again, which is time-consuming, labor-intensive, complicated to operate, and difficult to master

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 and device for starting recovery
  • Method and device for starting recovery
  • Method and device for starting recovery

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Usually, the boot operating system is executed by the BIOS. When the computer is turned on, the BIOS will find the bootable file, read the program in it into the memory, and jump to the beginning of the memory, and execute the program to start booting the operating system. process. Wherein, the bootable file is usually stored on the hard disk, and when the hard disk has multiple partitions, the bootable file is stored on one of the partitions. Which of the multiple partitions of the hard disk is the partition for storing bootable files can be known from the partition table of the hard disk. If the partition table of the hard disk is abnormal, it will lead to failure to read the bootable file, and the failure to boot the operating system will occur, and the boot process cannot be completed.

[0024] To troubleshoot boot recovery, see figure 1 , the present embodiment provides a method for starting recovery, so as to realize automatic hard disk backup and improve the su...

Embodiment 2

[0037] see figure 2 , this embodiment provides a method for starting recovery, including:

[0038] 201: When the BIOS boots the operating system, enable the ACPI function.

[0039] 202: Trigger SMI (System Management Interrupt, system management interrupt), enter SMM (System Management mode, system management mode), jump to SMRAM (System Management RAM, system management memory) to read the configuration information of the hard disk.

[0040] 203: Write the configuration information of the hard disk into the Flash ROM, and complete the backup of the configuration information of the hard disk.

[0041] 204: Exit the SMI, and return to the BIOS to continue to execute the operating system boot process.

[0042] 205: When the BIOS boots the operating system again and fails to boot, load the configuration information of the hard disk backed up in the Flash ROM to the hard disk to start the operating system, or start the operating system through the configuration information of t...

Embodiment 3

[0061] This embodiment is improved on the basis of Embodiment 1 or Embodiment 2. Under the first implementation mode, the step of backing up the configuration information of the hard disk to the Flash ROM involved in Embodiment 1 or Embodiment 2 may specifically include :

[0062] Judging whether there is a backup of the configuration information of the hard disk in the Flash ROM;

[0063] If there is a backup of the configuration information of the hard disk in the Flash ROM, the backup operation is not performed;

[0064] If there is no backup of the configuration information of the hard disk in the Flash ROM, the configuration information of the hard disk is backed up in the flash read-only memory Flash ROM.

[0065] In this implementation mode, it is possible to avoid backup of the hard disk configuration information in the Flash ROM, thereby saving the backup process and improving the backup efficiency.

[0066] Under the second implementation mode, the configuration in...

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 embodiment of the invention provides a method and a device for starting recovery, relating to the starting recovery technology field. The method comprises the steps of when a system is guided and operated, using an enabling advanced configuration and a power supply management interface ACPI function to back-up the configuration information in a hard disc to a flash memory read only memory Flash Rom; when the system is operated again and the guide is failed, loading the configuration information in the hard disc backed up in the Flash Rom to a hard disc starting operation system, or starting the operation system via the configuration information in the hard disc backed up in the Flash Rom. The device comprises a back-up module and a recovery module. The method and device for starting recovery of the invention enables the automatic back-up and rapid starting recovery of the hard disc to be realized, is simple in operation, enables the requirements for operators to be reduced substantially, and enables the success rate of the starting recovery to be improved.

Description

technical field [0001] The present invention relates to the technical field of boot recovery, in particular to a boot recovery method and device. Background technique [0002] BIOS (Basic Input Output System, Basic Input Output System) has the functions of initializing hardware, detecting hardware, and booting an operating system. The BIOS program is stored in a ROM (Read Only Memory, read-only memory) whose content will not be lost after power failure. When the system is powered on, the address of the first instruction of the processor will be located in the ROM, so that the BIOS program can get carried out. BIOS is a software program, but because it is a program solidified in the hardware read-only memory, it is also called firmware (Firmware). [0003] Along with computer technology and Internet technology being widely popularized and used, produced massive data, most of them are stored in the hard disk. Traditional MBR (Master Boot Record, master boot record) hard dis...

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): G06F9/445G06F11/14
CPCG06F9/4403
Inventor 侯国良
Owner HUAWEI TECH CO LTD
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