CN102073513B - Method, device and system for installing operating system - Google Patents

Method, device and system for installing operating system Download PDF

Info

Publication number
CN102073513B
CN102073513B CN 200910224124 CN200910224124A CN102073513B CN 102073513 B CN102073513 B CN 102073513B CN 200910224124 CN200910224124 CN 200910224124 CN 200910224124 A CN200910224124 A CN 200910224124A CN 102073513 B CN102073513 B CN 102073513B
Authority
CN
China
Prior art keywords
operating system
client
installation
system installation
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 200910224124
Other languages
Chinese (zh)
Other versions
CN102073513A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN 200910224124 priority Critical patent/CN102073513B/en
Publication of CN102073513A publication Critical patent/CN102073513A/en
Application granted granted Critical
Publication of CN102073513B publication Critical patent/CN102073513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a device and a system for installing an operating system. A client-server mode is adopted, functions to be completed by a basic input output system (bios) of a host to be installed with the operating system, namely an operating system installation client, are greatly improved, a client installation module is integrated in the bios, a kernel component and a file system component are designed to support the client installation module according to an environment required by operating the client installation module, the client installation module communicates with an operating system installation server through a network protocol stack in the kernel component and an external dynamic configuration module, the operating system installation server provides operating system installation and update configuration information for the operating system installation client, and the operating system installation server completes actual installation and update work. Under the condition of no manual intervention, the general purpose operating system is installed efficiently in batches and at low cost, and the invention is widely applied to server production lines and other conditions that computer operating systems are required to be installed in a cluster mode.

Description

