CN102955706B - A kind of installation method of dual operating systems and guiding loading method - Google Patents

A kind of installation method of dual operating systems and guiding loading method Download PDF

Info

Publication number
CN102955706B
CN102955706B CN201110252064.7A CN201110252064A CN102955706B CN 102955706 B CN102955706 B CN 102955706B CN 201110252064 A CN201110252064 A CN 201110252064A CN 102955706 B CN102955706 B CN 102955706B
Authority
CN
China
Prior art keywords
image file
operating system
file
mobile access
access arrangement
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.)
Active
Application number
CN201110252064.7A
Other languages
Chinese (zh)
Other versions
CN102955706A (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201110252064.7A priority Critical patent/CN102955706B/en
Publication of CN102955706A publication Critical patent/CN102955706A/en
Application granted granted Critical
Publication of CN102955706B publication Critical patent/CN102955706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a kind of installation method and bootstrap technique of dual operating systems, comprise the following steps: generate the image file having and guide the operating system to be installed starting supervisory routine and start configuration file, described image file is kept in mobile access arrangement; Described mobile access arrangement is connected with the computer installing windows operating system, described computer is set and starts in the mode of mobile access arrangement; Described computer reads the image file in mobile access arrangement and installs.The installation method of this kind of dual system and guiding loading method, can realize normal mounting and the use of dual operating systems.

Description

A kind of installation method of dual operating systems and guiding loading method
Technical field
The invention belongs to installing operating system field, particularly relate to a kind of installation method of dual operating systems and guide loading method.
Background technology
The start guidance mode of existing panel computer is mainly after device start, first carried out starting to each assembly in motherboard by Basic Input or Output System (BIOS) (BIOS) and test, when determining that all component all starts and operates normal, the guiding starting to read hard disk master boot record starts supervisory routine and hard disk partition table data, carry out location and the load operation of partition operating system program, to realize the installation of operating system and normal operation.
But when needing to install two kinds operating system (such as Windows7, Android2.3) in same computer equipment, there will be following two kinds of situations:
The first situation is, again Windows7 is installed after first Android2.3 being installed, because operating system program can first destroy hard disk master boot record (MasterBootRecord at the installation initial stage, MBR) data in, and re-establish the guiding belonging to this operating system cognition and start supervisory routine and hard disk partition table data, therefore often cause after new operating system installation, the boot of the old operating system existed before user just finds is destroyed by new operating system, and old operating system and new operating system cannot be made normally to use.
The second situation is, install Android2.3 again after first installing Windows7, this Android2.3 operating system can give tacit consent to 0 magnetic post 0 magnetic track 0 sector by disk, and namely above-mentioned MBR place starts to install, and do not provide self-defined subregion selection function, acquiescence division seven fixed partitions.Therefore, this new operating system can override old operating system, and the guiding that cannot realize dual system loads, thus cannot realize the normal use of old operating system and new operating system.
Summary of the invention
The present invention be solve dual operating systems in prior art cannot the problem of normal mounting and use, a kind of installation method of dual system is provided and guides loading method, normal mounting and the use of dual operating systems can be realized.
The invention provides a kind of installation method of dual operating systems, comprise the following steps:
Generate the image file having and guide the operating system to be installed starting supervisory routine and start configuration file, described image file is kept in mobile access arrangement;
Described mobile access arrangement is connected with the computer installing windows operating system, described computer is set and starts in the mode of mobile access arrangement;
Described computer reads the image file in mobile access arrangement and installs
The present invention also provides a kind of guiding loading method of dual operating systems, comprises the following steps:
Generate the image file having and guide the operating system to be installed starting supervisory routine and start configuration file, described image file is kept in mobile access arrangement;
Described mobile access arrangement is connected with the computer installing windows operating system, described computer is set and starts in the mode of mobile access arrangement;
Described computer reads the image file in mobile access arrangement and installs;
After installing the operating system corresponding to image file, described computer restarts;
Described computer carries out information loading and startup self-detection;
Read the operation system information of the startup configuration file after upgrading, and show in the form of menus;
According to the selection signal got, load the start-up routine of windows operating system and run described application program or load the start-up routine of the operating system corresponding to described image file and run described application program.
As can be seen from installation and the guiding loading scheme of dual operating systems, image file due to operating system to be installed adds guiding and starts supervisory routine and start configuration file, operating system to be installed can not be installed by 0 magnetic post 0 magnetic track 0 sector of disk, thus avoid when the operating system that installation one is new, the guiding of the old operating system of existence in the past starts supervisory routine and can be destroyed by new operating system, dual operating systems after installing new operating system can normally be used, do not need the tedious steps ability normal boot loading system by repairing guiding startup supervisory routine and normally use, therefore user-friendly.And the starting up's configuration script file guiding and start and read needed for supervisory routine automatically can be generated in the process of installing, to realize the mutual of dual operating systems Loading Control power, thus normal boot load operation system.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of embodiment of the installation method of dual operating systems of the present invention.
Fig. 2 is the process flow diagram of a kind of embodiment of image file installation process of the present invention.
Fig. 3 is the process flow diagram of a kind of embodiment that the guiding of dual operating systems of the present invention loads.
Embodiment
In order to make technical matters solved by the invention, technical scheme and beneficial effect clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of installation method of dual operating systems of embodiment, as shown in Figure 1, comprise the following steps:
Step S01, generates the image file having and guide the operating system to be installed starting supervisory routine and start configuration file;
Step S02, is kept at described image file in mobile access arrangement;
Step S03, is connected described mobile access arrangement with the computer installing windows operating system, arranges described computer and starts in the mode of mobile access arrangement;
Step S04, described computer reads the image file in mobile access arrangement and installs.
As can be seen from such scheme, image file due to operating system to be installed adds guiding and starts supervisory routine and start configuration file, operating system to be installed can not be installed by 0 magnetic post 0 magnetic track 0 sector of disk, thus avoid when the operating system that installation one is new, the guiding of the old operating system of existence in the past starts supervisory routine and can be destroyed by new operating system, dual operating systems after installing new operating system can normally be used, do not need the tedious steps ability normal boot loading system by repairing guiding startup supervisory routine and normally use, therefore user-friendly.
In concrete enforcement, the image file of described operating system to be installed is specially the image file of Android operation system or the image file of windows operating system, installed the operating system of windows98 in such as computer, the image file of described operating system to be installed can be the operating system of windowsXP.In the present embodiment, the image file of described operating system to be installed is specially the image file of Android operation system.
In concrete enforcement, as shown in Figure 2, described step S04 is specially:
Step S041, judges whether to carry out disk partition, if not, enters step S042, selecting remanence disk space for installing subregion, if so, entering step S043;
Step S042, selecting remanence disk space for installing subregion, entering step S044;
Step S043, divides according to the remanence disk space of the image file read to described computer and selects to install subregion, entering step S044;
Step S044, using windows operating system as startup item, obtains the startup configuration file after upgrading;
Step S045, described image file is mounted in the Virtual File System of described computer, android system catalogue is set up in selected installation subregion, the image file of carry in Virtual File System is kept in android system catalogue, and the startup configuration file after upgrading is kept in the guiding catalogue of described computer.
In concrete enforcement, step S01 is specially:
Guiding being started supervisory routine and starting configuration file adds in the source program of operating system to be installed;
Described source program is carried out compiling and obtains image file.
In order to implement the use of dual operating systems, as shown in Figure 3, the present invention also provide a kind of embodiment the guiding loading method of dual operating systems, comprise the following steps:
Step S01, generates the image file having and guide the operating system to be installed starting supervisory routine and start configuration file;
Step S02, is kept at described image file in mobile access arrangement;
Step S03, is connected described mobile access arrangement with the computer installing windows operating system, arranges described computer and starts in the mode of mobile access arrangement;
Step S04, described computer reads the image file in mobile access arrangement and installs.
Step S05, after installing the operating system corresponding to image file, described computer restarts;
Step S06, described computer carries out information loading and startup self-detection;
Step S07, reads the operation system information of the startup configuration file after upgrading, and shows in the form of menus;
Step S08, according to the selection signal got, loads the start-up routine of windows operating system and runs corresponding application program, or load the start-up routine of the operating system corresponding to described image file and run corresponding application program.
As can be seen from such scheme, image file due to operating system to be installed adds guiding and starts supervisory routine and start configuration file, operating system to be installed can not be installed by 0 magnetic post 0 magnetic track 0 sector of disk, thus avoid when the operating system that installation one is new, the guiding of the old operating system of existence in the past starts supervisory routine and can be destroyed by new operating system, dual operating systems after installing new operating system can normally be used, do not need the tedious steps ability normal boot loading system by repairing guiding startup supervisory routine and normally use, therefore user-friendly.And the starting up's configuration script file guiding and start and read needed for supervisory routine automatically can be generated in the process of installing, to realize the mutual of dual operating systems Loading Control power, thus normal boot load operation system.
The start guidance mode of existing computer mainly is first carried out starting to each assembly in motherboard by Basic Input or Output System (BIOS) (BIOS) and tests after device start, when determining that all component all starts and operates normal, the guiding then starting to read hard disk master boot record starts supervisory routine and hard disk partition table data, carry out location and the load operation of partition operating system program, to realize the normal operation of operating system.And in guiding loading method of the present invention, new startup configuration file is generated in installation process, start in configuration file and relevant system information generating run Systematic selection menu is provided, create an interface of operating system bootload selection clearly thus, therefore can according to the selection of user, what realize between dual operating systems Loading Control power is mutual.
In concrete enforcement, the image file of described operating system to be installed is specially the image file of Android operation system or the image file of windows operating system, installed the operating system of windows98 in such as computer, the image file of described operating system to be installed can be just the operating system of windowsXP.In the present embodiment, the image file of described operating system to be installed is specially the image file of Android operation system.
In concrete enforcement, when the image file of described operating system to be installed is the image file of Android operation system, described selection signal comprises Android signal and windows signal.Namely when user selects Android operation system, the selection signal got is Android signal, so start to load the start-up routine of Android operation system and run the application program of Android, when user selects windows operating system, the selection signal got is windows signal, so start to load the start-up routine of windows operating system and run the application program of windows
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (3)

1. an installation method for dual operating systems, is characterized in that: comprise the following steps:
Guiding being started supervisory routine and starting configuration file adds in the source program of operating system to be installed; Described source program is carried out compiling and obtains image file, described image file is kept in mobile access arrangement, wherein, the image file of described operating system to be installed is specially the image file of Android operation system or the image file of windows operating system;
Described mobile access arrangement is connected with the computer installing windows operating system, described computer is set and starts in the mode of mobile access arrangement;
Described computer reads the image file in mobile access arrangement and installs, when the image file of described operating system to be installed is the image file of Android operation system, described computer reads the image file in mobile access arrangement and the step of installing, and specifically comprises the following steps:
Judging whether to carry out disk partition, if not, selecting remanence disk space for installing subregion, if so, divide according to the remanence disk space of the image file read to described computer and select subregion is installed;
Using windows operating system as startup item, obtain the startup configuration file after upgrading;
Described image file is mounted in the Virtual File System of described computer, android system catalogue is set up in selected installation subregion, the image file of carry in Virtual File System is kept in android system catalogue, and the startup configuration file after upgrading is kept in the guiding catalogue of described computer.
2. a guiding loading method for dual operating systems, is characterized in that: comprise the following steps:
Guiding being started supervisory routine and starting configuration file adds in the source program of operating system to be installed; Described source program is carried out compiling and obtains image file, described image file is kept in mobile access arrangement, wherein, the image file of described operating system to be installed is specially the image file of Android operation system or the image file of windows operating system;
Described mobile access arrangement is connected with the computer installing windows operating system, described computer is set and starts in the mode of mobile access arrangement;
Described computer reads the image file in mobile access arrangement and installs, and specifically comprises:
Judging whether to carry out disk partition, if not, selecting remanence disk space for installing subregion, if so, divide according to the remanence disk space of the image file read to described computer and select subregion is installed;
Using windows operating system as startup item, obtain the startup configuration file after upgrading;
Described image file is mounted in the Virtual File System of described computer, android system catalogue is set up in selected installation subregion, the image file of carry in Virtual File System is kept in android system catalogue, and the startup configuration file after upgrading is kept in the guiding catalogue of described computer;
After installing the operating system corresponding to image file, described computer restarts;
Described computer carries out information loading and startup self-detection;
Read the operation system information of the startup configuration file after upgrading, and show in the form of menus;
According to the selection signal got, load the start-up routine of windows operating system and run corresponding application program or load the start-up routine of the operating system corresponding to described image file and run corresponding application program.
3. guide loading method as claimed in claim 2, it is characterized in that: when the image file of described operating system to be installed is the image file of Android operation system, described selection signal comprises Android signal and windows signal.
CN201110252064.7A 2011-08-30 2011-08-30 A kind of installation method of dual operating systems and guiding loading method Active CN102955706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110252064.7A CN102955706B (en) 2011-08-30 2011-08-30 A kind of installation method of dual operating systems and guiding loading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110252064.7A CN102955706B (en) 2011-08-30 2011-08-30 A kind of installation method of dual operating systems and guiding loading method

Publications (2)

Publication Number Publication Date
CN102955706A CN102955706A (en) 2013-03-06
CN102955706B true CN102955706B (en) 2016-03-30

Family

ID=47764538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110252064.7A Active CN102955706B (en) 2011-08-30 2011-08-30 A kind of installation method of dual operating systems and guiding loading method

Country Status (1)

Country Link
CN (1) CN102955706B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207816A (en) * 2013-04-08 2013-07-17 浪潮电子信息产业股份有限公司 Linux system repairing method
CN103984572A (en) * 2014-05-21 2014-08-13 上海工程技术大学 Method and equipment for realizing computer installation and operating system switch without CD driver
CN104915232A (en) * 2015-06-08 2015-09-16 山东超越数控电子有限公司 Method for achieving multi-platform installation of domestic operating system
CN106371885A (en) * 2016-09-14 2017-02-01 郑州云海信息技术有限公司 Operating system installing method and device
CN107870769B (en) 2016-09-23 2020-08-04 新华三信息技术有限公司 Installation method and device of operating system
CN106484437A (en) * 2016-11-10 2017-03-08 广东浪潮大数据研究有限公司 A kind of method of deployment operation system, apparatus and system
CN108228204A (en) * 2018-02-09 2018-06-29 卫斌鹏 A kind of computer multisystem installation method
CN109240620A (en) * 2018-09-21 2019-01-18 郑州云海信息技术有限公司 A kind of method, system and equipment that system disk divides
CN111258666B (en) * 2020-01-22 2023-07-04 奇安信科技集团股份有限公司 Method and device for reading computer file, computer system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952890A (en) * 2005-10-21 2007-04-25 神基科技股份有限公司 Starting method of computer, storage media using the same and computer apparatus
CN101615123A (en) * 2008-06-26 2009-12-30 比亚迪股份有限公司 A kind of bootstrap technique of mobile terminal operating system and portable terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952890A (en) * 2005-10-21 2007-04-25 神基科技股份有限公司 Starting method of computer, storage media using the same and computer apparatus
CN101615123A (en) * 2008-06-26 2009-12-30 比亚迪股份有限公司 A kind of bootstrap technique of mobile terminal operating system and portable terminal

Also Published As

Publication number Publication date
CN102955706A (en) 2013-03-06

Similar Documents

Publication Publication Date Title
CN102955706B (en) A kind of installation method of dual operating systems and guiding loading method
US20170262273A1 (en) Preinstalled Application Management Method for Mobile Terminal and Mobile Terminal
CN100399267C (en) Method of managing software installation and unloading
US7827548B1 (en) Environment-neutral application build
CN102541591B (en) Automatic guiding method of computer U-disc operating system compatible with multioperation system platform
CN101369230B (en) Operating system loading method used for computer
CN111475227B (en) Business plug-in loading implementation method and device and terminal equipment
US20150149756A1 (en) System and method for setting up a bootable storage device using image
CN103677887A (en) Information processing method and electronic device
US11652686B2 (en) Systems and methods for dynamically commissioning and decommissioning computer components
CN113760306B (en) Method and device for installing software, electronic equipment and storage medium
JP6198229B2 (en) Installation engine and package format for parallelizable and reliable installation
CN102053848A (en) Automatic installation method for Linux operating system
CN104731626A (en) Application installation method and device
CN102226888B (en) Framework loading method and device
CN101615127B (en) Automatic installing method of operating system based on strategy
CN103064767A (en) Driver backup method, driver backup device, driver restoring method and driver restoring device
US20130097412A1 (en) Performing A Boot Sequence In A Multi-Processor System
CN104461612A (en) Data processing method and device
KR20130024667A (en) Method and apparatus for installing software automatically
CN105446760B (en) Method and apparatus for application installation
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
CN104239497A (en) Clean-up method and device for upgraded files
CN105138899A (en) Application program starting method and device
CN104239104A (en) Method, device and terminal for unloading application program APP

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