CN102622244A - Automatic-drive-adding system installation method - Google Patents

Automatic-drive-adding system installation method Download PDF

Info

Publication number
CN102622244A
CN102622244A CN2012100404345A CN201210040434A CN102622244A CN 102622244 A CN102622244 A CN 102622244A CN 2012100404345 A CN2012100404345 A CN 2012100404345A CN 201210040434 A CN201210040434 A CN 201210040434A CN 102622244 A CN102622244 A CN 102622244A
Authority
CN
China
Prior art keywords
img
server
megaraid
cgz
pxe
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012100404345A
Other languages
Chinese (zh)
Inventor
蔡积淼
赵吉志
荣俊齐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN2012100404345A priority Critical patent/CN102622244A/en
Publication of CN102622244A publication Critical patent/CN102622244A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides an automatic-drive-adding system installation method, which includes: installing a Linux system automatically and disposing a drive module on a server to be added automatically when configuring a pxe server to be loaded. Particularly, the automatic-drive-adding system installation method includes the following steps of firstly configuring the pxe server to be loaded, disposing the drive in a catalog of the pxe server, and naming the drive as mega.img if the drive is disposed at /home. A starting file of the system is initrd.img-2.6.32-21-server.

Description

The system installation method that a kind of automatic interpolation drives
Technical field
The present invention relates to the computer operating system field, be specifically related to carry out automatically in the automatic process of installing of linux the interpolation of the driving of system.
Background technology
Because the renewal speed of computer hardware is very fast, operating system itself has the driver module of part and supports, but sometimes owing to the renewal of hardware, the corresponding driving module is not added in the system, and this just need add driving in installation system.The process need that add to drive is by means of medium, and initial what use is common ide floppy drive, since the eliminating of floppy drive, follow-up uses usb floppy drive, and what use at present is that u coils.But u dish still be floppy drive all to the end user brought in certain operation trouble, (you need to drive file and write on the u dish, in load driver, select corresponding drive then, searching corresponding driving module.Just can carry out the continuation of system then installs) if the medium that client's driving is added is lost, the client promptly can't carry out installing and using of system.
The present invention is directed to above-mentioned situation, automatic installation system when the linux system is installed, and in configuration pxe can server, be placed into driver module on the server and add automatically.
Summary of the invention
The purpose of this invention is to provide the system installation method that a kind of automatic interpolation drives.
The objective of the invention is to realize by following mode, automatic installation system when the linux system is installed, and in configuration pxe can server, be placed into driver module on the server and add automatically, concrete steps are following:
At first configuring needs the pxe of can server, and driving is positioned under the catalogue of pxe server, and the hypothesis name that is placed into/drives under the home here is called mega.img, the startup file initrd.img-2.6.32-21-server of system here;
In the configuration file of pxe, carry out writing of software program;
Write following script at d-i preseed/early_command string place
cd /
wget http://10.52.11.23/home/mega.img
wget /etc?http://10.52.11.23/home/initrd.img-2.6.32-21-server
mkdir?img
mkdir?cgz
mountmega.img?img?–o?loop
cd?img
cd?modules
cp?modules.cgz?/cgz
cd?/cgz
gzip?–dc?modules.cgz|cpio?–div
cd?2.6.32-21-server
cd?scsi/megaraid
cp?megaraid_sas.ko?/tmp
cd?/tmp
insmod?megaraid_sas.ko
Need before the order of every row, use when noting being write as delegation here ;Cut apart
Can carry out the installation of normal system after finishing this step;
Guarantee system loads such as needed module, need carry out following concrete operations again at cfg file last:
Need to carry out following order among the d-i clock-setup/late_command string in cfg
Cd?/etc
cp?-f /lib/modules/2.6.32-21-generic/kernel/drivers/scsi/megaraid/megaraid_sas.ko
cp?-f?/etc/initrd.img-2.6.32-21-server /target/boot/initrd.img-2.6.32-21-server
After this system can proceed to install, can restart automatically after the installation, this moment system with regard to installation, and needed module added among the needed kernel smoothly.
The invention has the beneficial effects as follows: automatic installation system when the linux system is installed, and in configuration pxe can server, be placed into driver module on the server and add automatically.
Embodiment
Use the mode of software in system's installation process, to carry out automatic interpolation, concrete steps are following:
At first configuring needs the pxe of can server, and driving is positioned under the catalogue of pxe server, and the hypothesis name that is placed into/drives under the home here is called mega.img, the startup file initrd.img-2.6.32-21-server of system here;
In the configuration file of pxe, carry out writing of software program;
Write following script at d-i preseed/early_command string place
cd /
Wget http: // 10.52.11.23/home/mega.img (10.52.11.23 is the ip of pxe server here, and mega.img is for driving the title of mirror image, and this two place according to actual needs)
Wget/etc http: // 10.52.11.23/home/initrd.img-2.6.32-21-server (title of the initrd here system of installing as required makes amendment, this part for driving)
mkdir?img
mkdir?cgz
mountmega.img?img?–o?loop
cd?img
cd?modules
cp?modules.cgz?/cgz
cd?/cgz
gzip?–dc?modules.cgz|cpio?–div
Cd 2.6.32-21-server (the kernel title of the corresponding module that enters here)
cd?scsi/megaraid
cp?megaraid_sas.ko?/tmp
cd?/tmp
insmod?megaraid_sas.ko
Need before the order of every row, use when noting being write as delegation here ;Cut apart
Can carry out the installation of normal system after finishing this step.
Annotate this moment and do not guarantee that also system can load like needed module, need be in the following concrete operations of carrying out again at last of cfg file.
Need to carry out following order among the d-i clock-setup/late_command string in cfg
Cd?/etc
cp?-f /lib/modules/2.6.32-21-generic/kernel/drivers/scsi/megaraid/megaraid_sas.ko
cp?-f?/etc/initrd.img-2.6.32-21-server /target/boot/initrd.img-2.6.32-21-server
After this system can proceed to install, can restart automatically after the installation, this moment system with regard to installation, and needed module added among the needed kernel smoothly.
Embodiment
Installation steps are following:
1. conventional method is installed carries out the installation configuration of pxe server;
2. needed driving mirror image or module and boot files are placed in the catalogue of pxe server (be placed on/home in) here;
3. after guiding pxe installed, system can not have installation smoothly under the situation of interfering.
Except that the described technical characterictic of instructions, be the known technology of those skilled in the art.