A kind of method of installing operating system, Apparatus and system
Technical field
The present invention relates to computer operating system field engineering field, relate in particular to a kind of method, Apparatus and system of installing operating system.
Background technology
The server host of producing in enormous quantities on the server production line all needs to install an operating system, and existing several installation method of operating system are as follows:
1, CD mounting means: this requires the main frame as server of operating system to be installed to have CD-ROM equipment, but the server of customization does not have CD-ROM drive usually, and slow by the mode speed of CD installing operating system, can only install by the tableland, upgrade inefficiency.
2, hard disk mounting means: this kind mode needs earlier install image to be saved on the hard disk of Servers-all main frame, start the installation that server host carries out operating system more respectively, therefore can not reach the purpose of installing in batches at short notice, installation effectiveness is not high yet.
3, NFS(Network File System, network file system(NFS)), FTP (File Transfer Protocol, file transfer protocol (FTP)), HTTP(Hyper Text Transfer Protocol, HTML (Hypertext Markup Language)) mounting means: though these three kinds of network installation modes can be with long-range installation, but still need manual intervention: start installation procedure earlier from this locality, these three kinds of mode installation systems of recycling, and each step of subsequent installation process all can not finish automatically, so installation effectiveness is not high yet, still be not suitable for situation about need install in batches in the short time.
4, PXE(Preboot Execution Environment, remote boot protocols) mounting means: the PXE mounting means is a kind of method of batch installing operating system efficiently, but this mounting means is provided by special-purpose network interface card, so, if use this mounting means, must use the network interface card of supporting the PXE function, this has increased the production cost of server greatly.
To sum up, the efficient of existing these server OS installation methods and cost control are not very desirable, and production efficiency causes great influence, and common main frame also needs batch installing operating system rapidly and efficiently in some cases.
Summary of the invention
The technical problem to be solved in the present invention is, a kind of method, Apparatus and system of installing operating system is provided, overcome can not be embodied as cheaply in the prior art main frame in batches, the defective of installing operating system efficiently.
The technical solution used in the present invention is, the method of described installing operating system, the operating system installation client links to each other with the operating system installation server, when the operating system installation client powers on, obtain operating system installation or upgrade configuration information to the operating system installation server, and carry out installation or the renewal of operating system in this locality.
Described when the operating system installation client powers on, need carry out following operation:
Step 1, when the operating system installation client powers on, bios(basic input output system, Basic Input or Output System (BIOS)) the initialization operation system running environment;
Step 2, will simplify OS(Operation System, operating system in the bios chip-stored space) start-up code copies internal memory to and carries out;
Step 3, under the segment protect pattern of CPU, will simplify OS reflection and copy in the internal memory and carry out.
Described step 3 specifically may further comprise the steps:
Step a, foundation section are described a subordinate list, interrupt-descriptor table, the segment protect pattern that enters CPU then;
Step b, the kernel component that will simplify among the OS unzip in the internal memory, and start kernel component to simplifying file system component among the OS according to ramfs(ram file system, memory file system) file organization form initialization, the file system that obtains simplifying OS;
Installation program of client in step c, the execute file system component is determined installing operating system or is upgraded operating system by detecting the disk file system situation.
Described kernel component comprises that management of process assembly, memory management assembly, file system core component, computer hardware drive, the computer disk file system drives and network protocol stack;
The management of process assembly is used for being responsible for operation and the scheduling that client is installed module;
The memory management assembly is used for the distribution of internal memory;
The file system core component is used for providing basic-level support to concrete file system organization form;
The computer disk file system drives, and is used for the computer disk file layout is managed;
Computer hardware drives, and is used for the operating system installation client to the normal use of hardware;
Network protocol stack is used for client communicating by letter between module and the operating system installation server is installed;
Described file system component further comprises data download tool, disk partition instrument, disk formatting instrument, boot erecting tools;
The data download tool is used for installing and the renewal configuration information from operating system installation server down operation system;
The disk partition instrument is used for the disk partition on the operating system installation client;
The disk formatting instrument is used for the disk partition on the operating system installation client is formatd;
The boot erecting tools is used for for the operating system installation client boot being installed at disk.
Describedly obtain the operating system installation configuration information to the operating system installation server, and the installation of carrying out operating system in this locality comprises specifically:
The subregion of designated disk in the client is installed by the clear operation system;
To described designated disk subregion again and format;
The subregion of the described designated disk after the format is mounted to the file system of simplifying OS;
Based on the address information of operating system installation client and operating system installation server, obtain the operating system installation configuration file to the operating system installation server;
, be installed in the subregion of the described designated disk that is mounted to the file system of simplifying OS to the operating system assembly that the operating system installation server obtains according to the operating system installation configuration file;
For described designated disk is installed boot, start the operating system of installing from described designated disk.
Describedly obtain the operating system update configuration information to the operating system installation server, and the renewal of carrying out operating system in this locality comprises specifically:
Obtain the operating system update configuration file to the operating system installation server;
, upgrade in the subregion of the described designated disk of the installing operating system that is mounted to the file system of simplifying OS to the operating system assembly that the operating system installation server obtains according to the operating system installation configuration file.
The present invention also provides a kind of client that module is installed, and is embedded among the bios of operating system installation client, comprises following ingredient:
Client is installed preparatory unit, is used to service end address information acquiring unit, operating system installation and renewal configuration information download unit and operating system installation and renewal performance element that running environment is provided;
Client is installed preparatory unit and specifically is used for: set up section and describe subordinate list, interrupt-descriptor table, the segment protect pattern that enters CPU then; The kernel unit that client is installed in the module unzips in the internal memory, and starts kernel unit to the file organization form initialization of the file system elements in the client installation module according to memory file system ramfs, obtains the file system that client is installed module; Installation program of client in the execute file system unit is determined installing operating system or is upgraded operating system by detecting the disk file system situation;
Service end address information acquiring unit is for the address information of obtaining the operating system installation server;
Operating system installation and renewal configuration information download unit are used for obtaining operating system installation and upgrading configuration information from the operating system installation server according to the address information of described operating system installation server;
Operating system installation and upgrade performance element is used for according to described operating system installation and upgrades configuration information, and the local operation system is installed and upgrades.
Described client is installed preparatory unit and is comprised kernel unit and file system elements, wherein,
Kernel unit comprises:
The management of process assembly is used for being responsible for operation and the scheduling that client is installed module;
The memory management assembly is used for the distribution of internal memory;
The file system core component is used for providing basic-level support to concrete file system organization form;
The computer disk file system drives, and is used for the computer disk file layout is managed;
Computer hardware drives, and is used for the operating system installation client to the normal use of hardware;
Network protocol stack is used for client communicating by letter between module and the operating system installation server is installed;
File system elements comprises:
The data download tool is used for installing and the renewal configuration information from operating system installation server down operation system;
The disk partition instrument is used for the disk partition on the operating system installation client;
The disk formatting instrument is used for the disk partition on the operating system installation client is formatd;
The boot erecting tools is used for for the operating system installation client boot being installed at disk.
The present invention also provides a kind of device that comprises the installing operating system of described client installation module, also comprises following ingredient:
The dynamic-configuration module, being used for to client module being installed provides the address information of operating system installation client and the address information of operating system installation server;
Service end is installed module, is arranged in the operating system installation server, and being used for to client module being installed provides operating system installation and upgrade configuration information.
The present invention also provides a kind of system of installing operating system, and comprise the operating system installation client, link to each other with the dynamic-configuration server with the operating system installation server respectively, further,
The dynamic-configuration module is positioned at the dynamic-configuration server, is used for to client the address information that module provides operating system installation client and operating system installation server being installed;
Client is installed module, be embedded among the bios of operating system installation client, be used for from service end module being installed according to the address information of described operating system installation server and obtain operating system installation and upgrade configuration information, and the local operation system is installed and upgrades;
Service end is installed module, is positioned at the operating system installation server, and being used for to client module being installed provides operating system installation and upgrade configuration information;
Described client is installed module and also specifically is used for:
Set up section and describe subordinate list, interrupt-descriptor table, the segment protect pattern that enters CPU then; The kernel unit that client is installed in the module unzips in the internal memory, and starts kernel unit to the file organization form initialization of the file system elements in the client installation module according to memory file system ramfs, obtains the file system that client is installed module; Installation program of client in the execute file system unit is determined installing operating system or is upgraded operating system by detecting the disk file system situation.
Adopt technique scheme, the present invention has following advantage at least:
The method of installing operating system of the present invention, Apparatus and system, the operating system installation client links to each other with the operating system installation server, when the operating system installation client powers on, obtain operating system installation or upgrade configuration information to the operating system installation server, and carry out installation or the renewal of operating system in this locality.Basic design philosophy of the present invention is to adopt client-service end pattern, be that the function that the bios of the main frame of operating system to be installed finishes has been done bigger improvement to the operating system installation client, client is installed module to be integrated among the bios, and consider that the client required Environment Design of module operation has been installed kernel component and file system component support it, set up and the communicating by letter of operating system installation service end by the network protocol stack in the kernel component and outside dynamic-configuration module, operating system installation is provided and upgrades configuration information to the operating system installation client by the operating system installation service end, the operating system installation service end is finished actual installation and renewal work.Because the bios chip is the essential chip of computer equipment, and client is installed module is integrated into can't increase computer equipment in the bios chip production cost.Owing to provide the boot erecting tools in the file system component, in disk, for the operating system installation client boot is installed, therefore, the present invention is after the complete operation system is installed, can be directly switch to the operating system that is installed in the disk, and not need to restart the operating system that main frame enters installation again.Therefore, the invention provides a kind of need not manual intervention batch, efficiently, cheaply the method for the general-purpose operating system is installed, can be widely used in the server production line, and some other situation that needs cluster that computer operating system is installed.
Description of drawings
Fig. 1 copies the reflection in the bios chip to for the present invention the corresponding relation synoptic diagram of specific address in the cpu address space;
Fig. 2 is the composition synoptic diagram of simplifying OS among the bios of Embedded Operating System installation client of the present invention;
Fig. 3 is the method flow diagram of the described installing operating system of first embodiment of the invention;
Fig. 4 is the method flow diagram of the described installing operating system of second embodiment of the invention;
Fig. 5 is that the described client of third embodiment of the invention is installed the composition synoptic diagram of module;
Fig. 6 is that the device of the described installing operating system of fourth embodiment of the invention is formed synoptic diagram;
Fig. 7 is that the system of the described installing operating system of fifth embodiment of the invention forms synoptic diagram.
Embodiment
Reach technological means and the effect that predetermined purpose is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, method, the Apparatus and system of the described installing operating system that the present invention is proposed, describe in detail as after.
First embodiment of the invention, a kind of method of installing operating system, the main frame of operating system to be installed is that the operating system installation client links to each other with Dynamic Host Configuration Protocol server with the operating system installation server respectively, introduces the improvement that the present invention does bios in the operating system installation client earlier:
As shown in Figure 1, this Figure illustrates a kind of possible address space structural drawing of the bios chip of 2M size in the operating system installation client.The bios chip is used for storing: simplifies OS, is used for starting this start-up code of simplifying OS and namely simplifies the OS start-up code, and the code of bios chip itself.The content of these three parts takies the whole 2M storage space of bios chip, because the reflection of above-mentioned three parts of bios chip need copy in the internal memory of operating system installation client host when carrying out, namely copying the cpu address space to could carry out.
Fig. 1 has provided the corresponding relation that the reflection of above-mentioned three parts of bios chip is copied to specific address in the cpu address space, concrete, the code of bios chip itself takies in the bios chip from the 512K storage space of 0x18_0000~0x1F_FFFF, need copy the address space of the 0xFFF8_0000~0xFFFF_FFFF of internal memory to.Simplify the OS start-up code and take in the bios chip from the 4K storage space of 0x17_F000~0x17_FFFF, need copy the address space of the 0xFFE7_F000~0xFFF7_FFFF of internal memory to.Simplify OS and take in the bios chip 1532K storage space from 0x00_0000~0x17_EFFF, need copy the address space of the 0xFFE0_0000~0x_FFE7_EFFF of internal memory to, wherein dash area is to be embedded in the file system component of simplifying OS, after simplifying the startup of OS kernel component, file system component is with ramfs(ram file system, memory file system) the file organization form be mounted to and simplify among the OS.
As shown in Figure 2, be embedded in the ingredient of simplifying OS among the bios, simplify OS and comprise file system component and kernel component, kernel component and the every instrument in the file system component of simplifying among the OS provide running environment for the installation program of client in the file system component
File system component comprises:
The data download tool is used for the installation of module down operation system being installed and upgrading configuration information from server;
The disk partition instrument is used for the disk partition on the operating system installation client;
The disk formatting instrument is used for the disk partition on the described operating system installation client is formatd;
The boot erecting tools is used for for the operating system installation client boot being installed at disk;
Installation program of client is used for when the operating system installation client powers on, and obtains operating system installation or upgrades configuration information to the operating system installation server, and carry out installation or the renewal of operating system in this locality.
Kernel component comprises:
The management of process assembly is used for being responsible for operation and the scheduling that client is installed preparation module;
The memory management assembly is used for the distribution of internal memory;
The file system core component is used for providing basic-level support to concrete file system organization form;
The computer disk file system drives, and is used for the computer disk file layout is managed;
Computer hardware drives, and is used for the operating system installation client to the normal use of hardware;
Network protocol stack is used for client installation module and with service end communicating by letter between the module is installed, and wherein comprises DHCP(Dynamic host configuration protocol, DHCP).
Based on the above-mentioned improvement that bios in the operating system installation client is done, the method for described installing operating system as shown in Figure 3, comprises the steps:
Step S101, when the operating system installation client powers on, bios initialization operation system running environment.
Step S102, the OS start-up code of simplifying in the bios chip-stored space is copied to internal memory and carries out.Simplifying the purpose that the OS start-up code carries out is exactly to simplify OS in order to jump to carry out, and need to prove, is jumped to directly by the start-up code among the bios in this point and the prior art that deactivation operating system is different in the disk of main frame.
Step S103, foundation section are described a subordinate list, interrupt-descriptor table, the segment protect pattern that enters CPU then.
Step S104, the kernel component that will simplify among the OS unzip in the internal memory, and start kernel component to simplifying file system component among the OS according to the file organization form initialization of ramfs, the file system that obtains simplifying OS.
Installation program of client in step S105, the execute file system component specifically comprises:
Obtain the IP address of operating system installation client and operating system installation server to Dynamic Host Configuration Protocol server;
Determine installing operating system or upgrade operating system that if installing operating system, jump procedure S106 then is if upgrade operating system, then jump procedure S110 by detecting the disk file system situation.
Step S106, clear operation system install the subregion of designated disk in the client, to described designated disk subregion again and format, the subregion of the described designated disk after the format are mounted to the file system of simplifying OS.
Step S107, based on the IP address of operating system installation client and operating system installation server, obtain the operating system installation configuration file to the operating system installation server.
Step S108, according to the operating system installation configuration file to the operating system assembly that the operating system installation server obtains, be installed in the subregion of the described designated disk that is mounted to the file system of simplifying OS.
Step S109, be that described designated disk is installed boot, start the operating system of installing from described designated disk.
Step S110, obtain the operating system update configuration file to the operating system installation server.
Step S111, according to the operating system installation configuration file to the operating system assembly that the operating system installation server obtains, upgrade in the subregion of the described designated disk of the installing operating system that is mounted to the file system of simplifying OS.
Second embodiment of the invention; a kind of method of installing operating system; the content of this method and first embodiment are roughly the same in the present embodiment; difference is with simplifying before the OS start-up code copies internal memory in the bios chip-stored space; also must be introduced into the segment protect pattern of CPU; to guarantee copying the OS start-up code of simplifying in the bios chip-stored space to more than the internal memory 1M address space, be convenient to simplify the successful execution of OS start-up code.
Based on above-mentioned identical with first embodiment improvement that bios in the operating system installation client is done, the method for described installing operating system as shown in Figure 4, comprises the steps:
Step S201, when the operating system installation client powers on, bios initialization operation system running environment.This content is the function of initializing that this area bios finishes usually, so locate not describe in detail.
Step S202, the interim section of foundation are described subordinate list, interim interrupt-descriptor table, the segment protect pattern that enters CPU then.
Step S203, the OS start-up code of simplifying in the bios chip-stored space is copied to internal memory and carries out.Simplifying the purpose that the OS start-up code carries out is exactly to simplify OS in order to jump to carry out, and need to prove, is jumped to directly by the start-up code among the bios in this point and the prior art that deactivation operating system is different in the disk of main frame.
Step S204, foundation section are described a subordinate list, interrupt-descriptor table, the segment protect pattern that enters CPU then.
Step S205, the kernel component that will simplify among the OS unzip in the internal memory, and start kernel component to simplifying file system component among the OS according to the file organization form initialization of ramfs, the file system that obtains simplifying OS.
Installation program of client in step S206, the execute file system component specifically comprises:
Obtain the IP address of operating system installation client and operating system installation server to Dynamic Host Configuration Protocol server;
Determine installing operating system or upgrade operating system that if installing operating system, jump procedure S207 then is if upgrade operating system, then jump procedure S211 by detecting the disk file system situation.
Step S207, clear operation system install the subregion of designated disk in the client, to described designated disk subregion again and format, the subregion of the described designated disk after the format are mounted to the file system of simplifying OS.
Step S208, based on the IP address of operating system installation client and operating system installation server, obtain the operating system installation configuration file to the operating system installation server.
Step S209, according to the operating system installation configuration file to the operating system assembly that the operating system installation server obtains, be installed in the subregion of the described designated disk that is mounted to the file system of simplifying OS.
Step S210, be that described designated disk is installed boot, start the operating system of installing from described designated disk.
Step S211, obtain the operating system update configuration file to the operating system installation server.
Step S212, according to the operating system installation configuration file to the operating system assembly that the operating system installation server obtains, upgrade in the subregion of the described designated disk of the installing operating system that is mounted to the file system of simplifying OS.
Third embodiment of the invention, a kind of client is installed module, is embedded among the bios of operating system installation client, as shown in Figure 5, comprises following ingredient:
Client is installed preparatory unit, is used to service end address information acquiring unit, operating system installation and renewal configuration information download unit and operating system installation and renewal performance element that running environment is provided.Described client is installed preparatory unit and is comprised kernel unit and file system elements, wherein,
Kernel unit comprises:
The management of process assembly is used for being responsible for operation and the scheduling that client is installed module;
The memory management assembly is used for the distribution of internal memory;
The file system core component is used for providing basic-level support to concrete file system organization form;
The computer disk file system drives, and is used for the computer disk file layout is managed;
Computer hardware drives, and is used for the operating system installation client to the normal use of hardware;
Network protocol stack is used for client communicating by letter between module and the operating system installation server is installed;
File system elements comprises:
The data download tool is used for installing and the renewal configuration information from operating system installation server down operation system;
The disk partition instrument is used for the disk partition on the operating system installation client;
The disk formatting instrument is used for the disk partition on the operating system installation client is formatd;
The boot erecting tools is used for for the operating system installation client boot being installed at disk;
Service end address information acquiring unit is for the address information of obtaining the operating system installation server;
Operating system installation and renewal configuration information download unit are used for obtaining operating system installation and upgrading configuration information from the operating system installation server according to the address information of described operating system installation server;
Operating system installation and upgrade performance element is used for according to described operating system installation and upgrades configuration information, and the local operation system is installed and upgrades.
Fourth embodiment of the invention, a kind of device of installing operating system as shown in Figure 6, comprises the described client installation of the 3rd embodiment module, and following ingredient:
The dynamic-configuration module is used for providing the address information of operating system installation client and the address information of operating system installation server to the service end address information acquiring unit of client installation module;
Service end is installed module, is arranged in the operating system installation server, and being used for provides operating system installation and upgrade configuration information to operating system installation and the renewal configuration information download unit of client installation module.
Fifth embodiment of the invention, a kind of system of installing operating system as shown in Figure 7, comprising: the operating system installation client, links to each other with the dynamic-configuration server with the operating system installation server respectively, further,
The dynamic-configuration module is positioned at the dynamic-configuration server, is used for to client the address information that module provides operating system installation client and operating system installation server being installed.
Client is installed module, be embedded among the bios of operating system installation client, be used for from service end module being installed according to the address information of described operating system installation server and obtain operating system installation and upgrade configuration information, and the local operation system is installed and upgrades.Client is installed module, comprises following ingredient:
Client is installed preparatory unit, is used to service end address information acquiring unit, operating system installation and renewal configuration information download unit and operating system installation and renewal performance element that running environment is provided.Described client is installed preparatory unit and is comprised kernel unit and file system elements, wherein,
Kernel unit comprises:
The management of process assembly is used for being responsible for operation and the scheduling that client is installed module;
The memory management assembly is used for the distribution of internal memory;
The file system core component is used for providing basic-level support to concrete file system organization form;
The computer disk file system drives, and is used for the computer disk file layout is managed;
Computer hardware drives, and is used for the operating system installation client to the normal use of hardware;
Network protocol stack is used for client communicating by letter between module and the operating system installation server is installed;
File system elements comprises:
The data download tool is used for installing and the renewal configuration information from operating system installation server down operation system;
The disk partition instrument is used for the disk partition on the operating system installation client;
The disk formatting instrument is used for the disk partition on the operating system installation client is formatd;
The boot erecting tools is used for for the operating system installation client boot being installed at disk;
Service end address information acquiring unit is for the address information of obtaining the operating system installation server;
Operating system installation and renewal configuration information download unit are used for obtaining operating system installation and upgrading configuration information from the operating system installation server according to the address information of described operating system installation server;
Operating system installation and upgrade performance element is used for according to described operating system installation and upgrades configuration information, and the local operation system is installed and upgrades.
Service end is installed module, is positioned at the operating system installation server, and being used for to client module being installed provides operating system installation and upgrade configuration information.
The method of installing operating system of the present invention, Apparatus and system, the operating system installation client links to each other with the operating system installation server, when the operating system installation client powers on, obtain operating system installation or upgrade configuration information to the operating system installation server, and carry out installation or the renewal of operating system in this locality.Basic design philosophy of the present invention is to adopt client-service end pattern, be that the function that the bios of the main frame of operating system to be installed finishes has been done bigger improvement to the operating system installation client, client is installed module to be integrated among the bios, and consider that the client required Environment Design of module operation has been installed kernel component and file system component support it, set up and the communicating by letter of operating system installation service end by the network protocol stack in the kernel component and outside dynamic-configuration module, operating system installation is provided and upgrades configuration information to the operating system installation client by the operating system installation service end, the operating system installation service end is finished actual installation and renewal work.Because the bios chip is the essential chip of computer equipment, and client is installed module is integrated into can't increase computer equipment in the bios chip production cost.Owing to provide the boot erecting tools in the file system component, in disk, for the operating system installation client boot is installed, therefore, the present invention is after the complete operation system is installed, can be directly switch to the operating system that is installed in the disk, and not need to restart the operating system that main frame enters installation again.Therefore, the invention provides a kind of need not manual intervention batch, efficiently, cheaply the method for the general-purpose operating system is installed, can be widely used in the server production line, and some other situation that needs cluster that computer operating system is installed.
By the explanation of embodiment, should be to reach technological means and the effect that predetermined purpose takes to be able to more deeply and concrete understanding to the present invention, yet appended diagram only provide with reference to the usefulness of explanation, the present invention is limited.

