[go: up one dir, main page]

CN105630549A - Method for quickly installing OS - Google Patents

Method for quickly installing OS Download PDF

Info

Publication number
CN105630549A
CN105630549A CN201510976785.0A CN201510976785A CN105630549A CN 105630549 A CN105630549 A CN 105630549A CN 201510976785 A CN201510976785 A CN 201510976785A CN 105630549 A CN105630549 A CN 105630549A
Authority
CN
China
Prior art keywords
installation
partition
root partition
installing
rpm
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
CN201510976785.0A
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 Group Co Ltd
Original Assignee
Inspur Group 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 Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201510976785.0A priority Critical patent/CN105630549A/en
Publication of CN105630549A publication Critical patent/CN105630549A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Landscapes

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

Abstract

本发明提供一种快速安装OS的方法,涉及操作系统领域,本发明能够将一个一个安装rpm包的繁琐步骤省去,取而代之的是提前准备一个已经预安装好的虚拟根分区,通过块拷贝的方式一次性的复制到真实根分区上。提高了安装速度,加快了批量化部署。

The invention provides a method for quickly installing an OS, which relates to the field of operating systems. The invention can omit the cumbersome steps of installing rpm packages one by one, and instead prepare a pre-installed virtual root partition in advance, through block copying One-time copy to the real root partition. Improve the installation speed and speed up batch deployment.

Description

A kind of method of Fast Installation OS
Technical field
The present invention relates to operating system field, a kind of method particularly relating to Fast Installation OS.
Background technology
Along with the development of technology, installing (SuSE) Linux OS again complicated as before, foolproof installation method allows people transfer to Linux camp from Windows camp easily, and LiveOS first experiences, to people is a kind of, the mode installed afterwards especially. Utilize the above technology that non-technical personnel can be allowed quickly to learn how OS is installed, but for professional, it is sometimes desirable to installation rate, or rapid batchization faster is disposed.
Summary of the invention
In order to solve this problem, the present invention proposes a kind of method of Fast Installation OS.
Generally, house the rpm bag (for redhat mirror image) needed for all installations and a list inside ISO image file, this part of list has the dependence of these rpm bags and the affiliated packet situation of rpm bag. When (Basic is a kind of packet situation) is such as installed when user selects Basic, also it is equivalent to have selected all rpm bags belonging to Basic, and the dependence of these rpm bags, then fdisk is given, by these rpm bags according to the order relied on, one by one be installed to root partition, each rpm bag is installed and is essentially all first decompression rpm file, then scattered file in bag is put under corresponding catalogue, this process is a step the slowest in system installation process, and the present invention mainly solves this crux.
The technical scheme is that
A kind of method of Fast Installation OS, including 1) making of fake root subregion, (2) new mirror image installation; Prepare a fake root subregion that pre-installation is good in advance, copy on true root partition by the mode of block copy is disposable.
The flow process of the making of fake root subregion, is all pre-installed into rpm bag to be mounted in a temporary file system, and the remaining space of this temporary file system can delete, to reach to simplify the purpose of final mirror image.
When using new mirror image that OS is installed, treat that fdisk is complete, it is possible to according to the mode of block copy, above-mentioned temporary file system is copied directly to target hard disk subregion (the dd order in corresponding linux).
The tedious steps installing rpm bag one by one can be saved, the substitute is one fake root subregion that pre-installation is good of preparation in advance, copy on true root partition by the mode of block copy is disposable.
The invention has the beneficial effects as follows.
Simplify the tedious steps installing rpm bag in OS installation process one by one.
Copied to disposable for fake root subregion on the true root partition of purpose by the mode of block copy.
Accompanying drawing explanation
Fig. 1 is old image scheme of installation;
Fig. 2 is that new mirror image makes schematic diagram;
Fig. 3 is new mirror image scheme of installation.
Detailed description of the invention
Below present disclosure is carried out more detailed elaboration:
(1) new mirror image production method:
Old image is mounted on a virtual machine, is similar to old image and the step of OS is installed, OS is installed on the root partition of virtual disk (this virtual disk is exactly a big file relative to physical machine).
Being extracted by the root partition of disk, name rootfs.img, generally this file is very big, by mksquashfs order by rootfs.img boil down to Squashfs file, names squashfs.img.
(2) new mirror image installation procedure:
In ISO file, start to start the script generally init by name installing OS, skip the step installing rpm bag one by one, the substitute is the virtual disk root that carry has been made, order as follows:
mount�Coloopsquashfs.img/squashfs
Rootfs.img under/squashfs catalogue be exactly before the root partition of OS mirror image crossed of pre-installation, by the mode (dd order under corresponding linux) of block copy, rootfs.img is copied in the root partition of true disk of target, then need to adjust the capacity of root partition further according to user.

Claims (3)

1.一种快速安装OS的方法,其特征在于,1. A method for quickly installing an OS, characterized in that, 包括1)虚拟根分区的制作、(2)新镜像的安装;提前准备一个已经预安装好的虚拟根分区,通过块拷贝的方式一次性的复制到真实根分区上。Including 1) the production of the virtual root partition, (2) the installation of the new image; prepare a pre-installed virtual root partition in advance, and copy it to the real root partition at one time by means of block copy. 2.根据权利要求1所述的方法,其特征在于,2. The method of claim 1, wherein, 1)虚拟根分区的制作:将要安装的rpm包都预安装到一个临时文件系统中,这个临时文件系统的剩余空间可以删掉,以达到精简最终镜像的目的。1) Create a virtual root partition: pre-install the rpm packages to be installed into a temporary file system, and the remaining space of the temporary file system can be deleted to simplify the final image. 3.根据权利要求2所述的方法,其特征在于,3. The method of claim 2, wherein, 2)新镜像的安装:使用新镜像安装OS时,待硬盘分区完毕,就可以按照块拷贝的方式将上述临时文件系统直接拷贝到目标硬盘分区。2) Installation of the new image: When using the new image to install the OS, after the hard disk partition is completed, the above temporary file system can be directly copied to the target hard disk partition in the way of block copy.
CN201510976785.0A 2015-12-23 2015-12-23 Method for quickly installing OS Pending CN105630549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510976785.0A CN105630549A (en) 2015-12-23 2015-12-23 Method for quickly installing OS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510976785.0A CN105630549A (en) 2015-12-23 2015-12-23 Method for quickly installing OS

