CN115202928A - Method and device for processing boot configuration data of operating system - Google Patents

Method and device for processing boot configuration data of operating system Download PDF

Info

Publication number
CN115202928A
CN115202928A CN202210650855.3A CN202210650855A CN115202928A CN 115202928 A CN115202928 A CN 115202928A CN 202210650855 A CN202210650855 A CN 202210650855A CN 115202928 A CN115202928 A CN 115202928A
Authority
CN
China
Prior art keywords
operating system
backup file
configuration data
backup
starting
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.)
Pending
Application number
CN202210650855.3A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202210650855.3A priority Critical patent/CN115202928A/en
Publication of CN115202928A publication Critical patent/CN115202928A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • 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/4406Loading of operating system
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

The present disclosure provides a method and a device for processing boot configuration data of an operating system, wherein the method comprises the following steps: based on the starting configuration data error, when the starting of the operating system fails, the baseboard control manager acquires a backup file of the starting configuration data stored on the baseboard control manager; and the baseboard control manager releases the backup file so as to call the backup file when the operating system is started. The method of the embodiment of the disclosure can conveniently and quickly solve the problem of failed starting of the operating system caused by the error of starting configuration data.

Description

Method and device for processing boot configuration data of operating system
Technical Field
The present disclosure relates to the field of computers, and in particular, to a method and an apparatus for processing boot configuration data of an operating system.
Background
When using a computer, the problem of corruption of the boot configuration data of the operating system is encountered. In this case, the operating system cannot be properly started. Even if the Boot Configuration Data is reconstructed using a system repair tool by entering an advanced fault repair interface, the reconstructed Boot Configuration Data (BCD) may have a problem and the system Boot fails.
Disclosure of Invention
The present disclosure provides a method and an apparatus for processing boot configuration data of an operating system, so as to at least solve the above technical problems in the prior art.
According to a first aspect of the present disclosure, there is provided an operating system boot configuration data processing method, the method including:
based on the starting configuration data error, when the starting of the operating system fails, the baseboard control manager acquires a backup file of the starting configuration data stored on the baseboard control manager;
and the baseboard control manager releases the backup file so as to call the backup file when the operating system is started.
In an implementation manner, the backup file includes a first backup file, and the first backup file is a backup file for starting configuration data when the operating system is successfully started last time.
In an implementation manner, the backup file further includes a second backup file, where the second backup file is a backup file for starting configuration data when the operating system is powered off or restarted last time;
and when the operation system is failed to be started by the second backup file, starting the operation system by the first backup file.
In an embodiment, the method further comprises:
based on the successful start of the operating system, system management software generates the first backup file and sends the first backup file;
and the baseboard management controller receives and stores the first backup file.
In an embodiment, said generating, by the system management software based on successful boot of the operating system, the first backup file comprises:
the baseboard management controller monitors the starting state of the operating system;
when the operating system is started successfully, the baseboard management controller sends a first backup instruction;
responding to the first backup instruction, and generating the first backup file by the system management software; or
The system management software monitors the starting state of the operating system;
and when the operating system is started successfully, the system management software generates the first backup file.
In one embodiment, the method further comprises:
in the starting process of the operating system, the baseboard management controller determines that the operating system is a designated operating system;
and sending the first backup instruction by the baseboard management controller based on the fact that the operating system is the specified operating system.
In one embodiment, the method further comprises:
based on the restart or shutdown of the operating system, the system management software generates and sends the second backup file;
and the baseboard management controller receives and stores the second backup file.
In one embodiment, the releasing the backup file by the baseboard control manager includes:
the substrate control manager starts a virtual hard disk;
and the baseboard control manager loads the backup file to the virtual hard disk.
According to a second aspect of the present disclosure, there is provided an operating system boot configuration data processing apparatus, the apparatus comprising:
the acquisition module is used for acquiring a backup file of the starting configuration data stored on the substrate control manager when the starting of the operating system fails based on the starting configuration data error;
and the release module is used for releasing the backup file so as to call the backup file when the operating system is started.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods of the present disclosure.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of the present disclosure.
In the processing method for the startup configuration data of the operating system in the embodiment of the disclosure, based on the startup configuration data error, when the startup of the operating system fails, the baseboard control manager acquires the backup file of the startup configuration data stored on the baseboard control manager; and the baseboard control manager releases the backup file so as to call the backup file when the operating system is started. The backup file for starting the configuration data is stored on the baseboard control manager, safety and usability are achieved, when the operating system fails to start, the baseboard control manager releases the backup file for calling when the operating system fails to start, the backup file is simple to call, and the operating system is convenient and fast to start.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
FIG. 1 is a schematic diagram illustrating an implementation flow of a method for processing configuration data initiated by an operating system according to an embodiment of the present disclosure;
FIG. 2 is a diagram illustrating a display interface of a specific application of the operating system boot configuration data processing method according to the embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating an exemplary configuration of an operating system boot configuration data processing apparatus according to the present disclosure;
fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present disclosure more obvious and understandable, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The embodiment of the disclosure provides a method for processing starting configuration data of an operating system, which is used for solving the problem of starting failure of electronic equipment. The electronic device to which the method of the embodiment of the present disclosure is applied is installed with an operating system, system Management software, and a Baseboard control manager (BMC). The electronic device to which the method of the embodiments of the present disclosure is applied may be, for example, a server.
Referring to fig. 1, an embodiment of the present disclosure provides an operating system boot configuration data processing method, where the method includes:
based on the starting configuration data error, when the starting of the operating system fails, the baseboard control manager acquires a backup file of the starting configuration data stored on the baseboard control manager;
the baseboard control manager releases the backup file so as to call the backup file when the operating system is started.
In the processing method for the startup configuration data of the operating system in the embodiment of the disclosure, based on the startup configuration data error, when the startup of the operating system fails, the baseboard control manager acquires the backup file of the startup configuration data stored on the baseboard control manager; the baseboard control manager releases the backup file so as to call the backup file when the operating system is started. The operation of the substrate control manager does not depend on an operating system, the substrate control manager has independence, and the substrate control manager can be started automatically after power of the electronic equipment is supplied. The backup file for starting the configuration data is stored on the baseboard control manager, safety and usability are achieved, when the operating system fails to start, the baseboard control manager releases the backup file for calling when the operating system starts, the backup file is simple to call, and the operating system is convenient and fast to start.
In one embodiment, the backup file includes a first backup file, where the first backup file is a backup file for starting the configuration data when the operating system is successfully started last time. The starting configuration data when the last starting is successful can be adopted to ensure that the operating system can be successfully started, and the problem of starting the operating system can be repaired by restoring the backup file of the starting configuration data when the last starting of the operating system is successful.
In an implementation manner, the backup file further includes a second backup file, where the second backup file is a backup file for starting configuration data when the operating system is powered off or restarted last time; and when the operation system is failed to be started by the second backup file, starting the operation system by the first backup file. And if the configuration of the operating system is changed after the last startup, the latest configuration is kept after the operating system is started by using the second backup file, and related parameters do not need to be reconfigured. In the embodiment of the disclosure, at least a first backup file and a second backup file are stored in the baseboard control manager, when the operating system fails to start based on a configuration data start error, the operating system may be started by using the second backup file first, so that the started operating system can keep the latest configuration, and when the second backup file fails to start, the operating system may be started by using the first backup file, thereby ensuring that the operating system can be started successfully.
In an implementation manner, the method for processing the boot configuration data of the operating system according to the embodiment of the present disclosure includes: based on the running state of the operating system, the system management software generates a backup file of the current starting configuration data and sends the backup file; and the baseboard management controller receives and saves the backup file. In the embodiment of the disclosure, according to the running state of the operating system, the system management software backs up the current startup configuration data to generate a corresponding backup file, and when the operating system fails to start based on a startup configuration data error, the baseboard control manager can release the backup file so as to call the backup file when the operating system starts. In the embodiment of the disclosure, based on the running state of the operating system, the startup configuration data can be automatically backed up without user operation, thereby avoiding the situation that the backup is forgotten due to the backup of the startup configuration data manually operated by the user, and the startup configuration data which is backed up can be kept in the latest configuration. The operating state of the operating system includes a startup state, a startup restart, a startup shutdown, and the like. The backup files may include a first backup file and a second backup file.
In an implementation manner, the method for processing the boot configuration data of the operating system according to the embodiment of the present disclosure includes: based on the successful start of the operating system, the system management software generates a first backup file and sends the first backup file; and the baseboard management controller receives and saves the first backup file. In the embodiment of the disclosure, when the operating system is successfully started each time, the system management software generates the start configuration data into a backup file, that is, a first backup file, and sends the first backup file to the basic management controller, after receiving the first backup file, the baseboard management controller saves the first backup file to the storage area thereof, and if the baseboard management controller stores the first backup file, the original first backup file may be updated by using the latest first backup file, so that the first backup file is kept up to date. When the operating system fails to boot based on the boot configuration data error, the baseboard control manager may release the first backup file, so that the first backup file is invoked when the operating system boots. Enabling the operating system to successfully boot. In the embodiment of the disclosure, when the operating state of the operating system is successfully started, the starting configuration data can be automatically backed up without user operation, thereby avoiding the situation that the backup is forgotten due to the fact that the user manually operates to start the backup of the configuration data, and enabling the backed-up starting configuration data to keep the latest configuration.
In one embodiment, the system management software generates a first backup file based on successful start-up of the operating system, including: monitoring the starting state of an operating system by a baseboard management controller; when the operating system is started successfully, the baseboard management controller sends a first backup instruction; in response to the first backup instruction, the system management software generates a first backup file. In the embodiment of the disclosure, the baseboard management controller can monitor the starting state of the operating system, and when it is monitored that the operating system is successfully started, the baseboard management controller can instruct the system management software to backup the starting configuration data when the operating system is successfully started, so as to obtain the first backup file. By monitoring the starting state of the operating system and backing up the starting configuration data based on the monitoring that the operating system is successfully started, the first backup file can keep the latest configuration.
In one embodiment, upon successful start-up of the operating system, the system management software generates a first backup file, including: the method comprises the following steps that system management software monitors the starting state of an operating system; when the operating system is successfully started, the system management software generates a first backup file. In the embodiment of the disclosure, the system management software may obtain a starting state of the operating system, when it is monitored that the operating system is successfully started, the system management software backs up current starting configuration data to obtain a first backup file, and sends the first backup file to the baseboard control manager, so that the baseboard control manager may release the first backup file for calling when the operating system is unsuccessfully started based on the starting configuration data.
In an implementation manner, the method for processing the boot configuration data of the operating system according to the embodiment of the present disclosure includes: based on the restart or shutdown of the operating system, the system management software generates and sends a second backup file; and the baseboard management controller receives and saves the second backup file. In the embodiment of the present disclosure, when the operating system is restarted or shut down each time, the system management software generates a backup file, that is, a second backup file, from the current startup configuration data, and sends the second backup file to the basic management controller, and if the baseboard management controller stores the second backup file, the original second backup file may be updated by using the latest second backup file, so that the second backup file remains latest. When the operating system fails to boot based on the boot configuration data error, the baseboard control manager can release the second backup file to allow the operating system to retain the latest configuration. In the embodiment of the disclosure, based on the restart or shutdown of the operating system, the startup configuration data can be automatically backed up without user operation, so that the situation that the backup is forgotten due to the backup of the startup configuration data manually operated by a user is avoided, and the backup startup configuration data can be kept in the latest configuration.
In one embodiment, the system management software generates a second backup file based on the restart or shutdown of the operating system, including: monitoring the running state of an operating system by a baseboard management controller; when the operating system is restarted or shut down, the baseboard management controller sends a second backup instruction; and responding to the second backup instruction, and generating a second backup file by the system management software. In the embodiment of the present disclosure, the baseboard management controller may be capable of monitoring an operating state of the operating system, and when it is monitored that the operating system is restarted or shut down, the baseboard management controller may instruct the system management software to backup the startup configuration data when the operating system is restarted or shut down, so as to obtain the second backup file. By monitoring the running state of the operating system and backing up the current startup configuration data based on monitoring the restart or shutdown of the operating system, the second backup file can be kept in the latest configuration.
In one embodiment, the system management software generates a second backup file based on the restart or shutdown of the operating system, including: the system management software monitors the running state of the operating system; when the operating system is restarted or shut down, the system management software generates a second backup file. In the embodiment of the disclosure, the system management software may obtain a restart signal or a shutdown signal of the operating system, so that it may be monitored that the operating system is restarted or shutdown, the system management software backs up the startup configuration data during restarting or shutdown to obtain the second backup file, and sends the second backup file to the baseboard control manager, so that the baseboard control manager may release the first backup file for calling when the operating system is started when the operating system fails to be started erroneously based on the startup configuration data.
In one implementation, the method of the embodiment of the present disclosure further includes: in the starting process of the operating system, the baseboard management controller determines that the operating system is a specified operating system; and sending a first backup instruction by the baseboard management controller based on the fact that the operating system is the designated operating system. In the embodiment of the present disclosure, it is determined whether the operating system is the designated operating system or not in the starting process of the operating system, and if the operating system is the designated operating system, other steps of the operating system starting configuration data processing method according to the embodiment of the present disclosure, such as backing up the starting configuration data, are executed. The specified operating system may be, for example, a Windows operating system.
In the embodiment of the present disclosure, the releasing of the backup file by the baseboard control manager may be automatically releasing the stored backup file. For example, the baseboard control manager stores a first backup file, when the operating system fails to start based on the start configuration data, the baseboard control manager automatically releases the first backup file to enable the operating system to start with the first backup file in a guided manner, or when the baseboard control manager stores the first backup file and a second backup file, the baseboard control manager firstly releases the second backup file, and if the second backup file fails to start in a guided manner, the baseboard control manager releases the first backup file to enable the operating system to start with the first backup file in a guided manner, so as to ensure the operating system to be successfully started. Referring to fig. 2, the baseboard control manager releasing the backup file may be releasing the stored backup file based on a user selection operation. For example, when the operating system fails to start based on the start configuration data, the baseboard control manager provides a selection interface, the user can select the backup file on the selection interface, and in response to the selection operation of the user, the baseboard control manager releases the corresponding backup file. The selection interface may be provided in the form of a pop-up window.
In one embodiment, the baseboard control manager releases the backup file, including: the substrate control manager starts a virtual hard disk; and the baseboard control manager loads the backup file to the virtual hard disk. By loading the backup file to the virtual hard disk and releasing the backup file, the operating system can be started by using the backup file loaded to the virtual hard disk when the operating system is started. The loading of the backup file to the virtual hard disk may be performed automatically by the baseboard control manager or in response to a user selection operation.
Referring to fig. 3, an embodiment of the present disclosure provides an operating system startup configuration data processing apparatus, where the apparatus includes an obtaining module and a releasing module, where the obtaining module is configured to obtain, when an operating system fails to start based on a startup configuration data error, a backup file of startup configuration data stored in a baseboard control manager; the release module is used for releasing the backup file so as to call the backup file when the operating system is started.
In the operating system startup configuration data processing device of the embodiment of the disclosure, based on the startup configuration data error, when the operating system fails to start, the acquisition module acquires the backup file of the startup configuration data stored by the substrate control manager; the release module releases the backup file so as to call the backup file when the operating system is started. The operation of the substrate control manager does not depend on an operating system, the substrate control manager has independence, and the substrate control manager can be started automatically after power of the electronic equipment is supplied. The backup file for starting the configuration data is stored on the baseboard control manager, safety and usability are achieved, when the operating system fails to start, the backup file stored by the baseboard control manager is released and used for calling when the operating system starts, the backup file is simple to call, and the operating system is convenient and fast to start.
In an implementation manner, the backup file includes a first backup file, and the first backup file is a backup file for starting the configuration data when the last startup of the operating system is successful.
In an implementation manner, the backup file further includes a second backup file, where the second backup file is a backup file for starting configuration data when the operating system is powered off or restarted last time; and when the operation system is failed to be started by the second backup file, starting the operation system by the first backup file.
In one implementation manner, an operating system boot configuration data processing apparatus according to an embodiment of the present disclosure includes: based on the running state of the operating system, the system management software generates a backup file of the current starting configuration data and sends the backup file; and the baseboard management controller receives and saves the backup file.
In one implementation manner, an operating system boot configuration data processing apparatus according to an embodiment of the present disclosure includes: based on the successful start of the operating system, the system management software generates a first backup file and sends the first backup file; and the baseboard management controller receives and saves the first backup file.
In one embodiment, the system management software generates a first backup file based on successful start-up of the operating system, including: monitoring the starting state of an operating system by a baseboard management controller; when the operating system is started successfully, the baseboard management controller sends a first backup instruction; in response to the first backup instruction, the system management software generates a first backup file.
In one embodiment, the system management software generates a first backup file based on successful start-up of the operating system, including: the system management software monitors the starting state of the operating system; when the operating system is successfully started, the system management software generates a first backup file.
In one implementation manner, an operating system boot configuration data processing apparatus according to an embodiment of the present disclosure includes: based on the restart or shutdown of the operating system, the system management software generates and sends a second backup file; and the baseboard management controller receives and saves the second backup file.
In one embodiment, the system management software generates a second backup file based on the restart or shutdown of the operating system, including: monitoring the running state of an operating system by a baseboard management controller; when the operating system is restarted or shut down, the baseboard management controller sends a second backup instruction; and responding to the second backup instruction, and generating a second backup file by the system management software.
In one embodiment, the system management software generates a second backup file based on the restart or shutdown of the operating system, including: the system management software monitors the running state of the operating system; when the operating system is restarted or shut down, the system management software generates a second backup file.
In one implementation, the method of the embodiment of the present disclosure further includes: in the starting process of the operating system, the baseboard management controller determines that the operating system is a specified operating system; and sending a first backup instruction by the baseboard management controller based on the fact that the operating system is the designated operating system.
In the embodiment of the present disclosure, the releasing of the backup file by the baseboard control manager may be automatically releasing the stored backup file. Or the stored backup file can be released based on the user selection operation. When the operating system fails to start based on the starting configuration data, the baseboard control manager provides a selection interface, a user can select the backup file on the selection interface, and the baseboard control manager releases the corresponding backup file in response to the selection operation of the user.
In one embodiment, the baseboard control manager releases the backup file, including: the substrate control manager starts a virtual hard disk; and the baseboard control manager loads the backup file to the virtual hard disk.
The operating system startup configuration data processing device of the embodiment of the disclosure can implement the methods of the above embodiments, and the descriptions of the above embodiments of the methods can be used to understand and explain the devices of the embodiment of the disclosure. For the sake of brevity and economy, further description is not provided herein.
The present disclosure also provides an electronic device and a readable storage medium according to an embodiment of the present disclosure.
FIG. 4 shows a schematic block diagram of an example electronic device 400 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the apparatus 400 includes a computing unit 401 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
A number of components in device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, or the like; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 408 such as a magnetic disk, optical disk, or the like; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 401 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 401 executes the respective methods and processes described above, such as the operating system startup configuration data processing method. For example, in some embodiments, the operating system boot configuration data processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 400 via the ROM 402 and/or the communication unit 409. When the computer program is loaded into RAM 403 and executed by computing unit 401, one or more steps of the operating system initiated configuration data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to perform the operating system boot configuration data processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, "a plurality" means two or more unless specifically limited otherwise.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present disclosure, and shall cover the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. An operating system boot configuration data processing method, the method comprising:
based on the configuration data starting error, when the operation system fails to start, the substrate control manager acquires a backup file of the configuration data stored on the substrate control manager;
and the baseboard control manager releases the backup file so as to call the backup file when the operating system is started.
2. The method of claim 1, wherein the backup file comprises a first backup file, and wherein the first backup file is a backup file for booting configuration data when the last boot of the operating system was successful.
3. The method of claim 2,
the backup files also comprise a second backup file, and the second backup file is a backup file for starting configuration data when the operating system is shut down or restarted last time;
and when the operation system is failed to be started by the second backup file, starting the operation system by the first backup file.
4. The method of claim 2, further comprising:
based on the successful start of the operating system, system management software generates the first backup file and sends the first backup file;
and the baseboard management controller receives and stores the first backup file.
5. The method of claim 4, wherein, based on the operating system boot success, system management software generates the first backup file, comprising:
the baseboard management controller monitors the starting state of the operating system;
when the operating system is started successfully, the baseboard management controller sends a first backup instruction;
responding to the first backup instruction, and generating the first backup file by the system management software; or
The system management software monitors the starting state of the operating system;
and when the operating system is started successfully, the system management software generates the first backup file.
6. The method of claim 5, further comprising:
in the starting process of the operating system, the baseboard management controller determines that the operating system is a designated operating system;
and sending the first backup instruction by the baseboard management controller based on the fact that the operating system is the specified operating system.
7. The method of claim 3, further comprising:
based on the restart or shutdown of the operating system, the system management software generates and sends the second backup file;
and the baseboard management controller receives and stores the second backup file.
8. The method of claim 1, wherein the baseboard control manager releases the backup file, comprising:
the substrate control manager starts a virtual hard disk;
and the substrate control manager loads the backup file to the virtual hard disk.
9. An operating system boot configuration data processing apparatus, the apparatus comprising:
the acquisition module is used for acquiring a backup file of the starting configuration data stored on the substrate control manager when the starting of the operating system fails based on the starting configuration data error;
and the release module is used for releasing the backup file so as to call the backup file when the operating system is started.
10. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
CN202210650855.3A 2022-06-09 2022-06-09 Method and device for processing boot configuration data of operating system Pending CN115202928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210650855.3A CN115202928A (en) 2022-06-09 2022-06-09 Method and device for processing boot configuration data of operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210650855.3A CN115202928A (en) 2022-06-09 2022-06-09 Method and device for processing boot configuration data of operating system

Publications (1)

Publication Number Publication Date
CN115202928A true CN115202928A (en) 2022-10-18

Family

ID=83576109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210650855.3A Pending CN115202928A (en) 2022-06-09 2022-06-09 Method and device for processing boot configuration data of operating system

Country Status (1)

Country Link
CN (1) CN115202928A (en)

Similar Documents

Publication Publication Date Title
CN107844386B (en) Data backup and recovery method and device
WO2018095107A1 (en) Bios program abnormal processing method and apparatus
CN115794257B (en) System starting method, device, electronic equipment and storage medium
CN108737153B (en) Block chain disaster recovery system, method, server and computer-readable storage medium
CN114416284A (en) Distributed operating system control method, apparatus, device, medium, and program product
TWI764454B (en) Firmware corruption recovery
CN114860322A (en) Substrate management controller, control method and electronic equipment
CN115454515A (en) System processing method and device and electronic equipment
CN115202928A (en) Method and device for processing boot configuration data of operating system
CN114860292A (en) Terminal equipment firmware upgrading control method and device, computer equipment and medium
CN113515291A (en) Equipment online upgrading method and device
CN114153503A (en) BIOS control method, device and medium
CN114116276A (en) BMC hang-up self-recovery method, system, terminal and storage medium
CN112825054B (en) Data processing method and electronic equipment
CN113312214B (en) Method, apparatus, electronic device and storage medium for operating computer
CN113849432B (en) Server firmware data storage method, starting method, device, equipment and medium
CN115167895A (en) Basic input output system updating method, device, equipment and storage medium
CN115509821A (en) System exception handling method, device, equipment and storage medium
CN117076180B (en) Information processing method, device, equipment and computer readable storage medium
CN114721871A (en) Data backup method and device and electronic equipment
JP2010140316A (en) Information processing terminal and module updating method and program
CN117234601A (en) System starting method and device, electronic equipment and storage medium
CN118012660A (en) System abnormal starting recovery method, device, equipment and storage medium
CN117453255A (en) Method, device, equipment and storage medium for upgrading embedded equipment
CN116225785A (en) Method, device and storage medium for automatically repairing computer startup fault

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