Claims (8)

1. the method for an installing operating system, it is characterized in that, comprise: the operating system installation client links to each other with the operating system installation server, when the operating system installation client powers on, obtain operating system installation or upgrade configuration information to the operating system installation server, and carry out installation or the renewal of operating system in this locality;
Described when the operating system installation client powers on, need carry out following operation:
Step 1, when the operating system installation client powers on, Basic Input or Output System (BIOS) bios initialization operation system running environment;
Step 2, the operating system OS start-up code of simplifying in the bios chip-stored space is copied to internal memory and carries out;
Step 3, under the segment protect pattern of CPU, will simplify OS reflection and copy in the internal memory and carry out; Described step 3 specifically may further comprise the steps:
Step a, foundation section are described a subordinate list, interrupt-descriptor table, the segment protect pattern that enters CPU then;
Step b, the kernel component that will simplify among the OS unzip in the internal memory, and start kernel component to simplifying file system component among the OS according to the file organization form initialization of memory file system ramfs, the file system that obtains simplifying OS;
Installation program of client in step c, the execute file system component is determined installing operating system or is upgraded operating system by detecting the disk file system situation.
2. according to the method for the described installing operating system of claim 1, it is characterized in that described kernel component comprises that management of process assembly, memory management assembly, file system core component, computer hardware drive, the computer disk file system drives and network protocol stack;
The management of process assembly is used for being responsible for operation and the scheduling that client is installed module;
The memory management assembly is used for the distribution of internal memory;
The file system core component is used for providing basic-level support to concrete file system organization form;
The computer disk file system drives, and is used for the computer disk file layout is managed;
Computer hardware drives, and is used for the operating system installation client to the normal use of hardware;
Network protocol stack is used for client communicating by letter between module and the operating system installation server is installed;
Described file system component further comprises data download tool, disk partition instrument, disk formatting instrument, boot erecting tools;
The data download tool is used for installing and the renewal configuration information from operating system installation server down operation system;
The disk partition instrument is used for the disk partition on the operating system installation client;
The disk formatting instrument is used for the disk partition on the operating system installation client is formatd;
The boot erecting tools is used for for the operating system installation client boot being installed at disk.
3. according to the method for the described installing operating system of claim 2, it is characterized in that, describedly obtain the operating system installation configuration information to the operating system installation server, and the installation of carrying out operating system in this locality specifically comprises:
The subregion of designated disk in the client is installed by the clear operation system;
To described designated disk subregion again and format;
The subregion of the described designated disk after the format is mounted to the file system of simplifying OS;
Based on the address information of operating system installation client and operating system installation server, obtain the operating system installation configuration file to the operating system installation server;
, be installed in the subregion of the described designated disk that is mounted to the file system of simplifying OS to the operating system assembly that the operating system installation server obtains according to the operating system installation configuration file;
For described designated disk is installed boot, start the operating system of installing from described designated disk.
4. according to the method for the described installing operating system of claim 2, it is characterized in that, describedly obtain the operating system update configuration information to the operating system installation server, and the renewal of carrying out operating system in this locality specifically comprises:
Obtain the operating system update configuration file to the operating system installation server;
, upgrade in the subregion of the designated disk of the installing operating system that is mounted to the file system of simplifying OS to the operating system assembly that the operating system installation server obtains according to the operating system installation configuration file.
5. a client is installed module, is embedded among the bios of operating system installation client, comprises following ingredient:
Client is installed preparatory unit, is used to service end address information acquiring unit, operating system installation and renewal configuration information download unit and operating system installation and renewal performance element that running environment is provided;
Client is installed preparatory unit and specifically is used for: set up section and describe subordinate list, interrupt-descriptor table, the segment protect pattern that enters CPU then; The kernel unit that client is installed in the module unzips in the internal memory, and starts kernel unit to the file organization form initialization of the file system elements in the client installation module according to memory file system ramfs, obtains the file system that client is installed module; Installation program of client in the execute file system unit is determined installing operating system or is upgraded operating system by detecting the disk file system situation;
Service end address information acquiring unit is for the address information of obtaining the operating system installation server;
Operating system installation and renewal configuration information download unit are used for obtaining operating system installation and upgrading configuration information from the operating system installation server according to the address information of described operating system installation server;
Operating system installation and upgrade performance element is used for according to described operating system installation and upgrades configuration information, and the local operation system is installed and upgrades.
6. according to the described client of claim 5 module is installed, it is characterized in that, described client is installed preparatory unit and is comprised kernel unit and file system elements, wherein,
Kernel unit comprises:
The management of process assembly is used for being responsible for operation and the scheduling that client is installed module;
The memory management assembly is used for the distribution of internal memory;
The file system core component is used for providing basic-level support to concrete file system organization form;
The computer disk file system drives, and is used for the computer disk file layout is managed;
Computer hardware drives, and is used for the operating system installation client to the normal use of hardware;
Network protocol stack is used for client communicating by letter between module and the operating system installation server is installed;
File system elements comprises:
The data download tool is used for installing and the renewal configuration information from operating system installation server down operation system;
The disk partition instrument is used for the disk partition on the operating system installation client;
The disk formatting instrument is used for the disk partition on the operating system installation client is formatd;
The boot erecting tools is used for for the operating system installation client boot being installed at disk.
7. one kind comprises that the described client of claim 5 installs the device of the installing operating system of module, also comprises following ingredient:
The dynamic-configuration module, being used for to client module being installed provides the address information of operating system installation client and the address information of operating system installation server;
Service end is installed module, is arranged in the operating system installation server, and being used for to client module being installed provides operating system installation and upgrade configuration information.
8. the system of an installing operating system is characterized in that, comprise the operating system installation client, link to each other with the dynamic-configuration server with the operating system installation server respectively, further,
The dynamic-configuration module is positioned at the dynamic-configuration server, is used for to client the address information that module provides operating system installation client and operating system installation server being installed;
Client is installed module, be embedded among the bios of operating system installation client, be used for from service end module being installed according to the address information of described operating system installation server and obtain operating system installation and upgrade configuration information, and the local operation system is installed and upgrades;
Service end is installed module, is positioned at the operating system installation server, and being used for to client module being installed provides operating system installation and upgrade configuration information;
Described client is installed module and also specifically is used for:
Set up section and describe subordinate list, interrupt-descriptor table, the segment protect pattern that enters CPU then; The kernel unit that client is installed in the module unzips in the internal memory, and starts kernel unit to the file organization form initialization of the file system elements in the client installation module according to memory file system ramfs, obtains the file system that client is installed module; Installation program of client in the execute file system unit is determined installing operating system or is upgraded operating system by detecting the disk file system situation.
CN 200910224124 2009-11-25 2009-11-25 Method, device and system for installing operating system Active CN102073513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910224124 CN102073513B (en) 2009-11-25 2009-11-25 Method, device and system for installing operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910224124 CN102073513B (en) 2009-11-25 2009-11-25 Method, device and system for installing operating system