Publications (1)

Publication Number Publication Date
CN105630549A true CN105630549A (en) 2016-06-01

Family

ID=56045530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510976785.0A Pending CN105630549A (en) 2015-12-23 2015-12-23 Method for quickly installing OS

Country Status (1)

Country Link
CN (1) CN105630549A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115794132A (en) * 2021-09-10 2023-03-14 中国联合网络通信集团有限公司 Operating system deployment method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303654A (en) * 2007-05-11 2008-11-12 纬创资通股份有限公司 Method for installing computer operating system by adding disk image file
US20090287917A1 (en) * 2008-05-19 2009-11-19 Microsoft Corporation Secure software distribution
CN102053831A (en) * 2010-12-10 2011-05-11 浪潮(北京)电子信息产业有限公司 Linux operating system customizing method and system
US20120124574A1 (en) * 2010-11-11 2012-05-17 Hitachi, Ltd. Virtual computer system and method of installing virtual computer system
CN102929666A (en) * 2012-10-22 2013-02-13 浪潮电子信息产业股份有限公司 Method for deploying system quickly
CN103279374A (en) * 2013-06-09 2013-09-04 浪潮电子信息产业股份有限公司 Operating system distributing technology based on MAC addresses
CN103297504A (en) * 2013-05-09 2013-09-11 浙江大学 Method for quickly deploying operating systems in physical bare computers in cloud data center
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment
CN104077154A (en) * 2013-03-28 2014-10-01 鸿富锦精密工业(深圳)有限公司 Fast installing method of operating system of electronic product
US20150149756A1 (en) * 2013-11-28 2015-05-28 Inventec (Pudong) Technology Corporation System and method for setting up a bootable storage device using image

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303654A (en) * 2007-05-11 2008-11-12 纬创资通股份有限公司 Method for installing computer operating system by adding disk image file
US20090287917A1 (en) * 2008-05-19 2009-11-19 Microsoft Corporation Secure software distribution
US20120124574A1 (en) * 2010-11-11 2012-05-17 Hitachi, Ltd. Virtual computer system and method of installing virtual computer system
CN102053831A (en) * 2010-12-10 2011-05-11 浪潮(北京)电子信息产业有限公司 Linux operating system customizing method and system
CN102929666A (en) * 2012-10-22 2013-02-13 浪潮电子信息产业股份有限公司 Method for deploying system quickly
CN104077154A (en) * 2013-03-28 2014-10-01 鸿富锦精密工业(深圳)有限公司 Fast installing method of operating system of electronic product
CN103297504A (en) * 2013-05-09 2013-09-11 浙江大学 Method for quickly deploying operating systems in physical bare computers in cloud data center
CN103279374A (en) * 2013-06-09 2013-09-04 浪潮电子信息产业股份有限公司 Operating system distributing technology based on MAC addresses
US20150149756A1 (en) * 2013-11-28 2015-05-28 Inventec (Pudong) Technology Corporation System and method for setting up a bootable storage device using image
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
巫建瑞: "浅谈巧用U盘快速安装多媒体教室计算机系统", 《黑龙江科技信息》 *
陈梁等: "基于YUM本地源的Linux环境快速配置方法", 《红河学院学报》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115794132A (en) * 2021-09-10 2023-03-14 中国联合网络通信集团有限公司 Operating system deployment method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104094225B (en) Create or installation is used for the disk image with the destination apparatus of one in multiple hardware platforms
CN104137065B (en) Disposed on a client device using XML configuration file and update application and drive formula
US9875133B2 (en) Virtual machine disk image installation
CN111176669B (en) Installation starting method of cloud application, cloud streaming server and storage server
GB2522677A (en) Updating software products on virtual machines with software images of new levels thereof
WO2017198035A1 (en) Method and apparatus for controlling uploading/downloading characteristic of docker container
CN103067445B (en) Method and device of software upgrading of distributed system
TW201030605A (en) Method of safe and recoverable firmware update and device the same
CN104219099A (en) Automatic server cluster deploying method and device
CN103530162A (en) Automatic online virtual machine software installing method and system
CN104967664A (en) Cloud automated deployment system and method
PH12010000301A1 (en) Automated deployment of computer-specific software updates
TW201102924A (en) Embedded electronic device and method for updating firmware thereof
CN110393019A (en) Method and related device for updating firmware
CN106254127A (en) Automatic deployment method of RabbitMQ cluster service based on virtualization platform
CN109863475A (en) The upgrade method and relevant device of a kind of application in safety element
CN106790467A (en) A kind of cloud main frame finds the method with automatic deployment automatically
CN104468199A (en) Distributed system deployment and management framework and operation method suitable for Linux
CN109002346B (en) A kind of conversion method of Windows virtual machine boot program
CN106201660A (en) Method for automatically upgrading virtual hardware and software of virtual machine
JP2011146071A5 (en)
CN105119732A (en) Device and method for distributing hosts in cluster environment
US20130247037A1 (en) Control computer and method for integrating available computing resources of physical machines
CN106325954A (en) Oracle and Weblogic combined one-key automatic deployment method
CN105630549A (en) Method for quickly installing OS

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160601

RJ01 Rejection of invention patent application after publication