CN103777955A - Method and device for installing and operating Unix-like in Windows environment - Google Patents

Method and device for installing and operating Unix-like in Windows environment Download PDF

Info

Publication number
CN103777955A
CN103777955A CN201410039009.3A CN201410039009A CN103777955A CN 103777955 A CN103777955 A CN 103777955A CN 201410039009 A CN201410039009 A CN 201410039009A CN 103777955 A CN103777955 A CN 103777955A
Authority
CN
China
Prior art keywords
boot
class unix
operating system
windows
class
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
CN201410039009.3A
Other languages
Chinese (zh)
Other versions
CN103777955B (en
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.)
Gong Jianhu
Original Assignee
Baolong Computer System (hunan) 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 Baolong Computer System (hunan) Co Ltd filed Critical Baolong Computer System (hunan) Co Ltd
Priority to CN201410039009.3A priority Critical patent/CN103777955B/en
Publication of CN103777955A publication Critical patent/CN103777955A/en
Application granted granted Critical
Publication of CN103777955B publication Critical patent/CN103777955B/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 and a device for installing and operating Unix-like in Windows environment. The method comprises the following steps that guide program of a Unix-like operating system and a mapping file supported by the guided program are copied to a Windows system partition; the guide program of the Unix-like operating system is installed; a Windows starting configuration file is modified; the Windows guide program, the Unix-like guide program and the mapping driving supported by the Unix-like guide program are started; a mapping file supported by the Unix-like guide program is mounted by the mapping driving supported by the Unix-like guide program; a Unix-like operating system kernel and a Unix operating system root file system are loaded; a compression read-only mapping file system of the Unix-like operating system kernel in the mapping file supported by the Unix-like guide program is mounted. The method and the device have the advantage that the installation and the operation of the Unix-like system in the Windows operating system environment are realized.

Description

The method and apparatus of Windows environment installation and operation class Unix
Technical field
The present invention relates to a kind of installation and operation method and device of operating system, refer to especially the method and apparatus of a kind of Windows environment installation and operation class Unix.
Background technology
Operating system is a kind of special in controlling the program of computing machine, is in charge of, the software and hardware resources of scheduling, command computer, and makes its co-ordination, there is no it, and any computing machine all cannot normally move.Along with computer hardware, the particularly development of hard drive storage capacities, multiple operating system arises at the historic moment.So-called multiple operating system is installed two and plural operating system exactly in a computing machine, can in different operating system, complete identical or different task or application, meet a kind of computer mode of the various requirement of computer user.
In the prior art, the zoned format of the zoned format of Windows operating system and class Unix operating system is incompatible, and Windows operating system cannot access classes Unix operating system partition content.Thereby, cannot realize installation and operation class Unix operating system under Windows operating system environment.
Summary of the invention
In view of this, the object of the invention is to propose the method and apparatus of a kind of Windows environment installation and operation class Unix, realized installation and operation class Unix operating system under Windows operating system environment.
Based on the method for above-mentioned purpose a kind of Windows environment installation and operation class Unix provided by the invention, comprise the following steps:
The image file of the boot of class Unix operating system and the support of class Unix booting operating system program is copied to Windows system partitioning;
The boot of class Unix operating system is installed on Windows system partitioning;
Revise Windows and start configuration file, class Unix boot is added in this configuration file;
Start class Unix operating system.
Alternatively, described startup class Unix operating system comprises the following steps:
Start Main Boot Record;
Be written into Windows boot according to the address of preserving in Main Boot Record, start Windows boot;
Start class Unix boot by Windows boot;
Class Unix boot starts the reflection driving that class Unix boot is supported;
The reflection of class Unix boot support drives the image file of class Unix boot support is carried out to carry;
Class Unix operating system nucleus and class Unix operating system root file system in the image file that loading classes Unix boot is supported;
Class Unix operating system nucleus in the image file of class Unix boot support is compressed to read-only image file system and carry out carry; And
Enter class Unix operating system.
Further, after the described class Unix operating system nucleus by the image file of class Unix boot support compresses read-only image file system carry, class Unix boot is deleted.
Based on above-mentioned purpose, the present invention also provides the device of a kind of Windows environment installation and operation class Unix, and the device of described Windows environment installation and operation class Unix comprises installs class Unix operating system device and coupled startup class Unix operating system device; Described installation class Unix operating system device first arrives class Unix operating system installation under Windows environment, and then described startup class Unix operating system device is by the class Unix operating system under Windows environment.
Alternatively, described installation class Unix operating system device comprises:
Replication module, for copying to Windows system partitioning by the image file of the boot of class Unix operating system and the support of class Unix booting operating system program;
Bootstrap program module is installed, is connected with described replication module, for the boot of class Unix operating system is installed on Windows system partitioning; And
Modified module, is connected with described installation bootstrap program module, starts configuration file for revising Windows, and class Unix boot is added in this configuration file.
Alternatively, described startup class Unix operating system device comprises:
Start module, for the reflection of Windows boot, class Unix boot and the support of class Unix boot being driven and started by starting Main Boot Record;
Carry image file module, is connected with startup module, drives the image file of class Unix boot support is carried out to carry for the reflection of class Unix boot support;
Load-on module, is connected with described carry image file module, class Unix operating system nucleus and the class Unix operating system root file system of the image file of supporting for loading classes Unix boot; And
Carry image file system module, is connected with described load-on module, carries out carry for the class Unix operating system nucleus of the image file of class Unix boot support is compressed to read-only image file system.
Further, described startup module starts Main Boot Record, is then written into Windows boot according to the address of preserving in Main Boot Record, starts Windows boot; Start class Unix boot by Windows boot; Last class Unix boot starts the reflection driving that class Unix boot is supported.
Further, described class Unix boot starts the reflection driving that class Unix boot is supported, this reflection drives as loopback image format.
Further, described carry image file system module, completing after carry class Unix operating system nucleus compresses read-only image file system, is deleted class Unix boot.
As can be seen from above, the method and apparatus of Windows environment installation and operation class Unix provided by the invention, by the image file of the boot of class Unix operating system and the support of class Unix booting operating system program is copied to Windows system partitioning, and modification Windows startup configuration file has completed the work that class Unix operating system is installed; Start by class Unix boot the reflection driving that class Unix boot is supported, thereby complete loading classes Unix operating system nucleus and class Unix operating system root file system, and carry class Unix operating system nucleus compresses read-only image file system and has completed the work that starts class Unix operating system.The present invention has greatly simplified the installation and operation process of class Unix operating system, has realized installation and operation class Unix operating system under Windows operating system environment simultaneously.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram that class Unix operating system is installed under embodiment of the present invention Windows environment;
Fig. 2 is the method flow schematic diagram that moves class Unix operating system under embodiment of the present invention Windows environment;
Fig. 3 is the structural representation that class Unix operating system device is installed under embodiment of the present invention Windows environment;
Fig. 4 is the structural representation that moves class Unix operating system device under embodiment of the present invention Windows environment.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
In embodiments of the present invention, the method for installation and operation class Unix operating system has comprised first installs class Unix operating system, then starts class Unix operating system.
Under Windows environment, start the installation procedure of class Unix operating system.Consult shown in Fig. 1, for the method flow schematic diagram of class Unix operating system is installed under embodiment of the present invention Windows environment, comprising:
Step 101, copies to Windows system partitioning by the image file of the boot of class Unix operating system and the support of class Unix booting operating system program.
Step 102 is installed the boot of class Unix operating system on Windows system partitioning, and the boot of class Unix operating system can guide and start the read-only image file of class Unix operating system.
Step 103, revises Windows and starts configuration file, and class Unix boot is added in this configuration file.
After class Unix operating system installation program completes, start class Unix operating system.Consult shown in Fig. 2, for moving the method flow schematic diagram of class Unix operating system under embodiment of the present invention Windows environment, comprising:
Step 201, starts Main Boot Record.
Step 202, is written into Windows boot according to the address of preserving in Main Boot Record, starts Windows boot.
Step 203, starts class Unix boot by Windows boot.Due in the time that class Unix operating system is installed, Windows is started to configuration file and revise, add class Unix boot.So the Windows boot in step 203 can start class Unix boot.
Step 204, class Unix boot starts the reflection driving that class Unix boot is supported.In an embodiment of the present invention, the loopback image format that adopts class Unix boot to support.
Step 205, the reflection of class Unix boot support drives the image file of class Unix boot support is carried out to carry.
Step 206, class Unix operating system nucleus and class Unix operating system root file system in the image file that loading classes Unix boot is supported.
Step 207, compresses read-only image file system by the class Unix operating system nucleus in the image file of class Unix boot support and carries out carry.
Step 208, finally enters class Unix operating system.
The device of the Unix of installation and operation class in embodiments of the present invention, operating system has comprised installs class Unix operating system device and coupled startup class Unix operating system device.
Consult shown in Fig. 3, for the structural representation of class Unix operating system device is installed under embodiment of the present invention Windows environment, wherein:
Replication module 301, its major function comprises:
The image file of the boot of class Unix operating system and the support of class Unix booting operating system program is copied to Windows system partitioning.
Bootstrap program module 302 is installed, is connected with replication module 301, its major function comprises:
The boot of class Unix operating system is installed on Windows system partitioning, and the boot of class Unix operating system can guide and start the read-only image file of class Unix operating system.
Modified module 303, is connected with installation bootstrap program module 302, revises Windows and starts configuration file, and class Unix boot is added in this configuration file.
Consult shown in Fig. 4, for moving the structural representation of class Unix operating system device under embodiment of the present invention Windows environment, wherein:
Start module 401, its major function comprises:
1) start Main Boot Record.
2) be written into Windows boot according to the address of preserving in Main Boot Record, start Windows boot.
3) start class Unix boot by Windows boot.Due in the time that class Unix operating system is installed, Windows is started to configuration file and revise, add class Unix boot.Therefore, Windows boot can start class Unix boot.
4) class Unix boot starts the reflection driving that class Unix boot is supported.In an embodiment of the present invention, the loopback image format that adopts class Unix boot to support.
Carry image file module 402, is connected with startup module 401, and its major function comprises: the reflection of class Unix boot support drives the image file of class Unix boot support is carried out to carry.
Load-on module 403, is connected with carry image file module 402, and its major function comprises: class Unix operating system nucleus and class Unix operating system root file system in the image file that loading classes Unix boot is supported.
Carry image file system module 404, is connected with load-on module 403, and its major function comprises:
1) the class Unix operating system nucleus in the image file of class Unix boot support is compressed to read-only image file system and carry out carry.
2) after carry, can enter class Unix operating system.
According to describing ground above, the present invention has realized the method and apparatus of a kind of Windows environment installation and operation class Unix, creationaryly propose to utilize class Unix boot to carry out installation and operation class Unix operating system, simplified greatly the installation and operation process of class Unix operating system; The present invention need to not launch installation and operation by class Unix operating system in internal memory, has realized the simplest installation and operation method; And, installation and operation class Unix directly carries out when operating system in the time that Windows moves, the zoned format that has solved Windows operating system and class Unix operating system is incompatible, and the problem that Windows operating system cannot access classes Unix operating system partition content; And, realize class Unix operating system revising under Windows operating system environment; Meanwhile, when having carried out after carry class Unix operating system nucleus compresses read-only image file system, can automatically deleting class Unix boot, discharged space; Finally, the method and apparatus of whole described installation and operation class Unix operating system is easy, compact, is easy to realize, thereby experiences for user provides one class Unix operating system installation and operation the most easily.
Those of ordinary skill in the field are to be understood that: the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (9)

