CN102439565B - Method and device for starting recovery - Google Patents

Method and device for starting recovery Download PDF

Info

Publication number
CN102439565B
CN102439565B CN201180002245.2A CN201180002245A CN102439565B CN 102439565 B CN102439565 B CN 102439565B CN 201180002245 A CN201180002245 A CN 201180002245A CN 102439565 B CN102439565 B CN 102439565B
Authority
CN
China
Prior art keywords
hard disk
configuration information
operating system
flash rom
backs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201180002245.2A
Other languages
Chinese (zh)
Other versions
CN102439565A (en
Inventor
侯国良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102439565A publication Critical patent/CN102439565A/en
Application granted granted Critical
Publication of CN102439565B publication Critical patent/CN102439565B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation

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

Start the method and apparatus that recovers
Technical field
The present invention relates to start the recovery technology field, particularly a kind of method and apparatus that starts recovery.
Background technology
BIOS (Basic Input Output System, Basic Input or Output System (BIOS)) has initiating hardware, detection hardware, and the function of guiding operating system.Bios program is deposited among the ROM (Read Only Memory, ROM (read-only memory)) that content can not be lost after the power down, and the address of article one instruction of processor can be positioned among this ROM during system power-up, so that bios program obtains carrying out.BIOS belongs to software program, but because it is the program that is solidificated in the hardware ROM (read-only memory), so also be known as firmware (Firmware).
Along with extensively popularizing of computer technology and technique of internet used, produced the data of magnanimity, wherein major part is stored in the hard disk.Traditional MBR (Master Boot Record, Main Boot Record) hard disk, max cap. are 2TB (TeraBytes, terabyte), and each disk has at most 4 main partitions, perhaps comprises 3 main partitions, 1 extended partition and unconfined logical drive.What substitute gradually at present the MBR hard disk is GPT (Globally Unique Identifier Partition Table, global unique identification partition table) hard disk.GPT is a kind of new disk partition framework, and max cap. can reach 18EB (ExaBytes, Chinese mugwort byte), and each disk has at most 4,300,000,000 subregions.Obviously different from the MBR hard disk is that vital platform operations data are positioned at subregion, rather than are positioned at case of non-partitioned or hiding sector.In addition, the GPT Multi-zone disk also is provided with main partition table (Primary GPT) and backs up the integrality that partition table (Backup GPT) improves partitioned data organization.
Beginning and latter end at the GPT hard disk are being stored the key messages such as GPT head and partition table.Because the destruction of virus, the error of operation and many accidental factors may make GPT head and partition table be destroyed, thereby can't normal load operating system, even damage boot sector, cause the loss of data in the hard disk.
There are at present two kinds of startup restoration methods can solve the problem of booting operating system failure, first method is at DOS (Disk Operating System, disc operating system (DOS)) backs up first the information such as GPT head and partition table under, then when BIOS guiding operating system goes wrong, the information of backup is loaded into the fault sector finishes the startup recovery.Second method is to carry out the backup of subregion backup or DISK to Image with data backup software Symantec Ghost, then starts under the DOS interface and recovers.
But first method is to carry out hard disk backup at the DOS state, occurs easily wrong or failure.Second method backup subregion or DISK to Image need the long time, and release time is also longer, and backup need to take very large storage space, and the waste resource is only supported traditional MBR hard disk at present, does not support the GPT hard disk; If the content in the hard disk is changed, then need again to back up, to waste time and energy, complicated operation is difficult for grasping.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus that starts recovery, realizes the hard disk automated back-up, improves to start the success ratio of recovering.Described technical scheme is as follows:
On the one hand, a kind of method that starts recovery, described method comprises:
When guiding during operating system, enable advanced configuration and power-management interface ACPI function, the configuration information of hard disk is backuped among the flash ROM Flash ROM;
When again guiding operating system and guide unsuccessfully, the configuration information of the hard disk that backs up in the described Flash ROM is loaded in the described hard disk starts the operating system, or start the operating system by the configuration information of the hard disk that backs up in the described Flash ROM.
On the other hand, a kind of device that starts recovery, described device comprises:
Backup module is used for enabling advanced configuration and power-management interface ACPI function when guiding operating system, and the configuration information of hard disk is backuped among the flash ROM Flash ROM;
Recover module, be used for when operating system again and when guiding unsuccessfully, the configuration information of the hard disk that backs up in the described Flash ROM is loaded in the described hard disk starts the operating system, or start the operating system by the configuration information of the hard disk that backs up in the described Flash ROM.
The beneficial effect of the technical scheme that the embodiment of the invention provides is: the backup harddisk configuration information is to Flash ROM when enabling the ACPI function by operating system, and when again guiding operating system and guide unsuccessfully, the hard disk configuration information of backup is loaded into hard disk startup operating system, or by the backup the hard disk configuration information start the operating system, realized the automated back-up of hard disk, and startup recovers fast, simple to operate, greatly reduced the requirement to operating personnel, improved and started the success ratio of recovering.And the hard disk relevant information is dynamic backup, even the hard disk relevant information changes, also need not manual operation, has greatly saved user's time and efforts, and has well protected the data on the hard disk.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram that the startup that provides of the embodiment of the invention 1 recovers;
Fig. 2 is the method flow diagram that the startup that provides of the embodiment of the invention 2 recovers;
Fig. 3 is the GPT hard disc structure synoptic diagram that the embodiment of the invention 2 provides;
Fig. 4 is the MBR hard disc structure synoptic diagram that the embodiment of the invention 2 provides;
Fig. 5 is the structure drawing of device that the startup that provides of the embodiment of the invention 4 recovers.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
Usually, guiding operating system is carried out by BIOS, and when the starting up, BIOS can find bootable file, program is wherein read in the internal memory, and jumped to the place that begins of this section internal memory, carries out the flow process that this program begins to guide operating system.Wherein, described bootable file is stored on the hard disk usually, and when hard disk had a plurality of subregion, bootable file was stored on wherein certain subregion.Which subregion is the subregion of storage bootable file in a plurality of subregions of hard disk, is to know from the partition table of hard disk.If the partition table of hard disk is unusual, then can cause reading the bootable file failure, will guide the operating system failure, can't finish start-up course.
Start the problem of recovering in order to solve, referring to Fig. 1, present embodiment provides a kind of method that starts recovery, starts the success ratio of recovering to realize the hard disk automated back-up, to improve, and the method comprises:
101: when guiding operating system, enable ACPI (Advanced Configuration and Power Management Interface, advanced configuration and power-management interface) function, the configuration information of hard disk is backuped among the flash ROM Flash ROM;
102: when again guiding operating system and guide unsuccessfully, the configuration information of the hard disk that backs up in the Flash ROM is loaded into hard disk startup operating system, or starts the operating system by the configuration information of the hard disk that backs up in the Flash ROM.
ACPI has defined the Novel work interface between Windows, BIOS and the system hardware, these interfaces comprise the mechanism that allows Windows control power management and equipment configuration, when operating system enabled the ACPI function, BIOS can carry out various functions according to relevant agreement.Usually after reading the bootable file success, begin to guide operating system, then can enable the ACPI function, so that carry out follow-up operating process according to ACPI.
Relevant information when the hard disk configuration information in the embodiment of the invention refers to dispose hard disk, generally include hard disc head and partition table, but do not comprise each subregion content that marks off on the hard disk, compare with existing configuration hard disk full detail, the backup harddisk configuration information can be saved storage space, has greatly avoided waste.
The said method that present embodiment provides had both gone for the GPT hard disk, also went for the MBR hard disk.For the GPT hard disk, the configuration information of hard disk comprises GPT head and partition table.For the MBT hard disk, the configuration information of hard disk comprises the MBR partition table.
Wherein, Flash ROM is flash ROM, is a kind of non-volatile internal memory, usually is used on the mainboard of computing machine, is used for preserving bios program, is convenient to carry out the upgrading of program.Present embodiment backups among the Flash ROM by the configuration information with hard disk, can realize the protection to the configuration information of hard disk, recover so that start, but also the security that has improved backup information.
When partition table occurs when unusual, operating system can guide failure, and this partition table comprises that unusually the information in the partition table is unusual, loses such as data, and perhaps the sector at partition table place is unusual, such as sector corruption etc.
Under a kind of mode, when the information in the partition table is unusual, after the configuration information of the hard disk that backs up in the Flash ROM can being loaded into hard disk, continue to start the operating system according to the hard disk configuration information in the hard disk, thereby the startup flow process of complete operation system can solve that the hard disk configuration information is lost and the problem that causes the booting operating system failure.Under the another kind of mode, when the sector at partition table place is unusual, can start the operating system by the configuration information of the hard disk that backs up in the Flash ROM, can solve sector corruption and cause the problem of booting operating system failure.
Wherein, the configuration information with hard disk backups among the flash ROM Flash ROM and can specifically comprise: whether the configuration information of judging hard disk comprises global unique identification partition table GPT head and partition table and all complete; If so, then described GPT head and partition table are write among the Flash ROM;
Perhaps specifically comprise: whether the configuration information of judging hard disk comprises the MBR partition table, and this MBR partition table is complete, if so, then this MBR partition table is write among the Flash ROM.
The said method that present embodiment provides, the backup harddisk configuration information is to Flash ROM when enabling the ACPI function by operating system, and when again guiding operating system and guide unsuccessfully, the hard disk configuration information of backup is loaded into hard disk startup operating system, or starts the operating system by the hard disk configuration information of backup, realized the automated back-up of hard disk, and startup recovers fast, simple to operate, greatly reduced the requirement to operating personnel, improved and started the success ratio of recovering.And; the hard disk relevant information is dynamic backup; even the hard disk relevant information changes; also need not manual operation; compare by manually manually backing up at the DOS state with existing; greatly save user's time and efforts, and well protected the data on the hard disk, also reduced the requirement to operating personnel.In addition, the configuration information of backup harddisk, compare with existing backup DISK to Image and subregion, can greatly save the shared storage space of backup, and the time that reduces backup, improved the efficient of backup, and, also need not again to back up even change has occured the content in the hard disk, use more flexible.
Embodiment 2
Referring to Fig. 2, present embodiment provides a kind of method that starts recovery, comprising:
201: when basic input-output system BIOS guiding operating system, enable the ACPI function.
202: trigger SMI (System Management Interrupt, system management interrupt), enter into SMM (System Management mode, System Management Mode), jump to the configuration information that SMRAM (System Management RAM, system management ram) reads hard disk.
203: the configuration information of hard disk is write among the Flash ROM, finish the backup of hard disk configuration information.
204: withdraw from SMI, return BISO and continue the executive operating system boot flow.
205: when BIOS again guides operating system and guides unsuccessfully, the configuration information of the hard disk that backs up in the Flash ROM is loaded into hard disk startup operating system, or starts the operating system by the configuration information of the hard disk that backs up in the Flash ROM.
Booting operating system in the present embodiment unsuccessfully refers to because the guiding failure that partition table causes unusually comprises that the information sector unusual or the partition table place in the partition table is unusual.
Wherein, SMM is the execution pattern of Intel a kind of CPU (Central Processing Unit, CPU (central processing unit)) of introducing the X86 architecture after 386SL, only has by SMI just can enter System Management Mode.Backed off after random SMI is finished in backup, particularly, can utilize RSM (Real Storage Management, real storage management (RSM)) instruction to jump to the place of BISO program before carrying out the SMI interruption and continue to carry out.System Management Mode has higher administration authority for operating system, operating system can't perception SMM pattern, all conductively-closeds of the operation under the SMM pattern, and operating system can't perception, and the bootup process that is equivalent to operating system is suspended the same.Undertaken by the backup of hard disk configuration information is incorporated into the SMM pattern, can greatly improve security.
Said method has realized that quick startup recovers, and in a kind of scene, the relevant information of described hard disk can be the relevant information of GPT hard disk, and correspondingly, above-mentioned steps 203 can specifically comprise;
Whether the configuration information of judging the hard disk read comprises GPT head and partition table, and this GPT head and partition table are all complete; If so, then this GPT head and partition table are write among the Flash ROM.
Referring to Fig. 3, be the structural representation of GPT hard disk.The GPT hard disk comprises GPT head, partition table and each subregion.Wherein, the GPT head comprises the MBR (Protective MBR) of protection, main GPT (Primary GPT) and backup GPT (Backup GPT).The MBR of described protection refers to the information compatible relevant with keeping MBR.Main GPT is exactly partition table, can find each subregion by this partition table.Backup GPT refers to the backup of main GPT.
In another scene of present embodiment, the configuration information of described hard disk also can be the configuration information of MBR hard disk, and correspondingly, above-mentioned steps 203 can specifically comprise:
Whether the configuration information of judging the hard disk that has read comprises the MBR partition table, and this MBR partition table is complete, if so, then this MBR partition table is write among the Flash ROM.
Referring to Fig. 4, be the structural representation of MBR hard disk.The MBR hard disk comprises MBR partition table and each subregion, can find each subregion of hard disk by the MBR partition table.
In the present embodiment, the configuration information of the hard disk that backs up in the Flash ROM is loaded into hard disk startup operating system, refers to that configuration information with this hard disk is loaded on the boot sector of hard disk to start the operating system.
In the present embodiment, step 205 can specifically comprise:
When BIOS again guides operating system and unusually guides unsuccessfully owing to the information in the partition table, the configuration information of the hard disk that backs up in the Flash ROM is loaded into hard disk after, continue to start the operating system according to the hard disk configuration information in the hard disk;
Perhaps,
When BIOS again guided operating system and unusually guides unsuccessfully owing to the sector at partition table place, the configuration information by the hard disk that backs up in the Flash ROM started the operating system.
The said method that present embodiment provides, the backup harddisk configuration information is to Flash ROM when enabling the ACPI function by operating system, and when again guiding operating system and guide unsuccessfully, the hard disk configuration information of backup is loaded into hard disk startup operating system, or starts the operating system by the hard disk configuration information of backup, realized the automated back-up of hard disk, and startup recovers fast, simple to operate, greatly reduced the requirement to operating personnel, improved and started the success ratio of recovering.
And; the hard disk relevant information is dynamic backup; even the hard disk relevant information changes; also need not manual operation; compare by manually manually backing up at the DOS state with existing; greatly save user's time and efforts, and well protected the data on the hard disk, also reduced the requirement to operating personnel.
In addition, the configuration information of backup harddisk, compare with existing backup DISK to Image and subregion, can greatly save the shared storage space of backup, and the time that reduces backup, improved the efficient of backup, and, also need not again to back up even change has occured the content in the hard disk, use more flexible.
Have again, the method had both been supported the MBR hard disk, support again the GPT hard disk, do not need third party's instrument yet, simple to operate, to grasp easily, success ratio is high, can solve not only that the hard disk configuration information is lost and the problem that causes the booting operating system failure, also can solve sector corruption and cause the problem of booting operating system failure.
Embodiment 3
Present embodiment improves on the basis of embodiment 1 or embodiment 2, and under the first embodiment, the configuration information with hard disk that relates among embodiment 1 or the embodiment 2 backups to the step among the Flash ROM, can specifically comprise:
Judge the backup that whether has the configuration information of described hard disk among the Flash ROM;
If the operation of backup is not then carried out in the backup of the configuration information of existing described hard disk among the Flash ROM;
If there is not the backup of the configuration information of described hard disk among the Flash ROM, then the configuration information with this hard disk backups among the flash ROM Flash ROM.
Under this embodiment, can avoid in Flash ROM, having existed in the situation of hard disk configuration information backup, still back up, thereby save the flow process that backs up, improve backup efficient.
Under the second embodiment, the configuration information with the hard disk that backs up in the Flash ROM that relates among embodiment 1 or the embodiment 2 is loaded into hard disk startup operating system, or the step that starts the operating system of the configuration information by the hard disk that backs up in the Flash ROM, can specifically comprise:
Provide option whether to start recovery for user selection, and receive user's selection;
If user selection starts recovery, then the configuration information with the hard disk that backs up in the Flash ROM is loaded into hard disk startup operating system, or starts the operating system by the configuration information of the hard disk that backs up in the Flash ROM.
Under this embodiment, can give the chance of user selection, and start recovery according to user's selection, take into full account user's demand, improve user's property of participation, strengthen user's satisfaction, promote user's experience.
Certain above-mentioned the first embodiment and the second embodiment also can combine application, before the configuration information of backup harddisk, first Flash ROM is judged, and before starting recovery, please whether start recovery by user selection, thereby both saved the flow process of backup, improved efficient, also strengthen user's satisfaction, promoted user's experience.
In addition, among the present invention, under embodiment 1 or embodiment 2 or above-mentioned any embodiment, further, can also may further comprise the steps:
When operating system enables ACPI, the key message on the hard disk is also backuped among the Flash ROM; When using this key message, this key message that backs up among the Flash ROM is loaded on the equipment that uses this key message.
Wherein, described key message can be the information that needs protection, and such as the first-class information of password, certificate, key, CD/DVD, flash disk or network hard disc, can greatly improve the security of using key message by backup key message in Flash ROM.
Embodiment 4
Referring to Fig. 5, present embodiment provides a kind of device that starts recovery, comprising:
Backup module 501 is used for enabling advanced configuration and power-management interface ACPI function when guiding operating system, and the configuration information of hard disk is backuped among the flash ROM Flash ROM;
Recover module 502, be used for when again guiding operating system and guide unsuccessfully, the configuration information of the hard disk that backs up in the Flash ROM is loaded into hard disk startup operating system, or start the operating system by the configuration information of the hard disk that backs up in the Flash ROM.
Under the first embodiment, backup module 501 can specifically be used for: when basic input-output system BIOS guiding operating system, enable the ACPI function; Triggering system management interrupt SMI jumps to the configuration information that system management ram SMRAM reads hard disk; The configuration information of hard disk is write among the Flash ROM; Withdraw from SMI, return BISO and continue the executive operating system boot flow.
Under the second embodiment, backup module 501 can specifically be used for:
When guiding operating system, enable advanced configuration and power-management interface ACPI function, judge whether the configuration information of hard disk comprises global unique identification partition table GPT head and partition table and all complete, if so, then GPT head and partition table are write among the Flash ROM.
Under the third embodiment, backup module 501 can comprise:
Judging unit is used for judging whether Flash ROM has the backup of the configuration information of hard disk;
The second backup units is no if be used for the result of judgment unit judges, and then the configuration information with hard disk backups among the FlashROM.
Under the 4th kind of embodiment, recovering module 502 can specifically be used for: when again guiding operating system and guide unsuccessfully, provide option whether to start recovery for user selection, and reception user's selection, if user selection starts recovery, then the configuration information with the hard disk that backs up in the Flash ROM is loaded into hard disk startup operating system, or starts the operating system by the configuration information of the hard disk that backs up in the Flash ROM.
Under any embodiment in above-mentioned four kinds, recovering module 502 can comprise:
The first recovery unit is used for when again guiding operating system and unusually guiding unsuccessfully owing to the information in the partition table, the configuration information of the hard disk that backs up in the Flash ROM is loaded in the hard disk start the operating system;
Perhaps,
The second recovery unit is used for when again guiding operating system and because the sector at partition table place is unusual when guiding unsuccessfully, and the configuration information by the hard disk that backs up in the Flash ROM starts the operating system.
The said apparatus that present embodiment provides, the backup harddisk configuration information is to Flash ROM when enabling the ACPI function by operating system, and when again guiding operating system and guide unsuccessfully, the hard disk configuration information that backs up is loaded into boot sector starts the operating system, or start the operating system by the hard disk configuration information of backup, realized the automated back-up of hard disk, and startup recovers fast, simple to operate, greatly reduced the requirement to operating personnel, improved and started the success ratio of recovering.And; the hard disk relevant information is dynamic backup; even the hard disk relevant information changes; also need not manual operation; compare by manually manually backing up at the DOS state with existing; greatly save user's time and efforts, and well protected the data on the hard disk, also reduced the requirement to operating personnel.In addition, the configuration information of backup harddisk, compare with existing backup DISK to Image and subregion, can greatly save the shared storage space of backup, and the time that reduces backup, improved the efficient of backup, and, also need not again to back up even change has occured the content in the hard disk, use more flexible.Have again, the method had both been supported the MBR hard disk, support again the GPT hard disk, do not need third party's instrument yet, simple to operate, to grasp easily, success ratio is high, can solve not only that the hard disk configuration information is lost and the problem that causes the booting operating system failure, also can solve sector corruption and cause the problem of booting operating system failure.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. a method that starts recovery is characterized in that, described method comprises:
When guiding during operating system, enable advanced configuration and power-management interface ACPI function, the configuration information of hard disk is backuped among the flash ROM Flash ROM;
When again guiding operating system and guide unsuccessfully, the configuration information of the hard disk that backs up in the described Flash ROM is loaded in the described hard disk starts the operating system, or start the operating system by the configuration information of the hard disk that backs up in the described Flash ROM.
2. method according to claim 1 is characterized in that, when guiding during operating system, enables advanced configuration and power-management interface ACPI function, and the configuration information of hard disk is backuped among the flash ROM Flash ROM, comprising:
When basic input-output system BIOS guiding operating system, enable the ACPI function;
Triggering system management interrupt SMI jumps to the configuration information that system management ram SMRAM reads described hard disk;
The configuration information of described hard disk is write among the Flash ROM;
Withdraw from described SMI, return BISO and continue the executive operating system boot flow.
3. method according to claim 1 is characterized in that, the configuration information of hard disk is backuped among the flash ROM Flash ROM, comprising:
Whether the configuration information of judging described hard disk comprises global unique identification partition table GPT head and partition table and all complete;
If so, then described GPT head and partition table are write among the Flash ROM.
4. method according to claim 1 is characterized in that, the configuration information of hard disk is backuped among the flash ROM Flash ROM, comprising:
Judge the backup that whether has the configuration information of described hard disk among the Flash ROM;
If no, then the configuration information of described hard disk is backuped among the flash ROM Flash ROM.
5. method according to claim 1, it is characterized in that, the configuration information of the hard disk that backs up in the described Flash ROM be loaded in the described hard disk start the operating system, or start the operating system by the configuration information of the hard disk that backs up in the described Flash ROM, comprising:
Provide option whether to start recovery for user selection, and receive user's selection;
If user selection starts recovery, then the configuration information of the hard disk that backs up in the described Flash ROM is loaded in the described hard disk and starts the operating system, or start the operating system by the configuration information of the hard disk that backs up in the described Flash ROM.
6. each described method in 5 according to claim 1, it is characterized in that, when again guiding operating system and guide unsuccessfully, the configuration information of the hard disk that backs up in the described Flash ROM is loaded in the described hard disk starts the operating system, or start the operating system by the configuration information of the hard disk that backs up in the described Flash ROM, comprising:
When again guiding operating system and unusually guiding unsuccessfully owing to the information in the partition table, the configuration information of the hard disk that backs up in the described Flash ROM is loaded in the described hard disk starts the operating system; Perhaps,
When again guiding operating system and unusually guiding unsuccessfully owing to the sector at partition table place, the configuration information by the hard disk that backs up in the described Flash ROM starts the operating system.
7. a device that starts recovery is characterized in that, described device comprises:
Backup module is used for enabling advanced configuration and power-management interface ACPI function when guiding operating system, and the configuration information of hard disk is backuped among the flash ROM Flash ROM;
Recover module, be used for when again guiding operating system and guide unsuccessfully, the configuration information of the hard disk that backs up in the described Flash ROM is loaded in the described hard disk starts the operating system, or start the operating system by the configuration information of the hard disk that backs up in the described Flash ROM.
8. device according to claim 7 is characterized in that, described backup module specifically is used for: when basic input-output system BIOS guiding operating system, enable the ACPI function; Triggering system management interrupt SMI jumps to the configuration information that system management ram SMRAM reads described hard disk; The configuration information of described hard disk is write among the Flash ROM; Withdraw from described SMI, return BISO and continue the executive operating system boot flow.
9. device according to claim 7, it is characterized in that, described backup module specifically is used for: when guiding operating system, enable the ACPI function, whether the configuration information of judging described hard disk comprises global unique identification partition table GPT head and partition table and all complete, if so, then described GPT head and partition table are write among the Flash ROM.
10. device according to claim 7 is characterized in that, described backup module comprises:
Judging unit is used for judging whether Flash ROM has the backup of the configuration information of described hard disk;
The second backup units is no if be used for the result of described judgment unit judges, and then the configuration information with described hard disk backups among the Flash ROM.
11. device according to claim 7, it is characterized in that, described recovery module specifically is used for: when again guiding operating system and guide unsuccessfully, provide option whether to start recovery for user selection, and reception user's selection, if user selection starts recovery, then the configuration information of the hard disk that backs up in the described Flash ROM is loaded in the described hard disk and starts the operating system, or start the operating system by the configuration information of the hard disk that backs up in the described Flash ROM.
12. each described device in 11 according to claim 7 is characterized in that described recovery module comprises:
The first recovery unit is used for when again guiding operating system and unusually guiding unsuccessfully owing to the information in the partition table, the configuration information of the hard disk that backs up in the described Flash ROM is loaded in the described hard disk start the operating system;
Perhaps,
The second recovery unit is used for when again guiding operating system and because the sector at partition table place is unusual when guiding unsuccessfully, and the configuration information by the hard disk that backs up in the described Flash ROM starts the operating system.
CN201180002245.2A 2011-10-28 2011-10-28 Method and device for starting recovery Active CN102439565B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/081504 WO2012163029A1 (en) 2011-10-28 2011-10-28 Reboot recovery method and device

Publications (2)

Publication Number Publication Date
CN102439565A CN102439565A (en) 2012-05-02
CN102439565B true CN102439565B (en) 2013-04-24

Family

ID=45986236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180002245.2A Active CN102439565B (en) 2011-10-28 2011-10-28 Method and device for starting recovery

Country Status (2)

Country Link
CN (1) CN102439565B (en)
WO (1) WO2012163029A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9886332B2 (en) 2015-05-04 2018-02-06 International Business Machines Corporation Storage and application intercommunication using ACPI

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103189840A (en) * 2011-12-27 2013-07-03 华为技术有限公司 Method for backing up startup information about storage device
CN103677875A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Method for starting electronic equipment, method for controlling permission and electronic equipment
CN103392174B (en) * 2012-11-29 2015-11-25 华为技术有限公司 Based on the system of flash memory storage, partition method and device
CN105100896B (en) * 2014-05-19 2019-12-10 中兴通讯股份有限公司 Method and device for repairing set top box configuration damage
EP3367206B1 (en) * 2016-12-30 2019-09-25 Huawei Technologies Co., Ltd. Server management method and server
CN108733501A (en) * 2017-04-14 2018-11-02 优估(上海)信息科技有限公司 A kind of drive bearing calibration, device, equipment and computer readable storage medium
CN107766102B (en) * 2017-10-16 2020-10-23 环胜电子(深圳)有限公司 Boot method of dual basic input/output system (BIOS) and electronic device with same
CN110333901A (en) * 2019-07-09 2019-10-15 环胜电子(深圳)有限公司 The title update method of storage device
US11112983B2 (en) * 2019-08-28 2021-09-07 Micron Technology, Inc. Recovery of memory device from a reduced power state
WO2021154200A1 (en) 2020-01-27 2021-08-05 Hewlett-Packard Development Company, L.P. Firmware corruption recovery
CN113495806A (en) * 2020-03-20 2021-10-12 宇龙计算机通信科技(深圳)有限公司 Method, device, storage medium and terminal for recovering user data
CN114168379B (en) * 2021-10-31 2023-12-19 浪潮(山东)计算机科技有限公司 Data backup and restoration method and related device
CN116466997A (en) * 2023-04-10 2023-07-21 合芯科技有限公司 Starting method and device of operating system, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1460210A (en) * 2001-04-25 2003-12-03 成津C&C株式会社 Apparatus and method for protecting failure of computer operating system
CN1512346A (en) * 2002-12-31 2004-07-14 联想(北京)有限公司 Computer system backup and restoring method
CN1722097A (en) * 2004-07-12 2006-01-18 Lg电子株式会社 Apparatus and method for crisis recovery
CN1954283A (en) * 2004-05-22 2007-04-25 陈锦夫 Swapping 'fixed' 'system' hard disk
CN101593083A (en) * 2008-05-26 2009-12-02 联想(北京)有限公司 Device, computing machine and method that computer profile is protected and recovered

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007076627A1 (en) * 2005-12-30 2007-07-12 Intel Corporation System backup and recovery solution based on bios

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1460210A (en) * 2001-04-25 2003-12-03 成津C&C株式会社 Apparatus and method for protecting failure of computer operating system
CN1512346A (en) * 2002-12-31 2004-07-14 联想(北京)有限公司 Computer system backup and restoring method
CN1954283A (en) * 2004-05-22 2007-04-25 陈锦夫 Swapping 'fixed' 'system' hard disk
CN1722097A (en) * 2004-07-12 2006-01-18 Lg电子株式会社 Apparatus and method for crisis recovery
CN101593083A (en) * 2008-05-26 2009-12-02 联想(北京)有限公司 Device, computing machine and method that computer profile is protected and recovered

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9886332B2 (en) 2015-05-04 2018-02-06 International Business Machines Corporation Storage and application intercommunication using ACPI
US10169113B2 (en) 2015-05-04 2019-01-01 International Business Machines Corporation Storage and application intercommunication using ACPI

Also Published As

Publication number Publication date
WO2012163029A1 (en) 2012-12-06
CN102439565A (en) 2012-05-02

Similar Documents

Publication Publication Date Title
CN102439565B (en) Method and device for starting recovery
US9507672B2 (en) Method, apparatus, and system for generating and recovering memory snapshot of virtual machine
US7941700B2 (en) Operating system-based application recovery
US9552168B2 (en) Virtual machine backup from storage snapshot
KR101994811B1 (en) Electronic apparatus, method for restore of mbr and computer-readable recording medium
US10067835B2 (en) System reset
US7447888B2 (en) Method for restoring computer operating system
WO2017049828A1 (en) Method, device and system for data processing based on linux
US9600369B2 (en) Operating system recovery method and apparatus, and terminal device
JP2012508932A (en) Manage cache data and metadata
US20080098381A1 (en) Systems and methods for firmware update in a data processing device
EP1879109A1 (en) Information processing device, program, and storage medium
US20060224874A1 (en) Method for updating system management basic input output system (SMBIOS) data
US20100037092A1 (en) System and method for backup, reboot, and recovery
US20130061090A1 (en) Partial rebooting recovery apparatus and method
GB2434888A (en) System for restoring a crashed client device by saving a configuration state to a server and creating a boot medium from the saved state.
US20190004818A1 (en) Method of UEFI Shell for Supporting Power Saving Mode and Computer System thereof
JP2010282468A (en) Computer system and fault restoration method
CN111143132A (en) BIOS recovery method, device, equipment and readable storage medium
EP2453359B1 (en) Server having memory dump function and method for acquiring memory dump
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
CN103189840A (en) Method for backing up startup information about storage device
CN107506141B (en) Method and system for automatically judging and activating volume group state by storage system
JP5910413B2 (en) Information processing apparatus, activation program, and activation method
US20140082313A1 (en) Storage class memory evacuation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant