CN109086085A - A kind of os starting management method and device - Google Patents
A kind of os starting management method and device Download PDFInfo
- Publication number
- CN109086085A CN109086085A CN201810834966.3A CN201810834966A CN109086085A CN 109086085 A CN109086085 A CN 109086085A CN 201810834966 A CN201810834966 A CN 201810834966A CN 109086085 A CN109086085 A CN 109086085A
- Authority
- CN
- China
- Prior art keywords
- specific markers
- starting
- partition holding
- backup
- marker bit
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of os starting management method and device, method and step: specific markers A, are detected, when the marker bit of specific markers has not been set to, then normal activation system, no to then follow the steps B;B, System guides priority is adjusted, checks whether partition holding meets reduction or backup condition, meets and thens follow the steps C;C, backup or restoring operation are executed according to specific markers, removes the marker bit of specific markers;D, restart system.System includes processor and memory, wherein the memory includes several partition holdings, and the processor corresponds to step for method.The present invention determines that system starts priority by the detection of specific markers, it is capable of providing the degree of automation of starting, by checking that the configuration of partition holding can guarantee the entire run of Booting sequence, it can reduce the operation complexity of maintenance personnel based on above-mentioned advantage, reduce maintenance cost.
Description
Technical field
The present invention relates to computer operating system technical field more particularly to a kind of os starting management method and dresses
It sets.
Background technique
With the upgrading of various System on Chip/SoC, BIOS is for Legacy operating system (system of MBR guidance mode)
Support increasingly come poor or even some hardware platforms BIOS not support Legacy operating system.Originally it is based on DOS
A key restore backup scenario, as at all GHOST is unable to run under pure UEFI environment;And it is existing for reduction and backup
Scheme requires more professional technical background, and more professional system maintenance personnel is employed then to increase the system maintenance of little company
Cost.
Summary of the invention
To solve the above-mentioned problems, the present invention provides a kind of os starting management method and device.
On the one hand the technical solution adopted by the present invention is a kind of os starting management method, suitable for UEFI framework
Firmware, comprising steps of A, detection specific markers, when the marker bit of specific markers has not been set to, then normal activation system, is otherwise held
Row step B;B, System guides priority is adjusted, checks whether partition holding meets reduction or backup condition, meets, executes step
Rapid C;C, backup or restoring operation are executed according to specific markers, removes the marker bit of specific markers;D, restart system.
It is preferably based on WINPE and realizes step A~D.
Preferably, the step B further include: adjustment System guides priority, check partition holding whether meet reduction or
Backup condition does not meet then output error message, and the marker bit for removing specific markers is laid equal stress on starting system.
Preferably, the partition holding is respectively used to the data of storage different operating system.
Preferably, the amount of capacity of the corresponding partition holding of different operating system is particular value.
On the one hand the technical solution adopted by the present invention is a kind of os starting managing device, comprising: processor and deposit
Reservoir, wherein the memory includes several partition holdings, and the processor is for executing step: A, detecting specific markers, when
The marker bit of specific markers has not been set to, then normal activation system, no to then follow the steps B;B, System guides priority, inspection are adjusted
It looks into whether partition holding meets reduction or backup condition, meets and then follow the steps C;C, backup is executed according to specific markers or go back
Origin operation removes the marker bit of specific markers;D, restart system.
Preferably, the processor is based on WINPE and realizes step A~D.
Preferably, step B further include: adjustment System guides priority checks whether partition holding meets reduction or backup
Condition does not meet then output error message, and the marker bit for removing specific markers is laid equal stress on starting system.
Preferably, the partition holding is respectively used to the data of storage different operating system.
Preferably, the amount of capacity of the corresponding partition holding of different operating system is particular value.
Beneficial effects of the present invention are the detection by specific markers to determine that system starts priority, are capable of providing starting
The degree of automation, by checking that the configuration of partition holding can guarantee the entire run of Booting sequence, based on above-mentioned advantage energy
The operation complexity for enough reducing maintenance personnel, reduces maintenance cost.
Detailed description of the invention
Fig. 1 show the Booting sequence schematic diagram based on the embodiment of the present invention.
Specific embodiment
The present invention will be described with reference to embodiments.
Embodiment 1 based on invention
The purpose of the present embodiment is to illustrate problem of the prior art and basic settlement steps to deal of the invention, firstly, operation system
System and corresponding firmware can update with advances in technology, for example, because hardware platform architecture upgrades, UEFI firmware pair
Legacy system (MBR guidance mode) supports that worse and worse some hardware platform firmwares do not support MBR guidance even, leads
Traditional backup and reduction software is caused to lack the environment of software operation, and the complication system Starting mode based on BIOS is not appropriate for this
A little new hardware platforms, therefore, settling mode of the invention is simplified operating procedure, i.e., obtains one by the external equipment such as key
A specific input (i.e. specific markers), the marker bit of the specific markers have been set to, then enter behaviour representated by the specific markers
Make process, the normal starting if not set;Operating process representated by specific markers includes backup-and-restore, main purpose
It is that data are stored in or are proposed from partition holding, while for the purpose of system safety, can check whether partition holding allows just
Often (such as data read in whether reading is normal, and whether memory space is enough etc.), finally restarts system.
Embodiment 2 based on invention
The purpose of the present embodiment is to illustrate the technical foundation of problem of the prior art and solution of the invention: such as
The reason of old scheme such as BIOS incompatible Legacy and UEFI system is that the use environment of backup tool is Legacy system, pure
The reason of can not being guided on UEFI hardware platform, not supporting UEFI system backup here it is existing aspect;It is fixed in UEFI firmware
Adopted backup-and-restore subsystem guides file path, and Kd Backup option can be produced in BIOS boot-list, guidance is caused to be lost
It loses.
Therefore, present aspect is taken based on the WINPE (extracting from Win10 system mounting disc) of UEFI guidance, then exists
The reduction and backup of system are realized in WINPE;By cutting and customizing WINPE, system for writing and compiling backs up/errorlevel is restored,
Realize subregion, formatting, the verification of system data and the backup of system and reduction of storage equipment;For adapting to step A~D's
It realizes.
Embodiment 3 based on invention
The purpose of the present embodiment is to illustrate the thinking of the preferred embodiment of problem of the prior art and solution of the invention:
In actual system maintenance, the more than one system that client needs, in order to distinguish different systems, partition holding can be divided into
The space of different particular sizes, such as the space of boot partition one particular size of distribution of atomic system will be backed up/goes back, such as
1234MB, while providing that the boot partition of UEFI system is first subregion, and MBR system boot partition is second subregion,
Back up/go back in this way atomic system starting after, first check storage equipment first subregion or second subregion size whether be
1234MB, it is correct if it is zoned format is shown, if first partition size is 1234MB, then it represents that user installation is
UEFI system, otherwise user installation is Legacy system;Through the above steps, the standard that can unify upkeep operation, makes not
The operation of same maintenance personnel is consistent, reduces the maintenance risk in later period.
Embodiment 4 based on invention
Booting sequence as indicated with 1, comprising steps of
The power-on self-test of hardware/firmware, detect user key-press (i.e. specific markers) or automation label (i.e. completely without
The foolproof operation of operator's input);
Judge whether the marker bit for backing up or restoring has been set to, is not normally to start a computer (example of firmware
Son), it is the guidance priority for temporarily adjusting equipment (i.e. computer), will backs up/go back atomic system and be set as the first guidance;
It checks whether storage equipment partition meets the requirement for backing up/going back atomic system, does not meet, remove marker bit and beat
It misprints and misses prompt information;
Interpretation specific markers type (this example is to go back original system as confirming project at first), if for go back original system (or
Subsystem), it is to judge that system image whether there is, is not to remove marker bit and execute backup actions (to deposit data
Store up subregion);
System image exists if it does not exist, then removing marker bit and misprint prompt information, removes marker bit simultaneously
Execute homing action;
The step of restarting system and returning to power-on self-test.
Embodiment 5 based on invention
How the present embodiment realizes the present invention, if user will support for illustrating in the case where not being related to WINPE
WINPE is changed into linux system startup file by linux system, is then realized the backup of system with Linux system shell or is gone back
Original, solution principle are consistent with WINPE.UEFI firmware portions follow UEFI specification in the solution of the present invention, can be made into standalone module,
Compatible all hardware platform and UEFI bios code framework.Simply, easy-to-use, without professional knowledge background, it can be achieved that Automation
Administration's backup and reduction scheme is embedded into BIOS/firmware, and operation is very simple, is not necessarily to professional knowledge background, and user need to only press on keyboard
Some key (implementing generally to use Macintosh, prevent user without operation) system backup or reducing environment can be entered.User
Remotely or automatically change portion can be realized by notifying BIOS to carry out system backup or reduction toward CMOS or using the customized GPIO in family
Administration.Safety and reliability is high, and mirror image deployment is more flexible, autonomous controllable.Partition content and attribute can strictly be examined
It looks into, avoids the variation for answering equipment, when reduction has formatted subregion wrong, causes user data loss catastrophic effect.Yin Ben
The firmware implementation used is invented, can avoid damaging or losing because of operating system file, can not back up or restore system situation
(such as GHOST hard disk version).Backup image damages the present invention program for boot partition and is caused by can avoid because of virus in system
Mirror image storage partition definition of uniting is hidden partition, and without label, can not be accessed under operating system, is can avoid in this way because of disease in system
Poison causes mirror image to damage, and improves the reliability of system.
The above, only presently preferred embodiments of the present invention, the invention is not limited to above embodiment, as long as
It reaches technical effect of the invention with identical means, all should belong to protection scope of the present invention.In protection model of the invention
Its technical solution and/or embodiment can have a variety of different modifications and variations in enclosing.
Claims (10)
1. a kind of os starting management method, the firmware suitable for UEFI framework, which is characterized in that comprising steps of
A, specific markers are detected, when the marker bit of specific markers has not been set to, then normal activation system, no to then follow the steps B;
B, System guides priority is adjusted, checks whether partition holding meets reduction or backup condition, meets and thens follow the steps C;
C, backup or restoring operation are executed according to specific markers, removes the marker bit of specific markers;
D, restart system.
2. a kind of os starting management method according to claim 1, which is characterized in that realize step based on WINPE
Rapid A~D.
3. a kind of os starting management method according to claim 2, the step B further include:
System guides priority is adjusted, checks whether partition holding meets reduction or backup condition, does not meet then output error letter
Breath, the marker bit for removing specific markers are laid equal stress on starting system.
4. a kind of os starting management method according to claim 2, which is characterized in that the partition holding difference
For storing the data of different operating system.
5. a kind of os starting management method according to claim 4, which is characterized in that different operating system is corresponding
Partition holding amount of capacity be particular value.
6. a kind of os starting managing device characterized by comprising processor and memory, wherein the memory
Including several partition holdings, the processor is for executing step:
A, specific markers are detected, when the marker bit of specific markers has not been set to, then normal activation system, no to then follow the steps B;
B, System guides priority is adjusted, checks whether partition holding meets reduction or backup condition, meets and thens follow the steps C;
C, backup or restoring operation are executed according to specific markers, removes the marker bit of specific markers;
D, restart system.
7. a kind of os starting managing device according to claim 6, which is characterized in that the processor is based on
WINPE realizes step A~D.
8. a kind of os starting managing device according to claim 7, which is characterized in that step B further include:
System guides priority is adjusted, checks whether partition holding meets reduction or backup condition, does not meet then output error letter
Breath, the marker bit for removing specific markers are laid equal stress on starting system.
9. a kind of os starting managing device according to claim 7, which is characterized in that the partition holding difference
For storing the data of different operating system.
10. a kind of os starting managing device according to claim 9, which is characterized in that different operating system pair
The amount of capacity for the partition holding answered is particular value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810834966.3A CN109086085B (en) | 2018-07-26 | 2018-07-26 | Operating system start management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810834966.3A CN109086085B (en) | 2018-07-26 | 2018-07-26 | Operating system start management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109086085A true CN109086085A (en) | 2018-12-25 |
CN109086085B CN109086085B (en) | 2021-11-16 |
Family
ID=64830853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810834966.3A Active CN109086085B (en) | 2018-07-26 | 2018-07-26 | Operating system start management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109086085B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110502928A (en) * | 2019-08-28 | 2019-11-26 | 上海金卓网络科技有限公司 | Dual operating systems, working state control method, apparatus and storage medium |
CN112099992A (en) * | 2020-09-15 | 2020-12-18 | 深圳忆联信息系统有限公司 | System backup recovery method and device for server, computer equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549131A (en) * | 2003-05-06 | 2004-11-24 | 联想(北京)有限公司 | Repair method for computer operation system |
CN101901171A (en) * | 2009-05-27 | 2010-12-01 | 同方股份有限公司 | Using method of computer data backup and restore software |
CN102446104A (en) * | 2010-09-30 | 2012-05-09 | 研祥智能科技股份有限公司 | Method for starting up computer system |
US9135002B1 (en) * | 2009-03-06 | 2015-09-15 | Symantec Corporation | Systems and methods for recovering an application on a computing device |
CN104951701A (en) * | 2015-06-10 | 2015-09-30 | 北京工业大学 | Method for guiding terminal equipment operation system based on USB controller |
US20160085575A1 (en) * | 2014-09-22 | 2016-03-24 | Commvault Systems, Inc. | Efficient live-mount of a backed up virtual machine in a storage management system |
CN105677359A (en) * | 2016-01-29 | 2016-06-15 | 浪潮电子信息产业股份有限公司 | Method for realizing self-startup of USB system boot disk through hotkey |
CN105740092A (en) * | 2014-12-10 | 2016-07-06 | 鸿富锦精密工业(深圳)有限公司 | System backup and recovery method |
CN107436761A (en) * | 2017-07-01 | 2017-12-05 | 武汉噢易云计算股份有限公司 | The management method that UEFI systems based on UEFI mainboards coexist with legacy system |
CN108089889A (en) * | 2016-11-22 | 2018-05-29 | 中标软件有限公司 | The implementation method that (SuSE) Linux OS quickly starts |
-
2018
- 2018-07-26 CN CN201810834966.3A patent/CN109086085B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549131A (en) * | 2003-05-06 | 2004-11-24 | 联想(北京)有限公司 | Repair method for computer operation system |
US9135002B1 (en) * | 2009-03-06 | 2015-09-15 | Symantec Corporation | Systems and methods for recovering an application on a computing device |
CN101901171A (en) * | 2009-05-27 | 2010-12-01 | 同方股份有限公司 | Using method of computer data backup and restore software |
CN102446104A (en) * | 2010-09-30 | 2012-05-09 | 研祥智能科技股份有限公司 | Method for starting up computer system |
US20160085575A1 (en) * | 2014-09-22 | 2016-03-24 | Commvault Systems, Inc. | Efficient live-mount of a backed up virtual machine in a storage management system |
CN105740092A (en) * | 2014-12-10 | 2016-07-06 | 鸿富锦精密工业(深圳)有限公司 | System backup and recovery method |
CN104951701A (en) * | 2015-06-10 | 2015-09-30 | 北京工业大学 | Method for guiding terminal equipment operation system based on USB controller |
CN105677359A (en) * | 2016-01-29 | 2016-06-15 | 浪潮电子信息产业股份有限公司 | Method for realizing self-startup of USB system boot disk through hotkey |
CN108089889A (en) * | 2016-11-22 | 2018-05-29 | 中标软件有限公司 | The implementation method that (SuSE) Linux OS quickly starts |
CN107436761A (en) * | 2017-07-01 | 2017-12-05 | 武汉噢易云计算股份有限公司 | The management method that UEFI systems based on UEFI mainboards coexist with legacy system |
Non-Patent Citations (2)
Title |
---|
李战: "基于数字签名的UEFI BIOS安全更新机制的研究与实现", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》 * |
王伟: ""基于HP-UX11iV3操作系统BIOS的设计与实现"", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110502928A (en) * | 2019-08-28 | 2019-11-26 | 上海金卓网络科技有限公司 | Dual operating systems, working state control method, apparatus and storage medium |
CN112099992A (en) * | 2020-09-15 | 2020-12-18 | 深圳忆联信息系统有限公司 | System backup recovery method and device for server, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109086085B (en) | 2021-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6820214B1 (en) | Automated system recovery via backup and restoration of system state | |
CN104834575B (en) | A kind of firmware restoration method and device | |
KR101994811B1 (en) | Electronic apparatus, method for restore of mbr and computer-readable recording medium | |
CA2343304C (en) | Boot failure recovery | |
CN103150231B (en) | The method of computer booting and computer system | |
US6851073B1 (en) | Extensible system recovery architecture | |
US6205558B1 (en) | Recovery of file systems after modification failure | |
US7734945B1 (en) | Automated recovery of unbootable systems | |
US7962739B2 (en) | Recovering from hard disk errors that corrupt one or more critical system boot files | |
US7047403B2 (en) | Method and system for operating system recovery and method of using build-to-configuration mode to model computer system | |
US10068015B2 (en) | Monitoring a monitoring-target process | |
EP2652599B1 (en) | System reset | |
US20040172578A1 (en) | Method and system of operating system recovery | |
EP0917060A1 (en) | System for computer recovery using removable high capacity media | |
US7818622B2 (en) | Method for recovering data processing system failures | |
KR20040047209A (en) | Method for automatically recovering computer system in network and recovering system for realizing the same | |
US20190187977A1 (en) | Dual boot operating system installation using multiple redundant drives | |
US8990630B2 (en) | Server having memory dump function and memory dump acquisition method | |
KR20000049321A (en) | Auto-recovery system of LINUX using a flash card | |
US20090013167A1 (en) | Computer device, method for booting the same, and booting module for the same | |
CN102937902B (en) | A kind of method and apparatus of drive installation | |
CN109086085A (en) | A kind of os starting management method and device | |
US9250942B2 (en) | Hardware emulation using on-the-fly virtualization | |
CN113190256A (en) | Upgrading method, device and equipment | |
KR102274668B1 (en) | Apparatus and method for controlling updating software of AVN system in vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |