CN101763277A - Method for automatically mounting operating system - Google Patents

Method for automatically mounting operating system Download PDF

Info

Publication number
CN101763277A
CN101763277A CN200910253313A CN200910253313A CN101763277A CN 101763277 A CN101763277 A CN 101763277A CN 200910253313 A CN200910253313 A CN 200910253313A CN 200910253313 A CN200910253313 A CN 200910253313A CN 101763277 A CN101763277 A CN 101763277A
Authority
CN
China
Prior art keywords
operating system
client
automatic
installation
windowspe
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910253313A
Other languages
Chinese (zh)
Other versions
CN101763277B (en
Inventor
柏源
陈玄同
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to CN 200910253313 priority Critical patent/CN101763277B/en
Publication of CN101763277A publication Critical patent/CN101763277A/en
Application granted granted Critical
Publication of CN101763277B publication Critical patent/CN101763277B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for automatically mounting an operating system, which can automatically mount the selected operating system in a client terminal. The automatic mounting method comprises the following steps of: running a prestart executing environmental program at the client terminal; obtaining the configuration information of the client terminal according to the mounting requirement of the operating system provided by the client terminal, and extracting a corresponding configuration formation set file from a first server by the client terminal; extracting an operating system mapping file corresponding to the operating system mounting requirement from a second server by the client terminal; obtaining a pre-mounting environmental program and extracting an automatic mounting script from the operating system mapping file; adding the configuration information into the automatic mounting script and adding the modified automatic mounting script into the pre-mounting environmental program; and automatically mounting the operating system to a target hard disk by the modified mounting environmental program and the automatic mounting script.

Description

The method of automatic installing operating system
Technical field
The present invention relates to a kind of method of automatic software installation, relate in particular to a kind of method of automatic installing operating system.
Background technology
Along with the quick growth of counter technology and usefulness, counter in the application in each field more and more widely.Especially the variation of software and hardware also is inconjunction with the usefulness that influences computer run.For individual user, user only demand side carries out the installation of operating system and the adjustment of hardware to single counter.
But for the manufacturer that needs are installed many counters, if these work all by manually finishing, workload there is not efficient greatly and again like this.Therefore, there is manufacturer to propose the method for robotization installing operating system.After the method for existing robotization installing operating system need be bound the driver of operating system and peripheral device, meet the operating system file of this counter in order to generation.
Because generating new operating system file need be with the driver of all peripheral devices and the environmental parameter of setting operation system, therefore, previous operations still must be decided in its sole discretion by the user.And need make the single job system file again for different types of counter.So prior art still can produce the wrong problem that is difficult for maintenance of setting.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method of automatic installing operating system, and selected operating system can be installed in client automatically.
For reaching above-mentioned purpose, the method of the disclosed automatic installing operating system of the present invention may further comprise the steps: move pre-start execution environment program (pre-boot execution environment) in client, and obtain general WindowsPE by pre-start execution environment program; According to the operating system installation requirement that client proposed, obtain the configuration information of client, extract corresponding configuration information external member file by client to first server; Extract the mapping document of operation system of corresponding operating system installation requirement to second server by client; From mapping document of operation system, obtain the WindowsPE program and extract automatic installation script; Configuration information is added automatic installation script, and amended automatic installation script is added the WindowsPE program; Carry out installation environment program and automatic installation script, so as to the installation exercise of executive operating system.
Wherein, this operating system is Windows or (SuSE) Linux OS.
Wherein, more comprise at the installation exercise of carrying out this operating system: format this target hard disk; Judge that this operating system installation requires whether to desire installing window operating system; When if this operating system installation requires to Windows, will add this WindowsPE program copy of this automatic installation script in a target disk; After this WindowsPE program copy is finished, this client is restarted; And
Wherein, when requiring to (SuSE) Linux OS, this client is restarted as if this operating system installation.
Wherein, more comprise an indication server, it is connected in this client, and when this client terminal start-up, this client is to this this operating system installation requirement of indication server lookup.
Wherein, this configuration information comprises a service routine of operating system.
The invention provides a kind of method of automatic installing operating system, making does not need environmental parameter and its peripheral device by user's setting operation system in the process of installing operating system.In addition, the present invention can give different settings at Windows or the various operating system of (SuSE) Linux OS, thereby shortens the time of installing operating system.
Relevant characteristics and implementation of the present invention cooperate diagram to be described in detail as follows as most preferred embodiment now.
Description of drawings
Fig. 1 is a configuration diagram of the present invention;
Fig. 2 is an operation workflow synoptic diagram of the present invention;
Fig. 3 is that operating system of the present invention is judged schematic flow sheet.
Wherein, Reference numeral:
110: the indication server
120: client
130: the first servers
140: second server
Embodiment
The present invention system is applied to the installation of the operating system of personal computer, mobile computer or server.Operating system described in the present invention is applicable to the operating systems such as Windows, (SuSE) Linux OS or Unix-like of Microsoft.
Please refer to shown in Figure 1ly, it is a configuration diagram of the present invention.The present invention includes indication server 110, client 120, first server 130 and second server 140.Client 120 is for desiring the counter of installing operating system.Client 120 is connected to first server 130 and second server 140 by network respectively.
Indication server 110 is connected in client 120.When client 120 was activated, client 120 was to indication server 110 query manipulation system installation requirements.First server 130 is in order to store employed external member file of each operating system or driver.The kind of external member file includes Hypertext Transport Protocol, file transfer protocol (FTP) or DynamicHost and sets agreement etc.Counter needs the driver of motherboard chip, display card, sound card and network card at least with regard to driver.
Second server 140 is in order to store operation system image file.The kind of mapping document of operation system is the image file file of Windows (for example: Windows 2000, NT, XP, Server etc.), (SuSE) Linux OS (for example: Red Hat, Fedora or Ubutun operating system) or Unix operating system.
Client 120 is after obtaining the operating system installation requirement, and client 120 can require operation the following step according to operating system installation.Please refer to shown in Figure 2ly, it is an operation workflow synoptic diagram of the present invention.
Step S210: move pre-start execution environment program (PXE) in client, and obtain general WindowsPE by pre-start execution environment program;
Step S220: after client is obtained the operating system installation requirement, obtain the configuration information of client, extract the external member file to first server by client;
Step S230: the mapping document of operation system that extracts corresponding operating system installation requirement by client to second server;
Step S240: from mapping document of operation system, obtain the WindowsPE program and extract automatic installation script;
Step S250: configuration information is added automatic installation script, and amended automatic installation script is added the WindowsPE program; And
Step S260: carry out installation environment program and automatic installation script, so as to the fitting operation of executive operating system.
For clearly demonstrating operation of the present invention, this with following example as explanation, but parameter wherein is not to be the unique setting of the present invention.At first, when starting client (meaning is about to client 120 starts), client 120 can the pre-start of operation execution environment program.Pre-start execution environment program is in the ROM (read-only memory) of burning road in network card.Pre-start execution environment program is developed according to the industrial standard PXE agreement of Intel Company, and it is used for guiding client 120 to be started by network.In this enforcement aspect with (SuSE) Linux OS as general WindowsPE.In other words, can realize this purpose by the (SuSE) Linux OS of CD or dish driving with oneself.
In addition, client 120 can be connected to indication server 110 behind the starting up, and to the operating system installation requirement of indicating server 110 inquiring client terminals 120.In general WindowsPE, also write down the address of first server 130, made client 120 can be connected to first server 130 and second server 140 (corresponding step S210) when opening with second server 140.
Client 120 obtains corresponding configuration information by indication server 110.Client 120 can be inquired about the placement path of the external member file in first server 130 from indication server 110.Make pre-start execution environment program drive file to the peripheral device that first server 130 extracts the respective perimeter device according to the configuration information of those peripheral devices.Wherein, the file transfer mode of the client 120 and first server 130 can be passed through file transfer protocol (FTP) (File Transmission Protocol, FTP) or servo-information block network file system(NFS) (Server Message Block/Common, SAM) etc. mode realizes the purpose (corresponding step S220) of file transfer.In like manner, client 120 can grasp the mapping document of operation system (corresponding step S230) that desire is installed to second server 140 by above-mentioned various host-host protocols.
After client 120 obtained mapping document of operation system and external member file, client 120 obtained the WindowsPE program and extracts automatic installation script (corresponding step S240) from mapping document of operation system.When every suit operating system installation, operating system can provide corresponding pre action, so as to the setting of user's input operation system running environment is provided.For example: the setting of the network address, display environment are set or user's authority setting.For efficient setting client 120 environment of energy, therefore, can carry out the setting of environmental parameter originally by automatic installation foot.
Then, configuration information is added automatic installation script, and amended automatic installation script is added the WindowsPE program.Make that can directly call the external member file according to configuration information in the process of operating system installation installs (corresponding step S250).Automatically the content of installation script comprises at least: the installation subregion of target hard disk, the environmental parameter of operating system and the loading position of driver etc.The kind that needs other decision operation system in the process of installing operating system also please cooperate shown in Figure 3ly, and it is that operating system of the present invention is judged schematic flow sheet.
Step S310: format target hard disk;
Step S320: whether decision operation system installation requirement desires installing window operating system;
Step S330: when requiring to Windows, will add the WindowsPE program copy of automatic installation script in target disk as if operating system installation;
Step S340: after the WindowsPE program copy is finished, client is restarted (reboot), so as in target hard disk, carrying out the WindowsPE program; And
Step S350: when requiring to (SuSE) Linux OS, client is restarted, can carry out the installation of operating system according to new WindowsPE program to target hard disk when client is opened once more as if operating system installation.
For can be complete with operating system installation in client 120, so the target hard disk in the client 120 can be formatd before installing.Then, judge whether the operating system that desire is installed is Windows.When operating system installation required to Windows, the WindowsPE program copy that then will add automatic installation script was in target disk.Because the disk access form that Windows and (SuSE) Linux OS moved is different.Generally speaking, Windows be the disk access form that can't support (SuSE) Linux OS (for example: ext2/ext3), but the disk access form (for example: FAT 16 or FTA 32) that (SuSE) Linux OS can slot operating system.By the target disk of guaranteeing pre-installing operating system can be used by Windows, therefore, after being judged as Windows, target disk is carried out formative action.
When duplicate finish after, client 120 is restarted (reboot).After client 120 was restarted, client 120 can begin to carry out the installation of operating system according to the WindowsPE program in the target hard disk.
If when operating system installation requires to (SuSE) Linux OS or Unix operating system, then directly client 120 is restarted, can carry out the installation of operating system according to new WindowsPE program to target hard disk when client 120 is opened once more.Different with the front is, does not need to copy in addition the action of target hard disk for (SuSE) Linux OS or Unix operating system.This is because (SuSE) Linux OS or Unix operating system can be directly by the direct actions that realizes the operating system installation target hard disk of aforesaid general WindowsPE.
The invention provides a kind of method of automatic installing operating system, making does not need environmental parameter and its peripheral device by user's setting operation system in the process of installing operating system.In addition, the present invention can give different settings at Windows or the various operating system of (SuSE) Linux OS, thereby shortens the time of installing operating system.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (5)

1. the method for an automatic installing operating system is installed an operating system automatically in a client, and the method for this automatic installing operating system comprises:
Move a pre-start execution environment program in this client, and obtain a general WindowsPE by this pre-start execution environment program;
According to the operating system installation requirement that this client proposed, obtain a configuration information of this client, by this client to one first server extract mutually should configuration information an external member file;
Extract mutually a mapping document of operation system that should operating system installation requires to a second server by this client;
In this general WindowsPE, from this mapping document of operation system, obtain a WindowsPE program and extract an automatic installation script;
This configuration information is added this automatic installation script, and amended this automatic installation script is added this WindowsPE program; And
Carry out this installation environment program and this automatic installation script, so as to carrying out the fitting operation of this operating system.
2. the method for automatic installing operating system according to claim 1 is characterized in that, this operating system is Windows or (SuSE) Linux OS.
3. the method for automatic installing operating system according to claim 2 is characterized in that, more comprises at the fitting operation of carrying out this operating system:
Format this target hard disk;
Judge that this operating system installation requires whether to desire installing window operating system;
When if this operating system installation requires to Windows, will add this WindowsPE program copy of this automatic installation script in a target disk;
After this WindowsPE program copy is finished, this client is restarted; And
If when this operating system installation requires to (SuSE) Linux OS, this client is restarted.
4. the method for automatic installing operating system according to claim 1 is characterized in that, more comprises an indication server, and it is connected in this client, and when this client terminal start-up, this client is to this this operating system installation requirement of indication server lookup.
5. the method for request 1 a described automatic installing operating system is characterized in that this configuration information comprises a service routine of operating system.
CN 200910253313 2009-11-30 2009-11-30 Method for automatically mounting operating system Expired - Fee Related CN101763277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910253313 CN101763277B (en) 2009-11-30 2009-11-30 Method for automatically mounting operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910253313 CN101763277B (en) 2009-11-30 2009-11-30 Method for automatically mounting operating system

Publications (2)

Publication Number Publication Date
CN101763277A true CN101763277A (en) 2010-06-30
CN101763277B CN101763277B (en) 2013-01-30

Family

ID=42494449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910253313 Expired - Fee Related CN101763277B (en) 2009-11-30 2009-11-30 Method for automatically mounting operating system

Country Status (1)

Country Link
CN (1) CN101763277B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894033A (en) * 2010-07-09 2010-11-24 英业达股份有限公司 Installation system and method capable of selecting operating system to be run on client computer automatically
CN101937351A (en) * 2010-09-15 2011-01-05 深圳市任子行网络技术股份有限公司 Method and system for automatically installing application software
CN102063322A (en) * 2011-02-21 2011-05-18 北京奇虎科技有限公司 Method and system for implementing automatic patch installing
CN102455929A (en) * 2011-08-19 2012-05-16 中标软件有限公司 Method for conveniently generating original equipment manufacturer (OEM) Linux installation mirror image
CN102467395A (en) * 2010-11-10 2012-05-23 英业达集团(天津)电子技术有限公司 Method for installing operating system by using image file
CN102646046A (en) * 2012-04-13 2012-08-22 深圳市同洲电子股份有限公司 Upgrading method and terminal
CN103164238A (en) * 2011-12-12 2013-06-19 纬创资通股份有限公司 Method for automatically and continuously installing operating system
CN104199689A (en) * 2014-08-18 2014-12-10 中国建设银行股份有限公司 Method and device for installing comprehensive front end system
CN104391713A (en) * 2014-10-28 2015-03-04 浪潮电子信息产业股份有限公司 Automatic installation method for Windows system
CN104679537A (en) * 2013-11-28 2015-06-03 英业达科技有限公司 System and method for using mirror images to establish bootable storage device
CN105138369A (en) * 2015-08-25 2015-12-09 北京百度网讯科技有限公司 Method and device for installing operation systems
WO2016045403A1 (en) * 2014-09-24 2016-03-31 中兴通讯股份有限公司 Runtime environment configuration method, device and system
CN103677887B (en) * 2012-09-26 2017-06-27 联想(北京)有限公司 A kind of information processing method and a kind of electronic equipment
CN107608681A (en) * 2017-09-14 2018-01-19 紫光华山信息技术有限公司 Installation method of operating system, device and server
CN107621956A (en) * 2017-10-09 2018-01-23 江苏航天龙梦信息技术有限公司 A kind of method of network start-up operation system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1504880A (en) * 2002-11-29 2004-06-16 联想(北京)有限公司 Operating system automatically installing method applying Linux
US20080052502A1 (en) * 2006-08-22 2008-02-28 Dell Products L.P. Method and Apparatus for Presenting Drivers Stored on Utility Partition of Hard Disk Through Virtual Floppy to Operating System Installer
CN101398762A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Method and device for automatic installing operating system on computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1504880A (en) * 2002-11-29 2004-06-16 联想(北京)有限公司 Operating system automatically installing method applying Linux
US20080052502A1 (en) * 2006-08-22 2008-02-28 Dell Products L.P. Method and Apparatus for Presenting Drivers Stored on Utility Partition of Hard Disk Through Virtual Floppy to Operating System Installer
CN101398762A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Method and device for automatic installing operating system on computer

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894033A (en) * 2010-07-09 2010-11-24 英业达股份有限公司 Installation system and method capable of selecting operating system to be run on client computer automatically
CN101937351A (en) * 2010-09-15 2011-01-05 深圳市任子行网络技术股份有限公司 Method and system for automatically installing application software
CN101937351B (en) * 2010-09-15 2013-07-31 任子行网络技术股份有限公司 Method and system for automatically installing application software
CN102467395A (en) * 2010-11-10 2012-05-23 英业达集团(天津)电子技术有限公司 Method for installing operating system by using image file
CN102063322A (en) * 2011-02-21 2011-05-18 北京奇虎科技有限公司 Method and system for implementing automatic patch installing
CN102455929B (en) * 2011-08-19 2015-03-25 中标软件有限公司 Method for conveniently generating original equipment manufacturer (OEM) Linux installation mirror image
CN102455929A (en) * 2011-08-19 2012-05-16 中标软件有限公司 Method for conveniently generating original equipment manufacturer (OEM) Linux installation mirror image
CN103164238A (en) * 2011-12-12 2013-06-19 纬创资通股份有限公司 Method for automatically and continuously installing operating system
CN102646046A (en) * 2012-04-13 2012-08-22 深圳市同洲电子股份有限公司 Upgrading method and terminal
CN103677887B (en) * 2012-09-26 2017-06-27 联想(北京)有限公司 A kind of information processing method and a kind of electronic equipment
CN104679537A (en) * 2013-11-28 2015-06-03 英业达科技有限公司 System and method for using mirror images to establish bootable storage device
CN104199689A (en) * 2014-08-18 2014-12-10 中国建设银行股份有限公司 Method and device for installing comprehensive front end system
CN104199689B (en) * 2014-08-18 2017-10-27 中国建设银行股份有限公司 The installation method and device of comprehensive front-end system
WO2016045403A1 (en) * 2014-09-24 2016-03-31 中兴通讯股份有限公司 Runtime environment configuration method, device and system
CN104391713A (en) * 2014-10-28 2015-03-04 浪潮电子信息产业股份有限公司 Automatic installation method for Windows system
CN105138369A (en) * 2015-08-25 2015-12-09 北京百度网讯科技有限公司 Method and device for installing operation systems
US10572241B2 (en) 2015-08-25 2020-02-25 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for installing operation system
CN107608681A (en) * 2017-09-14 2018-01-19 紫光华山信息技术有限公司 Installation method of operating system, device and server
CN107608681B (en) * 2017-09-14 2021-12-07 新华三信息技术有限公司 Operating system installation method and device and server
CN107621956A (en) * 2017-10-09 2018-01-23 江苏航天龙梦信息技术有限公司 A kind of method of network start-up operation system

Also Published As

Publication number Publication date
CN101763277B (en) 2013-01-30

Similar Documents

Publication Publication Date Title
CN101763277B (en) Method for automatically mounting operating system
RU2417415C2 (en) Method and system for deploying software, software deployment server and user server
EP2879051B1 (en) An electronic device including a MTD used temporarily during non-volatile memory file system update
US7574592B2 (en) Approval process for booting devices in pre-boot execution environment (PXE)
CN103744695A (en) Method and system for operating system remote installation on basis of PXE
CN110908753B (en) Intelligent fusion cloud desktop server, client and system
US20070198819A1 (en) Boot architecture discovery in pre-boot environment
CN101393524A (en) Firmware update method and system using the same
CN103164238A (en) Method for automatically and continuously installing operating system
CN110753088B (en) System deployment method and device
CN107463388B (en) UEFI diskless starting method
CN111475172B (en) Bare metal deployment method and device
CN111338662A (en) Firmware upgrading method and device for slave station and terminal
JP7454011B2 (en) Firmware publishing method for multiple binary images and electronic devices
CN105183529A (en) Method for refreshing server firmware, target server, source server and system
CN105119732A (en) Device and method for distributing hosts in cluster environment
CN111124508A (en) Method and device for adjusting PXE (PCI extensions for instrumentation) starting sequence of network card
CN100375022C (en) Method and built-in system for duplicating software system between networks
CN102053845B (en) Electronic device for automatically and continuously mounting operating system and related method and system thereof
CN113282342A (en) Deployment method, device, system, electronic equipment and readable storage medium
CN112506539A (en) Firmware updating method and device, electronic equipment and storage medium
CN112486508B (en) Deployment method of operating system, server and computer storage medium
CN106484442B (en) Server system and method for updating startup mapping file
CN109669727B (en) Server configuration method, system and related components
CN110737444A (en) Remote self-adaptive dynamic deployment method and system for operating system based on firmware

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
CB03 Change of inventor or designer information

Inventor after: Li Jigen

Inventor before: Bai Yuan

Inventor before: Chen Xuantong

CB03 Change of inventor or designer information
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170915

Address after: Ping 06 village village, Yanling County, Zhuzhou City, Hunan Province

Patentee after: Li Jigen

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation

CP02 Change in the address of a patent holder

Address after: 541002 No. two, No. 5, West Road, Xiangshan District, Guilin, the Guangxi Zhuang Autonomous Region

Patentee after: Li Jigen

Address before: 412500 Zhuzhou City, Hunan Province, Yanling County, Tong Yue Village, No. 06

Patentee before: Li Jigen

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 412500 Zhuzhou City, Hunan Province, Yanling County, Tong Yue Village, No. 06

Patentee after: Li Jigen

Address before: 541002 No. two, No. 5, West Road, Xiangshan District, Guilin, the Guangxi Zhuang Autonomous Region

Patentee before: Li Jigen

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130130

Termination date: 20171130

CF01 Termination of patent right due to non-payment of annual fee