1. a method of Windows environment installation and operation class Unix, is characterized in that, comprises the following steps:
The image file of the boot of class Unix operating system and the support of class Unix booting operating system program is copied to Windows system partitioning;
The boot of class Unix operating system is installed on Windows system partitioning;
Revise Windows and start configuration file, class Unix boot is added in this configuration file;
Start class Unix operating system.
2. method according to claim 1, is characterized in that, described startup class Unix operating system comprises the following steps:
Start Main Boot Record;
Be written into Windows boot according to the address of preserving in Main Boot Record, start Windows boot;
Start class Unix boot by Windows boot;
Class Unix boot starts the reflection driving that class Unix boot is supported;
The reflection of class Unix boot support drives the image file of class Unix boot support is carried out to carry;
Class Unix operating system nucleus and class Unix operating system root file system in the image file that loading classes Unix boot is supported;
Class Unix operating system nucleus in the image file of class Unix boot support is compressed to read-only image file system and carry out carry; And
Enter class Unix operating system.
3. method according to claim 2, is characterized in that, after the described class Unix operating system nucleus by the image file of class Unix boot support compresses read-only image file system carry, class Unix boot is deleted.
4. a device of Windows environment installation and operation class Unix, is characterized in that, the device of described Windows environment installation and operation class Unix comprises installs class Unix operating system device and coupled startup class Unix operating system device; Described installation class Unix operating system device first arrives class Unix operating system installation under Windows environment, and then described startup class Unix operating system device is by the class Unix operating system under Windows environment.
5. device according to claim 4, is characterized in that, described installation class Unix operating system device comprises:
Replication module, for copying to Windows system partitioning by the image file of the boot of class Unix operating system and the support of class Unix booting operating system program;
Bootstrap program module is installed, is connected with described replication module, for the boot of class Unix operating system is installed on Windows system partitioning; And
Modified module, is connected with described installation bootstrap program module, starts configuration file for revising Windows, and class Unix boot is added in this configuration file.
6. device according to claim 4, is characterized in that, described startup class Unix operating system device comprises:
Start module, for the reflection of Windows boot, class Unix boot and the support of class Unix boot being driven and started by starting Main Boot Record;
Carry image file module, is connected with startup module, drives the image file of class Unix boot support is carried out to carry for the reflection of class Unix boot support;
Load-on module, is connected with described carry image file module, class Unix operating system nucleus and the class Unix operating system root file system of the image file of supporting for loading classes Unix boot; And
Carry image file system module, is connected with described load-on module, carries out carry for the class Unix operating system nucleus of the image file of class Unix boot support is compressed to read-only image file system.
7. device according to claim 6, is characterized in that, described startup module starts Main Boot Record, is then written into Windows boot according to the address of preserving in Main Boot Record, starts Windows boot; Start class Unix boot by Windows boot; Last class Unix boot starts the reflection driving that class Unix boot is supported.
8. device according to claim 7, is characterized in that, described class Unix boot starts the reflection driving that class Unix boot is supported, this reflection drives as loopback image format.
9. device according to claim 6, is characterized in that, described carry image file system module, completing after carry class Unix operating system nucleus compresses read-only image file system, is deleted class Unix boot.
CN201410039009.3A 2014-01-26 2014-01-26 Method and device for installing and operating Unix-like in Windows environment Expired - Fee Related CN103777955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410039009.3A CN103777955B (en) 2014-01-26 2014-01-26 Method and device for installing and operating Unix-like in Windows environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410039009.3A CN103777955B (en) 2014-01-26 2014-01-26 Method and device for installing and operating Unix-like in Windows environment

Publications (2)

Publication Number Publication Date
CN103777955A true CN103777955A (en) 2014-05-07
CN103777955B CN103777955B (en) 2017-05-24

Family

ID=50570237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410039009.3A Expired - Fee Related CN103777955B (en) 2014-01-26 2014-01-26 Method and device for installing and operating Unix-like in Windows environment

Country Status (1)

Country Link
CN (1) CN103777955B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181507A (en) * 2020-10-23 2021-01-05 北京安石科技有限公司 Method and system for fusing with operating system
CN113434205A (en) * 2021-04-26 2021-09-24 统信软件技术有限公司 Operating system starting method and computing device
CN114546505A (en) * 2022-02-22 2022-05-27 联想开天科技有限公司 Method for filling multiple operating systems and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102486722A (en) * 2009-11-03 2012-06-06 刘明前 Computer operation system and establishing method thereof
CN103425511A (en) * 2013-08-16 2013-12-04 北京华胜天成科技股份有限公司 System and method of installing and deploying application software in cloud computing environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102486722A (en) * 2009-11-03 2012-06-06 刘明前 Computer operation system and establishing method thereof
CN103425511A (en) * 2013-08-16 2013-12-04 北京华胜天成科技股份有限公司 System and method of installing and deploying application software in cloud computing environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
UBUNTU之家: "Windows和Ubuntu双系统完全独立的安装方法", 《HTTP://OS.51CTO.COM/ART/201206/345106.HTM》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181507A (en) * 2020-10-23 2021-01-05 北京安石科技有限公司 Method and system for fusing with operating system
CN113434205A (en) * 2021-04-26 2021-09-24 统信软件技术有限公司 Operating system starting method and computing device
CN113434205B (en) * 2021-04-26 2024-02-23 统信软件技术有限公司 Operating system starting method and computing device
CN114546505A (en) * 2022-02-22 2022-05-27 联想开天科技有限公司 Method for filling multiple operating systems and electronic equipment
CN114546505B (en) * 2022-02-22 2023-07-14 联想开天科技有限公司 Method for filling multiple operating systems and electronic equipment