Claims (1)

1. one kind is automatically added the system installation method that drives, and it is characterized in that automatic installation system when the linux system is installed, and in configuration pxe can server, is placed into driver module on the server and adds automatically, and concrete steps are following:
At first configuring needs the pxe of can server, and driving is positioned under the catalogue of pxe server, and the hypothesis name that is placed into/drives under the home here is called mega.img, the startup file initrd.img-2.6.32-21-server of system here;
In the configuration file of pxe, carry out writing of software program;
Write following script at d-i preseed/early_command string place
cd /
wget http://10.52.11.23/home/mega.img
wget /etc?http://10.52.11.23/home/initrd.img-2.6.32-21-server
mkdir?img
mkdir?cgz
mountmega.img?img?–o?loop
cd?img
cd?modules
cp?modules.cgz?/cgz
cd?/cgz
gzip?–dc?modules.cgz|cpio?–div
cd?2.6.32-21-server
cd?scsi/megaraid
cp?megaraid_sas.ko?/tmp
cd?/tmp
insmod?megaraid_sas.ko
Need before the order of every row, use when noting being write as delegation here ;Cut apart
Can carry out the installation of normal system after finishing this step;
Guarantee system loads such as needed module, need carry out following concrete operations again at cfg file last:
Need to carry out following order among the d-i clock-setup/late_command string in cfg
Cd?/etc
cp?-f /lib/modules/2.6.32-21-generic/kernel/drivers/scsi/megaraid/megaraid_sas.ko
cp?-f?/etc/initrd.img-2.6.32-21-server /target/boot/initrd.img-2.6.32-21-server
After this system can proceed to install, can restart automatically after the installation, this moment system with regard to installation, and needed module added among the needed kernel smoothly.
CN2012100404345A 2012-02-22 2012-02-22 Automatic-drive-adding system installation method Pending CN102622244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100404345A CN102622244A (en) 2012-02-22 2012-02-22 Automatic-drive-adding system installation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100404345A CN102622244A (en) 2012-02-22 2012-02-22 Automatic-drive-adding system installation method

