CN101763277B - Method for automatically mounting operating system - Google Patents

Method for automatically mounting operating system Download PDF

Info

Publication number
CN101763277B
CN101763277B CN 200910253313 CN200910253313A CN101763277B CN 101763277 B CN101763277 B CN 101763277B CN 200910253313 CN200910253313 CN 200910253313 CN 200910253313 A CN200910253313 A CN 200910253313A CN 101763277 B CN101763277 B CN 101763277B
Authority
CN
China
Prior art keywords
operating system
client
mounting
windowspe
program
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.)
Expired - Fee Related
Application number
CN 200910253313
Other languages
Chinese (zh)
Other versions
CN101763277A (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 Fast Growth of counter technology and usefulness, counter is more and more extensive in the application in each field.Especially the variation of software and hardware also is inconjunction with the usefulness that affects computer run.For individual user, the user only needs to carry out the installation of operating system and the adjustment of hardware in the face of single counter.
But for the manufacturer that needs are installed many counters, if these work all by manually finishing, workload there is not greatly and again efficient 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 to 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 to 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 to again make the single job system file 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 proposes, obtain the configuration information of client, extract corresponding configuration information external member file by client to first server; Extracted 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 the Auto-mounting script; Configuration information is added the Auto-mounting script, and amended Auto-mounting script is added the WindowsPE program; Carry out installation environment program and Auto-mounting 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 want installing window operating system; When if this operating system installation requires as Windows, will add this WindowsPE program copy of this Auto-mounting script in a target disk; After this WindowsPE program copy is finished, this client is restarted; And
Wherein, if when this operating system installation requires as (SuSE) Linux OS, this client is restarted.
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, so that do 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 for 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 hereby.
Description of drawings
Fig. 1 is configuration diagram of the present invention;
Fig. 2 is operation workflow schematic 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: first server
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 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 wanting the counter of installing operating system.Client 120 respectively by network connection to first server 130 and second server 140.
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 the 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 to have 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 the store operation system map file.The kind of mapping document of operation system is the image file file of Windows (such as 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 operation workflow schematic 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 by client to first server;
Step S230: the mapping document of operation system that is extracted corresponding operating system installation requirement by client to second server;
Step S240: from mapping document of operation system, obtain the WindowsPE program and extract the Auto-mounting script;
Step S250: configuration information is added the Auto-mounting script, and amended Auto-mounting script is added the WindowsPE program; And
Step S260: carry out installation environment program and Auto-mounting 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 that CD or Portable disk drive.
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.Client 120 in general WindowsPE, also recorded the address of first server 130 and second server 140, so that can be connected to first server 130 and second server 140 (corresponding step S210) when opening.
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.Execution environment program is extracted the peripheral device driving file of respective perimeter device to first server 130 according to the configuration information of those peripheral devices so that start shooting in advance.Wherein, the file of client 120 and first server 130 can pass through file transfer protocol (FTP) (File Transmission Protocol, FTP) or the mode such as servo-information block network file system(NFS) (Server Message Block/Common, SAM) realize the purpose (corresponding step S220) of file transfer.In like manner, client 120 can be by the mapping document of operation system (corresponding step S230) of above-mentioned various host-host protocols to second server 140 crawl wishs installations.
After client 120 obtained mapping document of operation system and external member file, client 120 obtained the WindowsPE program and extracts Auto-mounting 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 by the Auto-mounting script.
Then, configuration information is added the Auto-mounting script, and amended Auto-mounting script is added the WindowsPE program.So that can directly call the external member file according to configuration information in the process of operating system installation (corresponding step S250) is installed.The content of Auto-mounting 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 wants installing window operating system;
Step S330: if when operating system installation requires as Windows, will add the WindowsPE program copy of Auto-mounting script in target disk;
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: if when operating system installation requires as (SuSE) Linux OS, client is restarted, can carry out according to new WindowsPE program the installation of operating system to target hard disk when client is opened again.
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 wish is installed is Windows.When operating system installation requires as Windows, then will add the WindowsPE program copy of Auto-mounting script in target disk.Because the disk access form that Windows and (SuSE) Linux OS move 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-installation operating system can be used by Windows, therefore, after being judged as Windows, the action that target disk is formatd.
When copy 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 as (SuSE) Linux OS or Unix operating system, then directly client 120 is restarted, can carry out according to new WindowsPE program the installation of operating system to target hard disk when client 120 is opened again.Different from 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, so that do 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 for 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; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, 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, Auto-mounting one operating system in a client, 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 proposes, obtain a configuration information of this client, by this client to a 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 Auto-mounting script;
This configuration information is added this Auto-mounting script, and amended this Auto-mounting script is added this WindowsPE program; And
Carry out this WindowsPE program and this Auto-mounting 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 a target hard disk;
Judge that this operating system installation requires whether to want installing window operating system;
When if this operating system installation requires as Windows, will add this WindowsPE program copy of this Auto-mounting script in this target hard disk;
After this WindowsPE program copy is finished, this client is restarted; And
If when this operating system installation requires as (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 CN101763277A (en) 2010-06-30
CN101763277B true 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)

Families Citing this family (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
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
CN102063322B (en) * 2011-02-21 2013-06-26 北京奇虎科技有限公司 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
TW201324354A (en) * 2011-12-12 2013-06-16 Wistron Corp Method for automatic consecutive installing operating systems
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
CN104199689B (en) * 2014-08-18 2017-10-27 中国建设银行股份有限公司 The installation method and device of comprehensive front-end system
CN105511895A (en) * 2014-09-24 2016-04-20 中兴通讯股份有限公司 Method, device, and system for configuring operating environment
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
CN107608681B (en) * 2017-09-14 2021-12-07 新华三信息技术有限公司 Operating system installation method and device and server
CN107621956B (en) * 2017-10-09 2021-11-30 江苏航天龙梦信息技术有限公司 Method for starting operating system based on network

Citations (2)

* 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
CN101398762A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Method and device for automatic installing operating system on computer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7757072B2 (en) * 2006-08-22 2010-07-13 Dell Products L.P. Method and apparatus for presenting drivers stored on utility partition of hard disk through virtual floppy to operating system installer

Patent Citations (2)

* 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
CN101398762A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Method and device for automatic installing operating system on computer

Also Published As

Publication number Publication date
CN101763277A (en) 2010-06-30

Similar Documents

Publication Publication Date Title
CN101763277B (en) Method for automatically mounting operating system
EP3518099B1 (en) Installation of operating system
US7574592B2 (en) Approval process for booting devices in pre-boot execution environment (PXE)
US20070198819A1 (en) Boot architecture discovery in pre-boot environment
CN110753088B (en) System deployment method and device
CN104850437A (en) Installation method and apparatus of operating system
CN107463388B (en) UEFI diskless starting method
CN103164238A (en) Method for automatically and continuously installing operating system
JP2015046075A (en) Information processor, control method therefor, and computer program
US9965299B2 (en) Information processing apparatus, method for controlling the same, and storage medium
CN105183529A (en) Method for refreshing server firmware, target server, source server and system
CN111475172B (en) Bare metal deployment method and device
CN105119732A (en) Device and method for distributing hosts in cluster environment
CN109918096A (en) A kind of installation method of server operating system, system and associated component
CN102073524B (en) A kind of method of wireless communication terminal and self-starting thereof
CN112860325B (en) Automatic and rapid hardware drive preassembling method and system in diskless environment
CN103997684A (en) Method and device for updating operating system
US20110283087A1 (en) Image forming apparatus, image forming method, and computer readable medium storing control program therefor
CN102053845B (en) Electronic device for automatically and continuously mounting operating system and related method and system thereof
US20180316818A1 (en) System and method for installing application and recording medium
JP2021507353A (en) Firmware release of multiple binary images
CN111880818B (en) Installation method, system and device of virtual machine operating system
CN110737444A (en) Remote self-adaptive dynamic deployment method and system for operating system based on firmware
CN103902344A (en) Electronic device for installation of operating system automatically and continuously and related method thereof
CN105391762A (en) Method for remote automatic installation of bid-winning Kylin operating system

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

Inventor after: Li Jigen

Inventor before: Bai Yuan

Inventor before: Chen Xuantong

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

TR01 Transfer of patent right
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