CN104915232A - Method for achieving multi-platform installation of domestic operating system - Google Patents
Method for achieving multi-platform installation of domestic operating system Download PDFInfo
- Publication number
- CN104915232A CN104915232A CN201510307609.8A CN201510307609A CN104915232A CN 104915232 A CN104915232 A CN 104915232A CN 201510307609 A CN201510307609 A CN 201510307609A CN 104915232 A CN104915232 A CN 104915232A
- Authority
- CN
- China
- Prior art keywords
- platform
- operating system
- value
- grub
- installation
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method for achieving multi-platform installation of a domestic operating system and belongs to the technical field of operating system installation. According to the method, different ID numbers are set for platforms of different types; prior to the system installation, a BIOS reads the ID values and transmits the ID values to a Grub, and the Grub loads corresponding core and system files according to the ID values, the installation of an identical operating system installing disk for different platform operating systems is achieved, and the use convenience is enhanced. If a platform of a new type is added, only a core file of the platform needs to be added to the operating system disk, and the method has good extensibility.
Description
Technical field
The present invention discloses the multi-platform installation implementation method of a kind of domestic operating system, belongs to operating system installation technical field.
Background technology
Operating system is one of link most crucial in whole information industry, is directly related to information security and the Industrial Security of country.Domestic operating system refers to the computer operating system that Chinese software company develops, and in fact, domestic operating system manufacturer defines certain containing in the market level to external operating system, and forces in some fields and show powerful advantage.In government procurement, domestic operating system manufacturer is also for country saves the no small procurement funding of number.Current domestic operating system is mainly developed based on Linux, but also has some to be independent developments.Main product is as follows: red okra (Red flag Linux); Milky way kylin (KylinOS); Get the bid general magnificent Linux; Rainforest wood wind operating system (YLMF OS); Lose in thought huge rock secure operating system; Create Linux, acceptance of the bid kylin, Ubuntu Kylin (excellent kylin) etc., mostly existing domestic operating system installation dish is the corresponding operating system installation dish of the equipment of a type, when device category is more, system disk quantity, by corresponding increase, causes the waste of resource.For the convenience that cost-saving and increase use, the present invention proposes the multi-platform installation implementation method of a kind of domestic operating system, by reading different host id number, load respective host kernel file, realize the installation of same operating system installation dish to different host platform operating system, be applicable to the installation of the operating systems such as notebook, desktop computer, server.
Summary of the invention
The present invention is directed to deficiency and the problem of prior art existence, provide a kind of domestic operating system multi-platform installation implementation method, the concrete scheme that the present invention proposes is:
The multi-platform installation implementation method of a kind of domestic operating system, arranges different No. ID to dissimilar operating platform, and before system is installed, BIOS reads ID value, and ID value transmit is loaded corresponding system kernel and system file to Grub, Grub according to ID value;
Operating process is: after start, starting outfit configuration under BIOS, for arranging starting outfit type according to operating system installation mode, BIOS reads the ID value left in Flash chip, Grub starts the Grub file referred in executive operating system mounting disc, and transmits corresponding mainboard ID value, and Grub judges Platform Type according to ID value, and load the kernel file of corresponding platform, start and operation is installed.
Described starting outfit type is USB CD-ROM drive or SATA CD-ROM drive, and it is consistent with erecting equipment that configuration mainboard starts type.
Described ID puts and equals 1 for notebook-enabled platform, equal 2 for server platform, equal 3 for desktop platforms, Grub judges Platform Type according to ID value, kernel file is installed in the startup loading the corresponding platform left in system disk, carries out the installation of this platform operating system according to prompting.
Described system is installed different platform in operation and is installed in hard disk by its kernel file, and all the other identical system files to be installed are that each platform shares, and will be installed in hard disk successively.
The multi-platform installation of a kind of domestic operating system realizes system, is applied to the multi-platform installation implementation method of the domestic operating system of described one, comprises starting module, equipment configuration module, mainboard ID value read module, Grub starts and ID delivery module, ID value judges and processing module, end block;
Starting module: for starting up BIOS;
Start under equipment configuration module: BIOS, for arranging starting outfit type according to operating system installation mode;
Mainboard ID value read module: be responsible for BIOS and read the ID value left in Flash chip;
Grub starts and ID delivery module: be responsible for the Grub file in executive operating system mounting disc, and transmit corresponding mainboard ID value;
ID value judges and processing module: be responsible for Grub and judge Platform Type according to ID value, and load the kernel file of corresponding platform, start and install operation;
End block: represent installation.
Usefulness of the present invention is: the present invention is by arranging different No. ID for dissimilar platform, before system is installed, BIOS reads this ID value, and pass to Grub, Grub loads corresponding kernel and system file according to ID value, realize same operating system installation dish to the installation of different platform operating system, enhance the convenience of use, cost-saving.If increase the platform of newtype, only need increase the kernel file of this platform in operating system dish, there is good extendability.
Accompanying drawing explanation
Fig. 1 schematic flow sheet of the present invention.
Embodiment
By reference to the accompanying drawings, the present invention will be further described.
As shown in Figure 1, be schematic flow sheet of the present invention, under comprising starting module 101, BIOS, starting outfit configuration module 102, mainboard ID value read module 103 and Grub start and ID delivery module 104, the judgement of ID value and processing module 105, end block 106.
In this example, under BIOS, starting outfit configuration module 102 is for arranging starting outfit type according to operating system installation mode, as from startups such as USB, SATA CD-ROM drives;
Mainboard ID value read module 103 refers to that BIOS reads the ID value left in Flash chip;
Grub startup and ID value delivery module 104 refer to the Grub file in executive operating system mounting disc, and transmit corresponding mainboard ID value;
ID value judges and processing module 105 refers to that Grub judges Platform Type according to ID value, and loads the kernel file of corresponding platform, starts and installs operation.
The multi-platform installation implementation method of a kind of domestic operating system, arranges different No. ID to dissimilar operating platform, and before system is installed, BIOS reads ID value, and ID value transmit is loaded corresponding system kernel and system file to Grub, Grub according to ID value;
After start, starting outfit configuration under BIOS, for arranging starting outfit type according to operating system installation mode, BIOS reads the ID value left in Flash chip, Grub starts the Grub file referred in executive operating system mounting disc, and transmits corresponding mainboard ID value, and Grub judges Platform Type according to ID value, and load the kernel file of corresponding platform, start and operation is installed.
Specific implementation process is:
System disk is positioned in the equipment such as USB CD-ROM drive or SATA CD-ROM drive, start main frame, enter BIOS configuration interface, it is consistent with erecting equipment that configuration mainboard starts type, after BIOS is exited in preservation setting, now BIOS successfully reads the mainboard ID value of programming in Flash chip in advance.Grub file in the mounting disc of BIOS start up system, and transmit corresponding ID value, Grub judges the type of this platform according to ID value.
ID puts to arrange respectively and equals 1 for notebook-enabled platform, equals 2 for server platform, equals 3 for desktop platforms.Judge Platform Type, if ID value=0 × 01, then load notebook and start installation kernel file, start up system is installed, and installs notebook kernel file; If ID value=0 × 02, then load server starts installation kernel file, and start up system is installed, build-in services device kernel file; If ID value=0 × 03, then load desktop computer and start installation kernel file, start up system is installed, and installs desktop computer kernel file; After loading the startup installation kernel file of the corresponding platform left in system disk, in system installation process, the kernel file of oneself is installed in hard disk by different platform, all the other identical systems files to be installed are that each platform shares, and will be installed in hard disk successively, and terminate until install.
Claims (5)
1. the multi-platform installation implementation method of domestic operating system, it is characterized in that arranging different No. ID to dissimilar operating platform, before system is installed, BIOS reads ID value, and ID value transmit is loaded corresponding system kernel and system file to Grub, Grub according to ID value;
Operating process is: after start, starting outfit configuration under BIOS, for arranging starting outfit type according to operating system installation mode, BIOS reads the ID value left in Flash chip, Grub starts the Grub file referred in executive operating system mounting disc, and transmits corresponding mainboard ID value, and Grub judges Platform Type according to ID value, and load the kernel file of corresponding platform, start and operation is installed.
2. the multi-platform installation implementation method of the domestic operating system of one according to claim 1, is characterized in that described starting outfit type is USB CD-ROM drive or SATA CD-ROM drive, and it is consistent with erecting equipment that configuration mainboard starts type.
3. the multi-platform installation implementation method of the domestic operating system of one according to claim 1 and 2, it is characterized in that described ID puts and equal 1 for notebook-enabled platform, equal 2 for server platform, equal 3 for desktop platforms, Grub judges Platform Type according to ID value, kernel file is installed in the startup loading the corresponding platform left in system disk, carries out the installation of this platform operating system according to prompting.
4. the multi-platform installation implementation method of the domestic operating system of one according to claim 3, it is characterized in that described system is installed different platform in operation and is installed in hard disk by its kernel file, all the other identical system files to be installed are that each platform shares, and will be installed in hard disk successively.
5. the multi-platform installation of domestic operating system realizes system, it is characterized in that the multi-platform installation implementation method of the domestic operating system of one be applied to described in any one of claim 1-4, comprise starting module, equipment configuration module, mainboard ID value read module, Grub starts and ID delivery module, and ID value judges and processing module, end block;
Starting module: for starting up BIOS;
Start under equipment configuration module: BIOS, for arranging starting outfit type according to operating system installation mode;
Mainboard ID value read module: be responsible for BIOS and read the ID value left in Flash chip;
Grub starts and ID delivery module: be responsible for the Grub file in executive operating system mounting disc, and transmit corresponding mainboard ID value;
ID value judges and processing module: be responsible for Grub and judge Platform Type according to ID value, and load the kernel file of corresponding platform, start and install operation;
End block: represent installation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510307609.8A CN104915232A (en) | 2015-06-08 | 2015-06-08 | Method for achieving multi-platform installation of domestic operating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510307609.8A CN104915232A (en) | 2015-06-08 | 2015-06-08 | Method for achieving multi-platform installation of domestic operating system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104915232A true CN104915232A (en) | 2015-09-16 |
Family
ID=54084314
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510307609.8A Pending CN104915232A (en) | 2015-06-08 | 2015-06-08 | Method for achieving multi-platform installation of domestic operating system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104915232A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106502739A (en) * | 2016-10-31 | 2017-03-15 | 北京深之度科技有限公司 | Method, device and the computing device that boot disk is made using movable storage device |
CN107491293A (en) * | 2017-04-14 | 2017-12-19 | 广东浪潮大数据研究有限公司 | A kind of BIOS foundation code design methods based on Board ID |
CN109271203A (en) * | 2017-07-14 | 2019-01-25 | 龙芯中科技术有限公司 | Kernel loads method, apparatus and storage medium |
CN110673857A (en) * | 2019-08-12 | 2020-01-10 | 深圳市国科亿道科技有限公司 | Installation method for installing Windows and kylin dual system to hard disk |
CN106791124B (en) * | 2016-12-27 | 2020-10-20 | 北京奇虎科技有限公司 | Mobile terminal flashing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8166472B2 (en) * | 2006-10-12 | 2012-04-24 | Apple Inc. | Installation utility system and method |
CN102681859A (en) * | 2011-03-10 | 2012-09-19 | 北京路模思科技有限公司 | Method for starting Windows operation systems from USB (universal serial bus) mass storage device |
CN102955706A (en) * | 2011-08-30 | 2013-03-06 | 比亚迪股份有限公司 | Installing method and boot loading method for dual operation system |
CN104461653A (en) * | 2014-12-29 | 2015-03-25 | 浪潮电子信息产业股份有限公司 | Method for installing NeoKylin Linux system on Loongson 3B server through USB flash disk |
-
2015
- 2015-06-08 CN CN201510307609.8A patent/CN104915232A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8166472B2 (en) * | 2006-10-12 | 2012-04-24 | Apple Inc. | Installation utility system and method |
CN102681859A (en) * | 2011-03-10 | 2012-09-19 | 北京路模思科技有限公司 | Method for starting Windows operation systems from USB (universal serial bus) mass storage device |
CN102955706A (en) * | 2011-08-30 | 2013-03-06 | 比亚迪股份有限公司 | Installing method and boot loading method for dual operation system |
CN104461653A (en) * | 2014-12-29 | 2015-03-25 | 浪潮电子信息产业股份有限公司 | Method for installing NeoKylin Linux system on Loongson 3B server through USB flash disk |
Non-Patent Citations (2)
Title |
---|
常忠东 等: ""大容量U盘启动盘的制作"", 《内蒙古民族大学学报》 * |
李颖: ""多系统引导程序GRUB"", 《天津市经理学院学报》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106502739A (en) * | 2016-10-31 | 2017-03-15 | 北京深之度科技有限公司 | Method, device and the computing device that boot disk is made using movable storage device |
CN106791124B (en) * | 2016-12-27 | 2020-10-20 | 北京奇虎科技有限公司 | Mobile terminal flashing method and device |
CN107491293A (en) * | 2017-04-14 | 2017-12-19 | 广东浪潮大数据研究有限公司 | A kind of BIOS foundation code design methods based on Board ID |
CN109271203A (en) * | 2017-07-14 | 2019-01-25 | 龙芯中科技术有限公司 | Kernel loads method, apparatus and storage medium |
CN109271203B (en) * | 2017-07-14 | 2022-03-15 | 龙芯中科(西安)科技有限公司 | Kernel loading method and device and storage medium |
CN110673857A (en) * | 2019-08-12 | 2020-01-10 | 深圳市国科亿道科技有限公司 | Installation method for installing Windows and kylin dual system to hard disk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104915232A (en) | Method for achieving multi-platform installation of domestic operating system | |
CN103210395B (en) | With the technology that client virtual machine is mutual | |
US11579893B2 (en) | Systems and methods for separate storage and use of system BIOS components | |
US9239725B2 (en) | System and method for installing an OS via a network card supporting PXE | |
CN100353320C (en) | Boot process | |
US9495535B2 (en) | Systems and methods for authenticated system partition access | |
US9569297B2 (en) | Seamless method for booting from a degraded software raid volume on a UEFI system | |
US7127603B2 (en) | System and method for manufacture of information handling systems with selective option ROM executions | |
CN103733180A (en) | Server control method and control device | |
CN107766084B (en) | Boot loading and installation method and computing system thereof | |
CN103150188A (en) | Quick initialization method for x86 compatible display card of non-x86 instruction set computer | |
CN104732151A (en) | Remote safety batch BIOS updating method under Linux system | |
US20190065300A1 (en) | Method of retrieving debugging data in uefi and computer system thereof | |
US20150268970A1 (en) | Selectively enabling platform-specific features | |
CN102141923A (en) | Memory file system loading method and device | |
CN115794257A (en) | System starting method and device, electronic equipment and storage medium | |
US20170200153A1 (en) | Technologies for conversion of mainframe files for big data ingestion | |
US8914888B1 (en) | Systems and methods for classifying an unclassified process as a potential trusted process based on dependencies of the unclassified process | |
US11366800B2 (en) | System and method to automate validating media redirection in testing process | |
CN110688235B (en) | System and method for sharing wireless connection information between UEFI firmware and OS | |
CN104731626A (en) | Application installation method and device | |
CN102520976B (en) | Solidifying method of DSP (digital signal processor) program | |
CN106547602A (en) | A kind of manufacture method of the operating system mirror image suitable for the loading of iSCSI protocol long distance wireless | |
CN110704075A (en) | Multi-chip firmware burning method, system, device and storage medium | |
CN116305100A (en) | Method, system, computer device and storage medium for identifying hot-plug hard disk |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150916 |
|
RJ01 | Rejection of invention patent application after publication |