Publications (1)

Publication Number Publication Date
CN102622244A true CN102622244A (en) 2012-08-01

Family

ID=46562174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100404345A Pending CN102622244A (en) 2012-02-22 2012-02-22 Automatic-drive-adding system installation method

Country Status (1)

Country Link
CN (1) CN102622244A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514022A (en) * 2013-10-22 2014-01-15 浪潮电子信息产业股份有限公司 RAID card drive integration method under LINUX
CN104866363A (en) * 2015-06-11 2015-08-26 广西一铭软件股份有限公司 One-click installation method capable of realizing operating system user definition

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030200290A1 (en) * 2002-04-18 2003-10-23 Myron Zimmerman System for and method of streaming data to a computer in a network
CN1916846A (en) * 2005-08-17 2007-02-21 联想(北京)有限公司 Method for automatic deploying operate system
CN101819533A (en) * 2010-03-25 2010-09-01 浪潮电子信息产业股份有限公司 Method for installing drivers in LINUX system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030200290A1 (en) * 2002-04-18 2003-10-23 Myron Zimmerman System for and method of streaming data to a computer in a network
CN1916846A (en) * 2005-08-17 2007-02-21 联想(北京)有限公司 Method for automatic deploying operate system
CN101819533A (en) * 2010-03-25 2010-09-01 浪潮电子信息产业股份有限公司 Method for installing drivers in LINUX system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CW0319: "《[原创]添加设备驱动到initrd.img-PXE环境建设》", 《HTTP://BBS.CHINAUNIX.NET/THREAD-1935996-1-1.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514022A (en) * 2013-10-22 2014-01-15 浪潮电子信息产业股份有限公司 RAID card drive integration method under LINUX
CN104866363A (en) * 2015-06-11 2015-08-26 广西一铭软件股份有限公司 One-click installation method capable of realizing operating system user definition

Similar Documents

Publication Publication Date Title
EP3518099B1 (en) Installation of operating system
CN103746833A (en) PXE-based RAID automatic configuration method and system
US20100325624A1 (en) Method and System for Application Portability
CN106775928B (en) Automatic virtual machine migration system and method between heterogeneous cloud platforms
CN107463388B (en) UEFI diskless starting method
US20090172710A1 (en) Method and system for enabling a mini program on a computing device to access an auxiliary system
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
WO2009042987A1 (en) Installation of a virtualization environment
JP2014127209A (en) Computer program installation system of virtual machine, and method for the same
TW201416879A (en) Cloud system and the boot up and deployment method for the cloud system
US20190205109A1 (en) Computer system, baseboard management controller, and os installation method
US11175860B2 (en) Virtual memories to load operating systems
US9411604B2 (en) Booting a computing device to have a predefined functionality
CN103902302A (en) Software installation system and method for virtual machine
US8856506B2 (en) Process for joining a computer to a directory based on either a newly created computer account or renewed computer account depending on a unique identifier associated with an end-user
CN102622244A (en) Automatic-drive-adding system installation method
CN101615127B (en) Automatic installing method of operating system based on strategy
CN103984572A (en) Method and equipment for realizing computer installation and operating system switch without CD driver
US7685595B1 (en) Browser-controlled installation of software on remote computer system
US20110231638A1 (en) Preinstalled operating system instances stored on removable storage devices
JP2015001757A5 (en)
US20110302399A1 (en) Rapid activation of service management processor subsystem for server device
US8762699B1 (en) System, apparatus, and method for initiating a reboot of a personal computer system by pressing a button on an attached storage device and causing the operating system on the attached storage device to be booted
CN104778048A (en) Method and device for installing and setting up server web environment on the basis of Linux system
KR100671046B1 (en) Application program install system and method using usb

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120801