Publications (2)

Publication Number Publication Date
CN102073513A CN102073513A (en) 2011-05-25
CN102073513B true CN102073513B (en) 2013-09-11

Family

ID=44032059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910224124 Active CN102073513B (en) 2009-11-25 2009-11-25 Method, device and system for installing operating system

Country Status (1)

Country Link
CN (1) CN102073513B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9262178B2 (en) * 2012-01-30 2016-02-16 Intel Corporation Method for reducing platform boot times by providing lazy input/output abstractions
US10771543B2 (en) * 2013-12-09 2020-09-08 Lenovo (Singapore) Pte. Ltd. Service processor for configuring servers joining peer to peer network
CN103744710A (en) * 2014-01-24 2014-04-23 中国联合网络通信集团有限公司 Installation method and system of operating systems
CN105791362B (en) * 2014-12-24 2019-07-26 联想(北京)有限公司 A kind of server operating system dispositions method and server
CN104732151B (en) * 2015-03-17 2018-03-27 浪潮集团有限公司 A kind of telesecurity batch updating BIOS method under linux system
CN105159704B (en) * 2015-08-05 2019-10-01 浪潮(北京)电子信息产业有限公司 A kind of method and device of batch deployment operation system
CN105938434A (en) * 2016-03-24 2016-09-14 杭州迪普科技有限公司 Method and device for upgrading operation system
CN109101278B (en) * 2017-06-21 2021-12-24 中兴通讯股份有限公司 Method and device for realizing terminal flashing
CN107741857A (en) * 2017-10-26 2018-02-27 顺丰科技有限公司 A kind of system batch installation method
CN108829449B (en) * 2018-06-21 2021-08-31 郑州云海信息技术有限公司 Method, device, equipment and medium for starting operating system by BIOS (basic input output System)
US11140027B2 (en) 2019-09-30 2021-10-05 Lenovo (Singapore) Pte. Ltd. Integratation of internet of things device into network
CN110737444A (en) * 2019-10-18 2020-01-31 中电科技(北京)有限公司 Remote self-adaptive dynamic deployment method and system for operating system based on firmware

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512320A (en) * 2002-12-30 2004-07-14 北京汉王科技有限公司 Hand writing telephone computer
CN101110036A (en) * 2007-08-22 2008-01-23 中兴通讯股份有限公司 Method and device for batch installing operating system
CN101398762A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Method and device for automatic installing operating system on computer
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512320A (en) * 2002-12-30 2004-07-14 北京汉王科技有限公司 Hand writing telephone computer
CN101110036A (en) * 2007-08-22 2008-01-23 中兴通讯股份有限公司 Method and device for batch installing operating system
CN101398762A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Method and device for automatic installing operating system on computer
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system

