CN102439565A - Method and device for starting recovery - Google Patents

Method and device for starting recovery Download PDF

Info

Publication number
CN102439565A
CN102439565A CN2011800022452A CN201180002245A CN102439565A CN 102439565 A CN102439565 A CN 102439565A CN 2011800022452 A CN2011800022452 A CN 2011800022452A CN 201180002245 A CN201180002245 A CN 201180002245A CN 102439565 A CN102439565 A CN 102439565A
Authority
CN
China
Prior art keywords
hard disk
configuration information
flash rom
operating system
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.)
Granted
Application number
CN2011800022452A
Other languages
Chinese (zh)
Other versions
CN102439565B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

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 pilot operationp 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 of processor instruction 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).
Extensively popularizing of Along with computer technology and technique of internet used, and produced the data of magnanimity, and wherein major part is stored in the hard disk.Traditional M BR (Master Boot Record, MBR) hard disk, max cap. is 2TB (TeraBytes, a terabyte), and each disk has 4 main partitions at most, perhaps comprises 3 main partitions, 1 extended partition and unconfined logical drive.What substitute the MBR hard disk at present gradually 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 4,300,000,000 subregions at most.Obviously different with 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, GPT subregion 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 key messages such as GPT head and partition table.Because the destruction of virus, the error of operation and many accidental factors possibly make GPT head and partition table destroyed, thereby can't normal load operating system, even damage boot sector, cause the interior loss of data of hard disk.
There are two kinds to start the problem that restoration methods can solve the booting operating system failure at present; First method is at DOS (Disk Operating System; Disc operating system (DOS)) backs up information such as GPT head and partition table down earlier; When going wrong in BIOS pilot operationp system then, be loaded into the fault sector to the information of backup and accomplish the startup recovery.Second method is to carry out the backup of subregion backup or DISK to Image with data backup software Symantec Ghost, under the DOS interface, starts then and recovers.
But first method is to carry out hard disk backup at the DOS state, occurs wrong easily or failure.Second method backup subregion or DISK to Image need the long time, and release time is also longer, and backup need take very big storage space, waste resource, only support traditional M BR hard disk at present, do not support the GPT hard disk; If the content in the hard disk is changed, then need backup again, 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.Said technical scheme is following:
On the one hand, a kind of method that starts recovery, said method comprises:
When the pilot operationp 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 pilot operationp system once more and when failure guiding, the configuration information of the hard disk that backs up in the said Flash ROM is loaded in the said hard disk starts the operating system, or start the operating system through the configuration information of the hard disk that backs up in the said Flash ROM.
On the other hand, a kind of device that starts recovery, said device comprises:
Backup module is used for when the pilot operationp 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;
Recover module; Be used for when operating system and guiding are failed once more; The configuration information of the hard disk that backs up in the said Flash ROM is loaded in the said hard disk starts the operating system, or start the operating system through the configuration information of the hard disk that backs up in the said Flash ROM.
The beneficial effect of the technical scheme that the embodiment of the invention provides is: backup hard disk configuration information is to Flash ROM when enabling the ACPI function through operating system; And when pilot operationp system once more and guiding failure; The hard disk configuration information of backup is loaded into hard disk startup operating system, or starts the operating system, realized the automated back-up of hard disk through the hard disk configuration information of backup; And startup recovers fast; Simple to operate, greatly reduced requirement to operating personnel, improved and started the success ratio of recovering.And the hard disk relevant information is a 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 is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
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 disk structural representation that the embodiment of the invention 2 provides;
Fig. 4 is the MBR hard disk structural representation 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 object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
Embodiment 1
Usually, the pilot operationp 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 the pilot operationp system.Wherein, said bootable file is stored on the hard disk usually, and when hard disk had a plurality of subregion, bootable file was stored on certain subregion wherein.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, the pilot operationp thrashing will take place, can't accomplish 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 this method comprises:
101: when the pilot operationp 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 pilot operationp system once more and when failure guiding, 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 through the configuration information of the hard disk that backs up in the Flash ROM.
ACPI has defined the novel working interface between Windows, BIOS and the system hardware; These interfaces comprise the mechanism that allows Windows control power management and equipment disposition; When operating system enabled the ACPI function, BIOS can carry out each item function according to relevant agreement.Usually after reading the bootable file success, beginning pilot operationp system can enable the ACPI function then, 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 is meant the configuration 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, backup hard disk 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 a flash ROM, is a kind of non-volatile internal memory, is used in usually 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 through 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 like data, and perhaps the sector at partition table place is unusual, like sector corruption etc.
Under a kind of mode; When the information in the partition table is unusual; After can the configuration information of the hard disk that backs up in the Flash ROM being loaded into hard disk; Hard disk configuration information according in the hard disk continues to start the operating system, thereby the startup flow process of complete operation system can solve that the hard disk configuration information is lost and the problem that causes booting operating system failure.Under the another kind of mode, when the sector at partition table place is unusual, can start the operating system, can solve sector corruption and cause the problem of booting operating system failure through the configuration information of the hard disk that backs up in the Flash ROM.
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 then said 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 then this MBR partition table is write among the Flash ROM.
The said method that present embodiment provides backs up the hard disk configuration information to Flash ROM when enabling the ACPI function through operating system, and when pilot operationp system once more and guiding failure; The hard disk configuration information of backup is loaded into hard disk startup operating system, or starts the operating system, realized the automated back-up of hard disk through the hard disk configuration information of backup; And startup recovers fast; Simple to operate, greatly reduced requirement to operating personnel, improved and started the success ratio of recovering.And; The hard disk relevant information is a dynamic backup, even the hard disk relevant information changes, also need not manual operation; Compare with existing manually the backup by manual work at the DOS state; Greatly saved user's time and efforts, and well protected the data on the hard disk, also reduced requirement operating personnel.In addition, only back up the configuration information of hard disk, 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 to back up again even change has taken place 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 pilot operationp system, enable the ACPI function.
202: trigger SMI (System Management Interrupt; System management interrupt), enter into SMM (System Management mode, SMM); Jump to SMRAM (System Management RAM, system management ram) and read the configuration information of hard disk.
203: the configuration information of hard disk is write among the Flash ROM, accomplish the backup of hard disk configuration information.
204: withdraw from SMI, return BISO and continue the executive operating system boot flow.
205: when BIOS pilot operationp system once more and when failure guiding, 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 through the configuration information of the hard disk that backs up in the Flash ROM.
Booting operating system failure in the present embodiment is meant 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) of after 386SL, introducing the X86 architecture, has only through SMI just can get into SMM.Backup is withdrawed from SMI after accomplishing, and 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.SMM 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.Carry out through 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 said 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 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 said protection is meant the information compatible relevant with keeping MBR.Main GPT is exactly a partition table, can find each subregion through this partition table.Backup GPT is meant the backup of main GPT.
In another scene of present embodiment, the configuration information of said 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 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 through 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, is meant 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 pilot operationp system once more and owing to the information in the partition table guides when failure unusually, 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 pilot operationp system once more and owing to the sector at partition table place guide when failing unusually, the configuration information through the hard disk that backs up in the Flash ROM starts the operating system.
The said method that present embodiment provides backs up the hard disk configuration information to Flash ROM when enabling the ACPI function through operating system, and when pilot operationp system once more and guiding failure; The hard disk configuration information of backup is loaded into hard disk startup operating system, or starts the operating system, realized the automated back-up of hard disk through the hard disk configuration information of backup; And startup recovers fast; Simple to operate, greatly reduced requirement to operating personnel, improved and started the success ratio of recovering.
And; The hard disk relevant information is a dynamic backup, even the hard disk relevant information changes, also need not manual operation; Compare with existing manually the backup by manual work at the DOS state; Greatly saved user's time and efforts, and well protected the data on the hard disk, also reduced requirement operating personnel.
In addition, only back up the configuration information of hard disk, 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 to back up again even change has taken place the content in the hard disk, use more flexible.
Have, this method had both been supported the MBR hard disk again, supported the GPT hard disk again; Do not need third party's instrument yet; Simple to operate, easy master, success ratio is high; Can solve not only that the hard disk configuration information is lost and the problem that causes 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 first kind of 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 said 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 said hard disk among the Flash ROM;
If there is not the backup of the configuration information of said 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 under the situation of hard disk configuration information backup, still back up, thereby save the flow process that backs up, improve backup efficient.
Under second kind of 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 through the hard disk that backs up in the Flash ROM, can specifically comprise:
Provide option to supply the user to select whether to start recovery, and receive user's selection;
If the user selects to start 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 through the configuration information of the hard disk that backs up in the Flash ROM.
Under this embodiment, the chance that can select to the user, and start recovery according to user's selection, and taken into full account user's demand, improved user's property of participation, strengthened user's satisfaction, promoted user's experience.
Certainly above-mentioned first kind of embodiment and second kind of embodiment also can combine application; Before the configuration information of backup hard disk, earlier Flash ROM is judged; And before starting recovery, please the user select whether start recovery, thereby both save the flow process of backup, improve 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, said key message can be the information that needs protection, and like 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 through 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 when the pilot operationp 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;
Recover module 502, be used for when pilot operationp system once more and guiding failure, 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 through the configuration information of the hard disk that backs up in the Flash ROM.
Under first kind of embodiment, backup module 501 can specifically be used for: when basic input-output system BIOS pilot operationp 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 second kind of embodiment, backup module 501 can specifically be used for:
When the pilot operationp 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 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;
Second backup units is that then the configuration information with hard disk does not backup among the FlashROM if be used for the result of judgment unit judges.
Under the 4th kind of embodiment; Recovering module 502 can specifically be used for: when pilot operationp system once more and guiding failure; Provide option to supply the user to select whether to start recovery, and receive user's selection, if the user selects to start 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 through 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:
First recovery unit is used for when pilot operationp system once more and owing to the information in the partition table guides when failure unusually, 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,
Second recovery unit is used for when pilot operationp system once more and owing to the sector at partition table place guide when failing unusually, and the configuration information through the hard disk that backs up in the Flash ROM starts the operating system.
The said apparatus that present embodiment provides backs up the hard disk configuration information to Flash ROM when enabling the ACPI function through operating system, and when pilot operationp system once more and guiding failure; The hard disk configuration information that backs up is loaded into boot sector starts the operating system, or start the operating system, realized the automated back-up of hard disk through the hard disk configuration information of backup; And startup recovers fast; Simple to operate, greatly reduced requirement to operating personnel, improved and started the success ratio of recovering.And; The hard disk relevant information is a dynamic backup, even the hard disk relevant information changes, also need not manual operation; Compare with existing manually the backup by manual work at the DOS state; Greatly saved user's time and efforts, and well protected the data on the hard disk, also reduced requirement operating personnel.In addition, only back up the configuration information of hard disk, 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 to back up again even change has taken place the content in the hard disk, use more flexible.Have, this method had both been supported the MBR hard disk again, supported the GPT hard disk again; Do not need third party's instrument yet; Simple to operate, easy master, success ratio is high; Can solve not only that the hard disk configuration information is lost and the problem that causes 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 the foregoing description can be accomplished through hardware; Also can instruct relevant hardware to accomplish through program; Described program can be stored in a kind of computer-readable recording medium; The above-mentioned storage medium of mentioning can be a ROM (read-only memory), disk or CD etc.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, 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, said method comprises:
When the pilot operationp 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 pilot operationp system once more and when failure guiding, the configuration information of the hard disk that backs up in the said Flash ROM is loaded in the said hard disk starts the operating system, or start the operating system through the configuration information of the hard disk that backs up in the said Flash ROM.
2. method according to claim 1 is characterized in that, when the pilot operationp 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 pilot operationp system, enable the ACPI function;
Triggering system management interrupt SMI jumps to the configuration information that system management ram SMRAM reads said hard disk;
The configuration information of said hard disk is write among the Flash ROM;
Withdraw from said 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 said hard disk comprises global unique identification partition table GPT head and partition table and all complete;
If then said 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 said hard disk among the Flash ROM;
If no, then the configuration information of said 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 said Flash ROM be loaded in the said hard disk start the operating system, or start the operating system, comprising through the configuration information of the hard disk that backs up in the said Flash ROM:
Provide option to supply the user to select whether to start recovery, and receive user's selection;
If the user selects to start recovery, then the configuration information of the hard disk that backs up in the said Flash ROM is loaded in the said hard disk and starts the operating system, or start the operating system through the configuration information of the hard disk that backs up in the said Flash ROM.
6. according to each described method in the claim 1 to 5; It is characterized in that; When pilot operationp system once more and guiding failure; The configuration information of the hard disk that backs up in the said Flash ROM be loaded in the said hard disk start the operating system, or start the operating system, comprising through the configuration information of the hard disk that backs up in the said Flash ROM:
When pilot operationp system once more and owing to the information in the partition table guides when failure unusually, the configuration information of the hard disk that backs up in the said Flash ROM is loaded in the said hard disk starts the operating system; Perhaps,
When pilot operationp system once more and owing to the sector at partition table place guide when failing unusually, the configuration information through the hard disk that backs up in the said Flash ROM starts the operating system.
7. a device that starts recovery is characterized in that, said device comprises:
Backup module is used for when the pilot operationp 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;
Recover module; Be used for when pilot operationp system once more and guiding failure; The configuration information of the hard disk that backs up in the said Flash ROM is loaded in the said hard disk starts the operating system, or start the operating system through the configuration information of the hard disk that backs up in the said Flash ROM.
8. device according to claim 7 is characterized in that, said backup module specifically is used for: when basic input-output system BIOS pilot operationp system, enable the ACPI function; Triggering system management interrupt SMI jumps to the configuration information that system management ram SMRAM reads said hard disk; The configuration information of said hard disk is write among the Flash ROM; Withdraw from said SMI, return BISO and continue the executive operating system boot flow.
9. device according to claim 7; It is characterized in that; Said backup module specifically is used for: when the pilot operationp system, enable the ACPI function, judge whether the configuration information of said hard disk comprises global unique identification partition table GPT head and partition table and all complete; If then said GPT head and partition table are write among the Flash ROM.
10. device according to claim 7 is characterized in that, said backup module comprises:
Judging unit is used for judging whether Flash ROM has the backup of the configuration information of said hard disk;
Second backup units is that then the configuration information with said hard disk does not backup among the Flash ROM if be used for the result of said judgment unit judges.
11. device according to claim 7; It is characterized in that said recovery module specifically is used for: when pilot operationp system once more and guiding failure, provide option to supply the user to select whether to start recovery; And reception user's selection; If the user selects to start recovery, then the configuration information of the hard disk that backs up in the said Flash ROM is loaded in the said hard disk and starts the operating system, or start the operating system through the configuration information of the hard disk that backs up in the said Flash ROM.
12., it is characterized in that said recovery module comprises according to each described device in the claim 7 to 11:
First recovery unit is used for when pilot operationp system once more and owing to the information in the partition table guides when failure unusually, the configuration information of the hard disk that backs up in the said Flash ROM is loaded in the said hard disk start the operating system;
Perhaps,
Second recovery unit is used for when pilot operationp system once more and owing to the sector at partition table place guide when failing unusually, and the configuration information through the hard disk that backs up in the said 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 true CN102439565A (en) 2012-05-02
CN102439565B 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 (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
CN103392174A (en) * 2012-11-29 2013-11-13 华为技术有限公司 System based on flash storage, partitioning method and apparatus
CN103677875A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Method for starting electronic equipment, method for controlling permission and electronic equipment
CN105100896A (en) * 2014-05-19 2015-11-25 中兴通讯股份有限公司 Method and device for restoring configuration of set top box from damage
CN107766102A (en) * 2017-10-16 2018-03-06 环胜电子(深圳)有限公司 The starting-up method of double ROM-BIOSs (BIOS) and there is its electronic installation
WO2018120200A1 (en) * 2016-12-30 2018-07-05 华为技术有限公司 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
CN110333901A (en) * 2019-07-09 2019-10-15 环胜电子(深圳)有限公司 The title update method of storage device
CN112445532A (en) * 2019-08-28 2021-03-05 美光科技公司 Recovery of memory device from 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
CN114168379A (en) * 2021-10-31 2022-03-11 浪潮(山东)计算机科技有限公司 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

Families Citing this family (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

Citations (6)

* 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
US20090158020A1 (en) * 2005-12-30 2009-06-18 Hanying Chen System Backup And Recovery Solution Based On BIOS
CN101593083A (en) * 2008-05-26 2009-12-02 联想(北京)有限公司 Device, computing machine and method that computer profile is protected and recovered

Patent Citations (6)

* 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
US20090158020A1 (en) * 2005-12-30 2009-06-18 Hanying Chen System Backup And Recovery Solution Based On BIOS
CN101593083A (en) * 2008-05-26 2009-12-02 联想(北京)有限公司 Device, computing machine and method that computer profile is protected and recovered

Cited By (20)

* 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
WO2013097095A1 (en) * 2011-12-27 2013-07-04 华为技术有限公司 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
CN103392174A (en) * 2012-11-29 2013-11-13 华为技术有限公司 System based on flash storage, partitioning method and apparatus
WO2014082250A1 (en) * 2012-11-29 2014-06-05 华为技术有限公司 System, partition method and device based on flash memory
CN103392174B (en) * 2012-11-29 2015-11-25 华为技术有限公司 Based on the system of flash memory storage, partition method and device
CN105100896A (en) * 2014-05-19 2015-11-25 中兴通讯股份有限公司 Method and device for restoring configuration of set top box from damage
CN105100896B (en) * 2014-05-19 2019-12-10 中兴通讯股份有限公司 Method and device for repairing set top box configuration damage
US10430082B2 (en) 2016-12-30 2019-10-01 Huawei Technologies Co., Ltd. Server management method and server for backup of a baseband management controller
WO2018120200A1 (en) * 2016-12-30 2018-07-05 华为技术有限公司 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
CN107766102A (en) * 2017-10-16 2018-03-06 环胜电子(深圳)有限公司 The starting-up method of double ROM-BIOSs (BIOS) and there is its electronic installation
CN110333901A (en) * 2019-07-09 2019-10-15 环胜电子(深圳)有限公司 The title update method of storage device
CN112445532A (en) * 2019-08-28 2021-03-05 美光科技公司 Recovery of memory device from reduced power state
WO2021154200A1 (en) 2020-01-27 2021-08-05 Hewlett-Packard Development Company, L.P. Firmware corruption recovery
EP4097593A4 (en) * 2020-01-27 2023-10-04 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
CN114168379A (en) * 2021-10-31 2022-03-11 浪潮(山东)计算机科技有限公司 Data backup and restoration method and related device
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

Also Published As

Publication number Publication date
CN102439565B (en) 2013-04-24
WO2012163029A1 (en) 2012-12-06

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
US11436091B2 (en) Method and apparatus for generating virtual machine snapshot
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
US9600369B2 (en) Operating system recovery method and apparatus, and terminal device
EP1879109A1 (en) Information processing device, program, and storage medium
US20080098381A1 (en) Systems and methods for firmware update in a data processing device
KR101696490B1 (en) Partial rebooting recovery apparatus and method
US20150154033A1 (en) Computer system and boot method thereof
CN111143132B (en) BIOS recovery method, device, equipment and readable storage medium
US20100037092A1 (en) System and method for backup, reboot, and recovery
CN102331958A (en) Method for starting hard disk under Linux system
JP2010282468A (en) Computer system and fault restoration method
US8990630B2 (en) Server having memory dump function and memory dump acquisition method
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
JP5910413B2 (en) Information processing apparatus, activation program, and activation method
US20140082313A1 (en) Storage class memory evacuation
US20160004607A1 (en) Information processing apparatus and information processing method
EP1914628A1 (en) Method for changing booting sources of computer system and related backup/restore method thereof
CN107209727B (en) Storage system
CN118093240A (en) Hard disk fault processing method, device, computer equipment, storage medium and program product

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