Also Published As

Publication number Publication date
CN103777955B (en) 2017-05-24

Similar Documents

Publication Publication Date Title
KR101959359B1 (en) Method for updating boot image for fast booting and image forming apparatus for performing the same
EP3518099B1 (en) Installation of operating system
CN102629206B (en) A kind of method for updating embedded system software and system
US20070226436A1 (en) File system based offline disk management
CN105739961B (en) Starting method and device of embedded system
CN109960523B (en) Firmware upgrading method and device for embedded equipment
CN104679540A (en) Computer system and computer system starting method
CN104123153A (en) Apparatus and method for firmware upgrade using USB
CN103246534A (en) Method and device for migrating operating system
CN105760191A (en) Embedded system equipment programming mass production method
CN103514015A (en) Method and device for booting operation system from storage medium
US20150113532A1 (en) Cloudboot system, virtual machine with the cloudboot system, and method for starting up the virtual machine
CN103677915A (en) Automatic burning method of flash mirror image based on TF starting card
CN113326105B (en) Hardware equipment configuration method, device and equipment based on host migration
CN104866324A (en) Method for constructing portable operating system and portable memorizer
CN102609290B (en) The method for upgrading software of electronic product
CN102053848A (en) Automatic installation method for Linux operating system
CN103777955A (en) Method and device for installing and operating Unix-like in Windows environment
CN108647034B (en) Method for installing multiple operating systems on single mobile hard disk
CN109710297A (en) A kind of equipment entirety or sub-module carry out upgrading and backing method
KR102429346B1 (en) Memory Upgrade System And Method
CN114816491A (en) System upgrading method and device for multi-system mobile terminal and terminal
CN102298531B (en) Method for upgrading flash memory file system in embedded system
JP2012068797A (en) Start-up acceleration method, information processing apparatus and program
US20110138165A1 (en) System and method for physical to virtual disk re-layout

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Gong Jianhu

Inventor before: Deng Qinghua

CB03 Change of inventor or designer information
TA01 Transfer of patent application right

Effective date of registration: 20170313

Address after: 510000 Guangzhou, Baiyun District, Guangdong Jinshazhou Huimin lane, room 20, No. 301

Applicant after: Gong Jianhu

Address before: 411300 Shaoshan province Yong Park Science and Technology Park (hi tech Venture Center, building five), Hunan

Applicant before: Baolong computer system (Hunan) Co. Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170524

Termination date: 20200126

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