Also Published As

Publication number Publication date
CN102073513A (en) 2011-05-25

Similar Documents

Publication Publication Date Title
CN102073513B (en) Method, device and system for installing operating system
CN1141641C (en) Method and device for installing alowed application program
CN101546270A (en) Automatic installation method for Linux operation system, device and system
CN102262544B (en) The method and apparatus of software upgrading
CN103580908B (en) The collocation method of server and system
CN104639378A (en) Automatic server deployment method based on PXE (pre-boot execution environment)
CN103164238A (en) Method for automatically and continuously installing operating system
KR101366747B1 (en) Apparatus and method for the SCA compliant SDR terminal to change service mode
CN107291481B (en) Component updating method, device and system
CN111475172B (en) Bare metal deployment method and device
CN112445495A (en) Mirroring and recovery method for high-performance computing cluster nodes
CN105426207A (en) PXE-based method for quickly installing operating systems in batches
CN102053848A (en) Automatic installation method for Linux operating system
CN102053845B (en) Electronic device for automatically and continuously mounting operating system and related method and system thereof
CN109710297A (en) A kind of equipment entirety or sub-module carry out upgrading and backing method
CN102609280A (en) Network operation system deploying method and network operation system deploying device
CN113031999A (en) Method, device and equipment for controlling firmware upgrade of server component and storage medium
CN112199099A (en) Application updating method, device, server and storage medium
CN104077168A (en) Method and device for updating operation systems for terminal
CN108595292B (en) System optimization method, mobile terminal and computer storage medium
CN104423997A (en) Remote base station version installing method and remote base station version installing device
CN101582038A (en) Installation method of operating system for test
CN103902344A (en) Electronic device for installation of operating system automatically and continuously and related method thereof
CN102455919A (en) Automatic optimization setting method for basic input output system(BIOS)
CN104090805A (en) Method, device and system for updating terminal operating systems

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