CN103677887B - A kind of information processing method and a kind of electronic equipment - Google Patents

A kind of information processing method and a kind of electronic equipment Download PDF

Info

Publication number
CN103677887B
CN103677887B CN201210365065.7A CN201210365065A CN103677887B CN 103677887 B CN103677887 B CN 103677887B CN 201210365065 A CN201210365065 A CN 201210365065A CN 103677887 B CN103677887 B CN 103677887B
Authority
CN
China
Prior art keywords
storage device
mark
operating system
windowspe
subregion
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
CN201210365065.7A
Other languages
Chinese (zh)
Other versions
CN103677887A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210365065.7A priority Critical patent/CN103677887B/en
Publication of CN103677887A publication Critical patent/CN103677887A/en
Application granted granted Critical
Publication of CN103677887B publication Critical patent/CN103677887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

This application discloses a kind of information processing method and a kind of electronic equipment, the electronic equipment of methods described application one, the electronic equipment has multiple storage devices, and methods described includes:Start and run first operating system;Recognize the multiple storage device;By first operating system, WindowsPE is created in first storage device, wherein, the first storage device, belongs to the multiple storage device, and the WindowsPE is used to install the second operating system;After WindowsPE is created, the second storage device is determined from the multiple storage device;Second storage device is marked, produces one to identify;During the second operating system installation is performed, start the WindowsPE;After the WindowsPE is started, determine that second storage device is target storage according to the mark;Based on the WindowsPE, second operating system is installed in the target storage.

Description

A kind of information processing method and a kind of electronic equipment
Technical field
The present invention relates to computer realm, more particularly to a kind of information processing method and a kind of electronic equipment.
Background technology
With the development of computer, have been able to that two or more operating systems are installed in the electronic device, such as, and electricity First operating system of sub- equipment can control to install the second operating system, such as operating system A controls installation operation system B, And can be installed in the case of unattended.
And during unattended installation, if electronic equipment has multiple storage devices, occur two kinds The operating system problem inconsistent to order that storage device is recognized.
Such as, in the electronic device, it is necessary under the running environment of (SuSE) Linux OS, in a plurality of storage devices Some storage device is other operating systems(Such as:Linux、Windows、VMwareESXi)Prepare a WindowsPE, To carry out unattended installation, and during WindowsPE is prepared, it is necessary in answer file designated mounting second During operating system, it is necessary to destination hard disk.
And in a general case:
In (SuSE) Linux OS, the implementor name of hard disk is typically " sda ", " sdb " ...
In Windows operating system, the implementor name of hard disk is " disk0 ", " disk1 " ...
In VMwareESXi operating systems, the implementor name of hard disk can be character string as more long such as " vml.00025261 ".
When there was only one piece of hard disk in electronic equipment:
The hard disk can be specified using fixed device name, for example, for Linux, specifying the hard disk entitled “sda”;For Windows, specify the hard disk entitled " disk0 ";For VMwareESXi, " firstdisk " character is used String.
Therefore, two operating systems, such as the first operation system are installed under conditions of only one piece hard disk in the electronic device It is (SuSE) Linux OS to unite, and the second operating system is Windows operating system, controls to install using (SuSE) Linux OS During Windows operating system, then there can be man-to-man relation.
And the main process installed is then:
First, (SuSE) Linux OS can create a WindowsPE on the hard disk of entitled " sda ".
Secondly, after the WindowsPE is created, can be as Windows operations are installed using the hard disk of " sda " then The destination hard disk of system.
Again, when startup WindowsPE, and when preparing to install Windows operating system, Windows operating system meeting Hard disc apparatus of the scanning electron equipment under Windows operating system.
And now, because electronic equipment only has one piece of hard disk, therefore, Windows operating system then can be by the name of the hard disk It is referred to as being defined as " disk0 ", and because " disk0 " and " sda " has one-to-one relation, therefore, then may indicate that Windows operating system needs hard disk to be mounted with the destination that (SuSE) Linux OS is that Windows operating system specifies to install Hard disk is same hard disk, and simply title is different under different operating system.
Again, Windows operating system can be recorded in answer file the title " disk0 " of the hard disk.
Finally, can be installed on Windows operating system entitled " disk0 " automatically according to answer file by electronic equipment Hard disk on.
When in electronic equipment have polylith hard disk:
Then need the implementor name under Linux running environment of the destination hard disk that will be chosen(Sda or sdb etc.)Be converted to Implementor name in operating system to be mounted(Such as it is disk0 or disk1 for Windows), then write answer file In.
Now, recognized under Linux running environment hard disk order need correspondence Windows operating system recognize it is hard Sequentially, i.e., both can use a simple corresponding relation to disk.
For (SuSE) Linux OS
Implementor name in running environment Implementor name in answer file
sda sda
sdb sdb
...... ......
For Windows operating system
Implementor name in running environment Implementor name in answer file
sda disk0
sdb disk1
...... ......
By above-mentioned corresponding relation, then the step of can be loaded operating system, specific step is as follows:
First, (SuSE) Linux OS can create a WindowsPE on the hard disk of entitled " sda ".
Secondly, after the WindowsPE is created, can be as Windows operations are installed using the hard disk of " sda " then The destination hard disk of system.
Again, when startup WindowsPE, and when preparing to install Windows operating system, Windows operating system meeting Hard disc apparatus of the scanning electron equipment under Windows operating system.
And now, according to above-mentioned corresponding relation, therefore, Windows operating system then can be by the entitled true of the hard disk It is set to " disk0 ", i.e., " disk0 " has corresponding relation with " sda ", therefore, then may indicate that Windows operating system needs peace The hard disk of dress is that Windows operating system specifies that the destination hard disk installed is same hard disk with (SuSE) Linux OS, simply Title is different under different operating system.
Again, Windows operating system can be recorded in answer file the title " disk0 " of the hard disk.
Finally, can be installed on Windows operating system entitled " disk0 " automatically according to answer file by electronic equipment Hard disk on.
And during the applicant realizes the application, it is found that prior art at least has following technical problem:
Under the prior art, the second operating system when mounted, due to the uncertainty of drive load order, can cause hard Disk specifies mistake, and then causes the second operating system cannot normal mounting.
Such as, the first operating system is Linux.
When the second operating system is Linux, due to the uncertainty of drive load order, when the second operating system is installed The implementor name of the destination hard disk of determination may be inconsistent with the implementor name that determines under original Linux running environment, such as and the The implementor name of first piece of hard disk is named as sda by one operating system, and the implementor name of second piece of hard disk is named as into sdb, and by mesh Ground hard disk be defined as second piece of hard disk, i.e. sdb, and first piece of hard disk that the second operating system is determined is named as sdb, by Two pieces of hard disks are named as sda, and according to title, the destination hard disk that the second operating system determines is first piece of hard disk, therefore, two The actually determined destination hard disk of person is different, causes destination hard disk to specify mistake.
When the second operating system is Windows, due to the uncertainty of drive load order, Windows operating system Under disk0, it is possible to corresponding is the sdb under Linux running environment.
Such as, the implementor name of first piece of hard disk is named as sda by the first operating system, by second piece of implementor name life of hard disk Entitled sdb, and destination hard disk is defined as second piece of hard disk, i.e. sdb, and due to the uncertainty of drive load order, First piece of hard disk name that Windows operating system is determined may be disk1, and the second piece of hard disk determined is named as disk0。
And the corresponding relation in above-mentioned list:
Sda correspondences disk0
Sdb correspondences disk1
Knowable to above-mentioned corresponding relation, the entitled disk1 in Windows operating system of destination hard disk.
And in fact, due to the uncertainty of drive load order, both actual corresponding relations are as follows:
Sda correspondences disk1
Sdb correspondences disk0
I.e. the actual name in Windows operating system of destination hard disk should be disk0.
Therefore, actually determined destination hard disk is different from the destination hard disk determined according to corresponding relation, causes mesh Ground hard disk specify mistake.
When the second operating system is VMwareESXi, VMwareESXi operating systems can give the name name of destination hard disk, And due under Linux running environment, cannot also obtain the name of the hard disc apparatus under VMwareESXi environment, therefore, it is pre- creating After installation environment, the first operating system is used it is determined that during the hard disk of destination, can only fix selection sda in answer file " firstdisk " parameter, designated mounting to first piece of hard disk.
And when the first operating system specifies destination hard disk, it may appear that sda is not first piece of situation of hard disk, and VMwareESXi can only be clipped to first piece of hard disk, it is also possible to cause in identification by using " firstdisk " parameter Destination hard disk specifies the situation of mistake to occur.
The content of the invention
The present invention provides a kind of information processing method and a kind of electronic equipment, is used to solve present in prior art the Two operating systems when mounted, due to the uncertainty of drive load order, can cause hard disk to specify mistake, and then cause second Operating system cannot normal mounting technical problem.
On the one hand, one embodiment that the present invention passes through the application, there is provided following technical scheme:
A kind of information processing method, the electronic equipment of methods described application one, the electronic equipment has multiple storage devices, Methods described includes:Start and run first operating system;Recognize the multiple storage device;Operated by described first System, creates WindowsPE in first storage device, wherein, the first storage device, belongs to the multiple storage dress Put, the WindowsPE is used to install the second operating system;During WindowsPE is created, from the multiple storage dress The second storage device is determined in putting;Second storage device is marked, produces one to identify;Performing second operating system During installation, start the WindowsPE;After the WindowsPE is started, according to the mark determines Second storage device is target storage;Based on the WindowsPE, described is installed in the target storage Two operating systems.
Optionally, it is described by first operating system, before creating WindowsPE in first storage device, Methods described also includes step:The first storage device, is determined from the multiple storage device, is stored to described first Device carries out division operation, obtains M subregion, wherein, the M is the integer more than or equal to 1;Determine in the M subregion Go out a subregion as the boot partition for starting the WindowsPE.
Optionally, it is described by first operating system, WindowsPE is created in first storage device, specifically For:By first operating system, the system file that will start the WindowsPE needs is put into the boot partition, The WindowsPE is created in the first storage device,.
Optionally, the mark is specially the mark being stored in ramdisk mirror images.
Optionally, when second operating system is (SuSE) Linux OS, mark second storage device, Produce one to identify, specifically include:Division operation is carried out to second storage device, swap subregions, root partition, and boot is obtained Subregion;The mark file is deposited in the root of the boot subregions, so as to be produced in the root of the boot subregions The mark.
Optionally, when second operating system is Windows operating system, mark the second storage dress Put, produce one to identify, specifically include:Division operation is carried out to second storage device, N number of subregion is obtained, wherein the N is Integer more than or equal to 1;Determine a subregion as the first subregion in N number of subregion;In opening first subregion Startup mark, to produce the mark.
Optionally, it is described open first subregion in startup mark, with after producing the mark, methods described Also include step:The startup mark included in other subregions in N number of subregion is removed, wherein, described other subregions It is the subregion in addition to first subregion in the multiple storage device.
Optionally, it is described when second operating system is (SuSE) Linux OS or VmWareEsxi operating systems Second storage device is marked, produces one to identify, specifically included:Using character string as second storage device name Claim, so that the second storage device described in the string token, produces the mark.
Optionally, it is described during the second operating system installation is performed, start the WindowsPE, specifically For:During the second operating system installation is performed, according to the system file, start the WindowsPE.
Optionally, when second operating system is (SuSE) Linux OS, it is described start the WindowsPE it Afterwards, determine that second storage device is target storage according to the mark, specially:Starting the WindowsPE Afterwards, the multiple storage device is detected;Use the mark file being stored in the ramdisk mirror images, inspection Survey in each storage device of the multiple storage device whether the mark for having and being stored in the ramdisk mirror images Know file identical mark file;When having the mark file in detecting second storage device, according to the mark Know file, determine that second storage device is target storage.
Optionally, it is described to start the WindowsPE when second operating system is Windows operating system Afterwards, determine that second storage device is target storage according to the mark, specially:Starting the pre-installation ring After border, the multiple storage device is detected;Identified using the startup being stored in the ramdisk mirror images, Detect in each storage device of the multiple storage device whether there is startup mark described in identical;It is described when detecting When there is the startup mark in second storage device, mark is started according to described, determine that second storage device is target Storage device.
Optionally, it is described when second operating system is (SuSE) Linux OS or VmWareEsxi operating systems After the WindowsPE is started, determine that second storage device is target storage according to the mark, specifically For:After the WindowsPE is started, the multiple storage device is detected;Using being stored in the ramdisk The character string in mirror image, the title to each storage device in the multiple storage device is detected;Work as detection To second storage device the entitled character string when, according to the character string, determine that second storage device is Target storage.
Optionally, it is described determine second storage device for target storage according to the mark after, it is described Method includes:The title of the target storage is stored in automatic response file.
Optionally, based on the WindowsPE, second operating system is installed in the target storage, has Body is:Based on the WindowsPE and the automatic response file, described second is installed in the target storage Operating system.
On the other hand, the present invention is provided by another embodiment of the application:
A kind of electronic equipment, the electronic equipment has multiple storage devices, and the electronic equipment includes:Startup optimization list Unit, for starting and runs first operating system;Recognition unit, for recognizing the multiple storage device;Creating unit, For by first operating system, WindowsPE being created in first storage device, wherein, the first storage device, Belong to the multiple storage device, the WindowsPE is used to install the second operating system;First determining unit, in wound Build after WindowsPE, the second storage device is determined from the multiple storage device;Indexing unit, it is described for marking Second storage device, produces one to identify;Start unit, for during the second operating system installation is performed, starting The WindowsPE;Second determining unit, for after the WindowsPE is started, according to the mark determines Second storage device is target storage;Installation unit, for based on the WindowsPE, in the target storage It is middle that second operating system is installed.
Optionally, when second operating system is (SuSE) Linux OS, the indexing unit is specifically included:First Zoning unit, for carrying out division operation to second storage device, obtains swap subregions, root partition, and boot subregions;Deposit Unit is put, for depositing the mark file in the root of the boot subregions, so that the root of the boot subregions It is middle to produce the mark.
Optionally, when second operating system is Windows operating system, the indexing unit is specifically included:The Two zoning units, for carrying out division operation to second storage device, obtain N number of subregion, wherein the N be more than or equal to 1 integer;3rd determining unit, for determining a subregion as the first subregion in N number of subregion;Opening unit, For opening the mark of the startup in first subregion, to produce the mark.
Optionally, the indexing unit also includes:Clearing cell, for removing other subregions in N number of subregion in Comprising the startup mark, wherein, described other subregions are in the multiple storage device, in addition to first subregion Subregion.
Optionally, it is described when second operating system is (SuSE) Linux OS or VmWareEsxi operating systems Indexing unit is used to use character string as the title of second storage device, so as to second be deposited described in the string token Storage device, produces the mark.
Optionally, when second operating system is (SuSE) Linux OS, second determining unit is specifically included: First detection unit, for after the WindowsPE is started, being detected to the multiple storage device;Second detection Unit, for using the mark being stored in the ramdisk mirror images, each of the multiple storage device of detection to be deposited Whether with identical mark in storage device;3rd determining unit, for having institute in second storage device is detected When stating mark, according to the mark, determine that second storage device is target storage.
Optionally, when second operating system is Windows operating system, second determining unit is specifically included: 3rd detection unit, for after the WindowsPE is started, being detected to the multiple storage device;4th detection Unit, for being identified using the startup being stored in the ramdisk mirror images, detects each of the multiple storage device Whether have in individual storage device and start mark described in identical;4th determining unit, second storage is detected for working as When there is the startup mark in equipment, mark is started according to described, determine that second storage device is target storage.
Optionally, it is described when second operating system is (SuSE) Linux OS or VmWareEsxi operating systems Second determining unit is specifically included:5th detection unit, for after the WindowsPE is started, to the multiple storage Device is detected;6th detection unit, for using the character string being stored in the ramdisk mirror images, to described The title of each storage device in multiple storage devices is detected;5th determining unit, for when detecting described the During the entitled character string of two storage devices, according to the character string, determine that second storage device is stored for target Device.
Optionally, the electronic equipment also includes:Memory cell, for determining described second according to the mark described Storage device be target storage after, the title of the target storage is stored in automatic response file.
Optionally, the installation unit is specifically for based on the WindowsPE and the automatic response file, Second operating system is installed in the target storage.
One or more technical schemes in above-mentioned technical proposal, have the following technical effect that or advantage:
In this application, by one or more technical schemes of the invention, by the bar in the first operating system Under part, in WindowsPE, using a mark hard disk of mark one as destination hard disk, then in the peace of the second operating system During dress, by starting the WindowsPE, and the purpose storage device is identified in the WindowsPE, then The second operating system is installed in the purpose storage device, it is to avoid come using the corresponding relation of title using two operating systems Installation operation system, and then solve the second operating system present in prior art when mounted, due to drive load order Uncertainty, hard disk can be caused to specify mistake, so cause the second operating system cannot normal mounting technical problem, use Mark finds purpose and installs hard disk, can avoid simply being corresponded to using title, being capable of the operating system of normal mounting second.
Further, when the second operating system is different, the method with different establishment WindowsPEs, and it is different Startup WindowsPE method, in actual applications, can flexibly select, selection mode is various.
Further, when the second operating system is different, the method with different mark purpose storage devices, Yi Jicha The method for looking for the purpose storage device, with specific aim accuracy.
Further, the technical scheme of the application, can dynamically change the purpose in answer file according to actual conditions Ground hard disk praameter, it is to avoid destination hard disk occurs and specifies mistake.
Further, the technical scheme of the application, the method for using, it is not necessary to which limitation only configures a storage device to enter Row installation system, can be when with multiple storage devices, accurate installation system.
Brief description of the drawings
Fig. 1 is the flow chart of information processing method in the embodiment of the present application;
Fig. 2 is the schematic diagram of electronic equipment in the embodiment of the present application.
Specific embodiment
In order to solve the second operating system present in prior art when mounted, due to not knowing for drive load order Property, can cause hard disk to specify mistake, so cause the second operating system cannot normal mounting technical problem, the embodiment of the present invention A kind of information processing method and a kind of electronic equipment are proposed, its solution general thought is as follows:
In this application, by under conditions of the first operating system, in WindowsPE, marked using a mark A hard disk is remembered as destination hard disk, then in the installation process of the second operating system, by starting the WindowsPE, and The destination hard disk is identified in the WindowsPE, the second operating system then is installed in the destination hard disk, Avoid and carry out installation operation system using the corresponding relation of title using two operating systems, and then solve and deposit in the prior art The second operating system when mounted, due to the uncertainty of drive load order, hard disk can be caused to specify mistake, and then lead Cause the second operating system cannot normal mounting technical problem, using mark find purpose install hard disk, can avoid use name Title is simply corresponded to, being capable of the operating system of normal mounting second.
With reference to Figure of description to the main realization principle of the embodiment of the present invention, specific implementation process and its to should be able to The beneficial effect for enough reaching is explained in detail.
Embodiment one:
In the embodiment of the present application, there is provided a kind of information processing method, the electronic equipment of the method application one, electronic equipment With multiple storage devices, i.e. hard disc apparatus.
As shown in figure 1, the method includes:
Step 1, starts and runs the first operating system.
Specifically, the first operating system is to be present in USB flash disk, or in the storage device such as mobile hard disk, therefore, when starting the It is that, by USB flash disk, or the storage device such as mobile hard disk is started and controlled the peace of the second operating system during one operating system Dress.
And in actual applications, the first operating system can select linux operating systems or winpe operating systems, And in the embodiment of the present application, carry out for example bright control using linux operating systems and the specific of the second operating system is installed Process, winpe operating systems are similar to, the application not repeated description.
When the first operating system operationally, then can carry out following step.
Step 2, the multiple storage devices of identification.
In the embodiment of the present application, storage device is hard disc apparatus, such as electronic equipment has 2 hard disc apparatus, then Two hard disks can be identified, and when the first operating system is linux operating systems, identify the two hard disc apparatus Title be respectively sda and sdb, wherein, sda be first piece of hard disk, sdb be second piece of hard disk.
Step 3, by the first operating system, creates WindowsPE in first storage device,.
Wherein, first storage device, belongs to multiple storage devices, and WindowsPE is used to install the second operating system.
Specifically, before WindowsPE is created, first, can determine that the first storage is filled from multiple storage devices Put, such as the hard disk that entitled sda is determined from above-mentioned two hard disk is first storage device,.
Then division operation is carried out to first storage device, M subregion is obtained, wherein, M is the integer more than or equal to 1.
Finally, determine a subregion as the boot partition for starting WindowsPE in M subregion.
Therefore, after boot partition is obtained, then can will start what WindowsPE needed by the first operating system System file is put into boot partition, and WindowsPE is created in first storage device,.
And the purpose of WindowsPE is created, it is in order that the second operating system is in installation process, to start the pre-installation Environment, and installed based on the WindowsPE.
Therefore, when the second operating system is different, the method with different startup WindowsPEs, and then with difference Establishment WindowsPE method.
First, the second different operating system, the system file for being put into boot partition is different, specific as follows:
When the second operating system is windows, be put into boot partition is winpe mirror images and some corresponding configuration texts Part and resource file.
Wherein, winpe(Windows PreInstallation Environment, i.e. Windows PE, Windows are pre- Installation environment), Windows WindowsPEs are the operations of the minimum Win32 with limited service built on Windows kernels System, for installing the environment of Windows for preparation and starting Windows setup.
When the second operating system is linux:Be put into boot partition is two files of kernel and initrd.
Wherein, initrd contains the executable journey of necessity required for supporting (SuSE) Linux OS two benches bootup process Sequence and system file.
Similar with linux when the second operating system is VmWareEsxi, be put into boot partition is kernel file and several Ten module files.
After boot partition is obtained, then boot loader can be disposed in first storage device, for starting pre- peace Dress environment.
And the second further, different operating system, in different modes with different methods:
When the second operating system is windows:
Bios patterns:
First, in the mbr of first storage device,(Master Boot Record, the MBR of hard disk)Upper write-in is drawn Lead code.
Secondly, guidance code is write in the first sector of boot partition.
Again, ntldr and boot.ini is copied on boot partition.
Wherein, ntldr files is hiding, a read-only system file, and position is used in the root of system disk Loading operation system, and be mainly used to parse Boot.ini files.
And Boot.ini files are used for determining the operating system class for being available for choosing that electronic equipment shows in restarting process Not.
After by the step, windows operating systems just can be by the winpe mirrors that are present on boot partition Picture, and above-mentioned some startup programs start WindowsPE.
Uefi patterns:
uefi(Unified Extensible Firmware Interface, unified Extensible Firmware Interface), it is one The novel standard of interface is planted, for the automatic operating environment from pretrigger of operating system, is loaded into a kind of operating system, so that Boot program is set to simplify, it is time-consuming.
Therefore, uefi startup items are created first.
Secondly, the startup item of uefi is pointed into the bootloader programs on the boot partition in the first storage device, is led to Operation bootloader program frisking winpe image files are crossed to be loaded.
After by the step, windows operating systems just can be by the winpe mirrors that are present on boot partition Picture, and WindowsPE is started by uefi patterns.
When the second operating system is linux:
Bios patterns:
Grub is installed in first storage device,(Gnu grub, abbreviation grub), it is a multiple operating system startup program, Allow to possess multiple operating systems simultaneously in electronic equipment, and select to wish the operation system of operation when electronic equipment starts System, and the different kernels that can be used on selection operation system partitioning, it can also be used to transmit start-up parameter to these kernels.
Therefore, when grub is mounted with, the linux kernel that linux operating systems just can be from boot partition starts.
Uefi patterns:
First, uefi startup items are created,
Secondly, the linux startup item of uefi pointed on boot partition guides file.
After the step, linux operating systems i.e. can be by guiding file start WindowsPE.
And when the second operating system is VmWareEsxi, similar the step of with linux operating systems, the application no longer goes to live in the household of one's in-laws on getting married State.
Step 4, during WindowsPE is created, determines the second storage device from multiple storage devices.
Wherein it is determined that during the second storage device, as set forth above, it is possible to the hard disk of sda is defined as the second storage device, It can be same storage that the hard disk of sdb can be defined as into the second storage device, i.e. first storage device, and the second storage device Device, it is also possible to respectively different storage devices.
Step 5, the storage device of mark second produces one to identify.
And when the second operating system is different, then can produce different marks.
When the second operating system is (SuSE) Linux OS, the detailed process for producing mark is:
First, division operation is carried out to the second storage device, swap subregions, root partition, and boot subregions is obtained.
Then, mark file is deposited in the root of boot subregions, so as to produce mark in the root of boot subregions.
When the second operating system is Windows operating system, the detailed process for producing mark is:
First, division operation is carried out to the second storage device, N number of subregion is obtained, wherein N is the integer more than or equal to 1.
Secondly, determine a subregion as the first subregion in N number of subregion.
Again, the startup mark in the first subregion is opened, to produce mark.
In actual applications, when the second operating system is Windows operating system, subregion is carried out to the second storage device Afterwards, each subregion has to start and identifies, therefore, when needing to mark second storage device, then open first point The startup mark in area, then removes the startup mark included in other subregions in N number of subregion, wherein, described other points Area is the subregion in addition to first subregion in the multiple storage device.
When the second operating system is (SuSE) Linux OS or VMwareESXi operating systems, the specific of mark is produced Process is:
Using character string as the title of the second storage device, so that the storage device of string token second, mark is produced.
When the second operating system is (SuSE) Linux OS or VMwareESXi operating systems, the second storage device The character string that title can be set using the second operating system is named, and the name is referred to as into mark.
Being designated in above-mentioned steps is stored in the mark in ramdisk mirror images, i.e., ought marked the second storage device, Obtain after the mark, can also drop the mark and be stored in ramdisk mirror images, in order to the installation process of the second operating system In, purpose storage device is found by the mark for being stored in ramdisk mirror images.
In the embodiment of the present application, the second storage device and first storage device, can be same storage device, it is also possible to It is different storage devices.
After the mark is generated, then following step can be carried out.
Step 6, during the installation of the second operating system is performed, starts WindowsPE.
Start WindowsPE when, electronic equipment can be restarted first, when electronic equipment after restarting, then can root According to system file and the boot loader of deployment, WindowsPE is started in first storage device,.
Step 7, after WindowsPE is started, determines that the second storage device is target storage according to mark.
Step 8, based on WindowsPE, installs the second operating system in target storage.
When the second operating system is different, the method for the storage device that set the goal really with difference.
When the second operating system is (SuSE) Linux OS, determine that the method for target storage is specially:
First, after WindowsPE is started, multiple storage devices are detected.
Secondly, using the mark file being stored in ramdisk mirror images, each storage dress of the multiple storage devices of detection Put the mark file identical mark file for whether having and being stored in ramdisk mirror images.
Again, when having mark file in detecting the second storage device, according to mark file, determine that the second storage is filled It is set to target storage.
When the second operating system is Windows operating system, determine that the method for target storage is specially:
First, after WindowsPE is started, multiple storage devices are detected.
Secondly, identified using the startup being stored in ramdisk mirror images, each storage dress of the multiple storage devices of detection Whether there is identical to start mark in putting.
Again, when having startup mark in detecting the second storage device, identified according to starting, determine that the second storage is filled It is set to target storage.
When the second operating system is (SuSE) Linux OS or VMwareESXi operating systems, target storage dress is determined The method put is specially:
First, after WindowsPE is started, multiple storage devices are detected.
Secondly, using the character string being stored in ramdisk mirror images, to each storage device in multiple storage devices Title detected.
Again, when the entitled character string of the second storage device is detected, according to character string, the second storage device is determined It is target storage.
After determining the second storage device for target storage according to mark, method includes:
The title of target storage is stored in automatic response file.
It is stored in after automatic response file when by the title of target storage, based on WindowsPE and automatic-answering back device File, installs the second operating system in target storage.
Second operating system operation setup.exe is installed to be installed automatically.
And during being installed automatically, such as when the second operating system is windows operating systems, call Command line parameter can be transmitted during setup.exe.
For example:setup.exe/unattend:c:\unattend.xml
And the parameter is to specify to use " c:Unattend.xml it is " each in the answer file as answer file Item configuration can work in installation process so that whole installation process is manually operated without user.
And when WindowsPE starts, it is also possible to obtain answer file, such as, in the configuration file of bootloder Face, writes start-up parameter.
By taking Linux as an example:
Write-in " ks=file in the parameter of kernel is passed to inside grub.conf:/ks.cfg”
After kernel starts, "/ks.cfg " this file will be automatically used as the automatic answer file installed.
And the every configuration in answer file, can include:
Electronic device names
Time zone
Installation series number
Administrator's password
The purpose storage device that second operating system is installed, creates the subregion of which storage device, the size of specified partition And file system.
Designated equipment drives path
Network settings
Above-mentioned configuration, typically in installation process or after installation, what user was configured manually, and in response Above-mentioned configuration is set in file, then can be automatically performed in the installation process of the second operating system.
Illustrated with specific example below.
First operating system is (SuSE) Linux OS, and the second operating system is windows operating systems.
When user prepares to install windows operating systems on an electronic device, first, the electronic equipment can be opened, so Afterwards to the enabled instruction of (SuSE) Linux OS one being stored in mobile device, when (SuSE) Linux OS receives the enabled instruction When, then can carry out following step:
The first step:Start and run (SuSE) Linux OS.
Second step:The multiple storage devices of identification.Two storage hard disks are identified, wherein, sda is first piece of hard disk, and sdb is Second piece of hard disk.
3rd step:Determine that a hard disk as first storage device, such as determines entitled sda from 2 hard disks Hard disk be first storage device,.
4th step:Hard disk to entitled sda carries out division operation, obtains M subregion, such as obtain 3 subregions.
5th step:Determine a subregion as the boot partition for starting WindowsPE in 3 subregions.
6th step:By (SuSE) Linux OS, the system file that will start WindowsPE needs is put into boot partition, WindowsPE is created in first storage device,.
Now, system file mainly includes winpe mirror images and some corresponding configuration files and resource file.
In addition, (SuSE) Linux OS can dispose boot loader on the hard disk of entitled sda, for making windows Os starting WindowsPE.
7th step:After WindowsPE is created, the second storage device is determined from two hard disks.
At this point it is possible to determine the hard disk of entitled sda as the second storage device, it is also possible to determine that entitled sdb's is hard Disk is used as the second storage device, where it determines that the hard disk of entitled sdb is used as the second storage device.
8th step:Hard disk to entitled sdb carries out division operation, obtains N number of subregion, such as obtain 4 subregions, successively It is C, D, E, F.
In the hard disk of entitled sdb, a main partition is typically first marked off(Active partition), in general, this is just It is the C disks for marking, i.e. C areas.Extension subregion is then set up, in extension subregion, several logical partitions is resettled, these logics Subregion is exactly the disks such as D, E, F below.
9th step:Determine that a subregion as the first subregion, such as determines that C areas are the first subregion in 4 subregions.
Tenth step:Open the startup mark in C areas.
After the startup mark in opening C areas, the startup mark in D, E, F subregion can be also removed.
11st step:The startup mark is stored in ramdisk mirror images.
Now, also stored for answer file in addition to storage starts mark in ramdisk mirror images.
12nd step:An instruction of restarting is obtained, electronic equipment is restarted.
13rd step:After electronic equipment is restarted, according on the hard disk of entitled sda dispose boot loader with And winpe mirror images, start WindowsPE.
14th step:After WindowsPE is started, then above-mentioned two hard disk can be detected.
The concrete meaning of detection, is the specific name that the two hard disks are determined under Windows operating system
Claim, such as, and the entitled disk0 that first piece of hard disk is determined, the entitled disk1 that second piece of hard disk is determined.
15th step:Identified using the startup being stored in ramdisk mirror images, in detection disk0 hard disks and disk1 hard disks Whether also there is identical to start mark.
Have in such as disk1 hard disks and start mark with identical in ramdisk mirror images.
16th step:According to above-mentioned detection method, therefore can detect the hard disk of entitled disk1 has startup mark, The hard disk for determining entitled disk1 is target storage.
17th step:The title disk1 of the hard disk is stored in answer file.
18th step, calls installation procedure, on the basis of WindowsPE, according to answer file, title disk1's Windows operating system is installed in hard disk.
And installation procedure is now called with two kinds of situations:
The first, when electronic equipment is restarted, then runs installation procedure, calls answer file, when needing to set installation During purpose storage device, just start identification, after identification, the title of the just purpose storage device is stored in answer file In, Windows operating system is installed according to the purpose storage device.
Second, the purpose storage device of installation is set first, after identifying, by the name of the purpose storage device Title is stored in answer file, then runs installation procedure, and Windows operating system is installed according to answer file.
In actual applications, above two method is all suitable for, therefore, the application is not limited.
Above-mentioned steps are the overall step that Windows operating system is installed in (SuSE) Linux OS control, by pacifying in advance In dress environment, active flag is used a hard disk, and as destination hard disk, when Windows operating system is installed, led to Cross startup mark and recognize the destination hard disk, it is to avoid find destination using the corresponding relation between title in the prior art The method of hard disk, and then solve the second operating system when mounted, due to the uncertainty of drive load order, can cause hard Disk specifies mistake, so cause the second operating system cannot normal mounting technical problem, correspondence pass that can be between title In the case of being incorrect, the operating system of normal mounting second.
Further, when the first operating system is (SuSE) Linux OS, the second operating system is that VMwareESXi operates system System, specific method is as follows:
The first step:Start and run (SuSE) Linux OS.
Second step:The multiple storage devices of identification.Two storage hard disks are identified, wherein, sda is first piece of hard disk, and sdb is Second piece of hard disk.
3rd step:Determine that a hard disk as first storage device, such as determines entitled sda from 2 hard disks Hard disk be first storage device,.
4th step:Hard disk to entitled sda carries out division operation, obtains M subregion, such as obtain 3 subregions.
5th step:Determine a subregion as the boot partition for starting WindowsPE in 3 subregions.
6th step:By (SuSE) Linux OS, the system file that will start WindowsPE needs is put into boot partition, WindowsPE is created in first storage device,.
Now, system file mainly includes kernel file and tens module files.
In addition, (SuSE) Linux OS can dispose boot loader on the hard disk of entitled sda, for making windows Os starting WindowsPE.
7th step:After WindowsPE is created, the second storage device is determined from two hard disks.
At this point it is possible to determine the hard disk of entitled sda as the second storage device, it is also possible to determine that entitled sdb's is hard Disk is used as the second storage device, where it determines that the hard disk of entitled sdb is used as the second storage device.
8th step:Using character string as the second storage device title, will the string token and second storage dress In putting, i.e. the title of the second storage device is XX.scsi.
9th step:The startup mark is stored in ramdisk mirror images.
Now, also stored for answer file in addition to storage starts mark in ramdisk mirror images.
Tenth step:An instruction of restarting is obtained, electronic equipment is restarted.
11st step:After electronic equipment is restarted, according on the hard disk of entitled sda dispose boot loader with And kernel file, start WindowsPE.
12nd step:After WindowsPE is started, then above-mentioned two hard disk can be detected.
The concrete meaning of detection, is the tool that the two hard disks are determined under VMwareESXi operating systems
Body title.
13rd step:Whether also have using the character string being stored in ramdisk mirror images, in two hard disks of detection identical Character string.
Such as, the entitled XXX.scsi that first piece of hard disk is determined, then may indicate that first piece of hard disk have and Identical character string in ramdisk mirror images.
14th step:The hard disk for determining entitled XXX.Scsi is target storage.
15th step:The title XXX.Scsi of the hard disk is stored in answer file.
16th step, calls installation procedure, on the basis of WindowsPE, according to answer file, in title VMwareESXi operating systems are installed in the hard disk of XXX.Scsi.
And now, call installation procedure that there is and install Windows operating system identical situation, therefore, the application is not Repeat again.
And when being (SuSE) Linux OS when the first operating system, when the second operating system is also (SuSE) Linux OS, only It is to create WindowsPE, starts the mode of WindowsPE, and mark purpose storage device, identifying purpose storage device Method and aforesaid way are different, and other steps are consistent with above two mounting means, and the application is repeated no more.
Embodiment two:
In the embodiment of the present application, there is provided a kind of electronic equipment, electronic equipment has multiple storage devices, such as Fig. 2 institutes Show, electronic equipment includes:
Startup optimization unit 201, for starting and runs the first operating system.
Recognition unit 202, for recognizing multiple storage devices.
Creating unit 203, for by the first operating system, WindowsPE being created in first storage device, wherein, First storage device, belongs to multiple storage devices, and WindowsPE is used to install the second operating system.
First determining unit 204, for after WindowsPE is created, determining that second deposits from multiple storage devices Storage device.
Indexing unit 205, for the storage device of mark second, produces one to identify.
Start unit 206, for during the installation of the second operating system is performed, starting WindowsPE.
Second determining unit 207, for after WindowsPE is started, determining that the second storage device is mesh according to mark Mark storage device.
Installation unit 208, for based on WindowsPE, the second operating system being installed in target storage.
Further, when the second operating system is (SuSE) Linux OS, indexing unit 205 is specifically included:First subregion Unit, for carrying out division operation to the second storage device, obtains swap subregions, root partition, and boot subregions.
Storage unit, for depositing mark file in the root of boot subregions, so that in the root of boot subregions Produce mark.
Further, when the second operating system is Windows operating system, indexing unit 205 is specifically included:
Second zoning unit, for carrying out division operation to the second storage device, obtains N number of subregion, wherein N be more than etc. In 1 integer.
3rd determining unit, for determining a subregion as the first subregion in N number of subregion.
Opening unit, for opening the startup mark in the first subregion, to produce mark.
Further, indexing unit 205 also includes:
Clearing cell, for removing the startup included in other subregions in N number of subregion mark, wherein, described other points Area is the subregion in addition to first subregion in the multiple storage device.
Further, when the second operating system is (SuSE) Linux OS or VMwareESXi operating systems, mark is single Unit 205 is used to use character string as the title of the second storage device, so that the storage device of string token second, produces mark Know.
Further, when the second operating system is (SuSE) Linux OS, the second determining unit 207 is specifically included:
First detection unit, for after WindowsPE is started, being detected to multiple storage devices.
Second detection unit, for using the mark being stored in ramdisk mirror images, detecting each of multiple storage devices Whether with identical mark in individual storage device.
3rd determining unit, for when having mark in detecting the second storage device, according to mark, determining that second deposits Saving is set to target storage.
Further, when the second operating system is Windows operating system, the second determining unit 207 is specifically included:
3rd detection unit, for after WindowsPE is started, being detected to multiple storage devices.
4th detection unit, for being identified using the startup being stored in ramdisk mirror images, the multiple storage devices of detection Whether there is identical to start mark in each storage device.
4th determining unit, for when having startup mark in detecting the second storage device, being identified according to starting, really Fixed second storage device is target storage.
Further, when the second operating system is (SuSE) Linux OS or VMwareESXi operating systems, second is true Order unit 207 specifically includes:
5th detection unit, for after WindowsPE is started, being detected to multiple storage devices.
6th detection unit, for using the character string being stored in ramdisk mirror images, to multiple storage devices in it is every The title of one storage device is detected.
5th determining unit, for when the entitled character string of the second storage device is detected, according to character string, it is determined that Second storage device is target storage.
Further, electronic equipment also includes:Memory cell, for determining that the second storage device is target according to mark After storage device, the title of target storage is stored in automatic response file.
Further, installation unit 208 in target specifically for based on WindowsPE and automatic response file, storing Second operating system is installed in device.
By one or more embodiments of the invention, it is possible to achieve following technique effect:
In this application, by one or more embodiments of the invention, by the condition in the first operating system Under, in WindowsPE, using a mark hard disk of mark one as destination hard disk, then in the installation of the second operating system During, by starting the WindowsPE, and the purpose storage device, Ran Hou are identified in the WindowsPE The second operating system is installed in the purpose storage device, it is to avoid pacify using the corresponding relation of title using two operating systems Dress operating system, and then solve the second operating system present in prior art when mounted, due to drive load order Uncertainty, can cause hard disk to specify mistake, so cause the second operating system cannot normal mounting technical problem, use mark Know and find purpose installation hard disk, can avoid simply being corresponded to using title, being capable of the operating system of normal mounting second.
Further, when the second operating system is different, the method with different establishment WindowsPEs, and it is different Startup WindowsPE method, in actual applications, can flexibly select, selection mode is various.
Further, when the second operating system is different, the method with different mark purpose storage devices, Yi Jicha The method for looking for the purpose storage device, with specific aim accuracy.
Further, the embodiment of the present application can be hard according to actual conditions, the destination dynamically changed in answer file Disk parameter, it is to avoid destination hard disk occurs and specifies mistake.
Further, the method that the embodiment of the present application is used, it is not necessary to which limitation only configures a storage device to be pacified Dress system, can be when with multiple storage devices, accurate installation system.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (24)

1. a kind of information processing method, the electronic equipment of methods described application one, the electronic equipment has multiple storage devices, its It is characterised by, methods described includes:
Start and run the first operating system;
Recognize the multiple storage device;
By first operating system, WindowsPE is created in first storage device, wherein, the first storage device, Belong to the multiple storage device, the WindowsPE is used to install the second operating system;
During WindowsPE is created, the second storage device is determined from the multiple storage device;
Second storage device is marked using mark, mark at least one of file and character string mode is started, one is produced Mark;
During the second operating system installation is performed, start the WindowsPE;
After the WindowsPE is started, determine that second storage device is target storage according to the mark;
Based on the WindowsPE, second operating system is installed in the target storage.
2. the method for claim 1, it is characterised in that described by first operating system, in the first storage Before creating WindowsPE in device, methods described also includes step:
The first storage device, is determined from the multiple storage device, subregion behaviour is carried out to the first storage device, Make, obtain M subregion, wherein, the M is the integer more than or equal to 1;
Determine a subregion as the boot partition for starting the WindowsPE in the M subregion.
3. method as claimed in claim 2, it is characterised in that described by first operating system, in the first storage dress Middle establishment WindowsPE is put, specially:
By first operating system, the system file that will start the WindowsPE needs is put into the boot partition, The WindowsPE is created in the first storage device,.
4. the method for claim 1, it is characterised in that the mark is specially the mark being stored in ramdisk mirror images Know.
5. method as claimed in claim 2, it is characterised in that when second operating system is (SuSE) Linux OS, institute Mark second storage device is stated, produces one to identify, specifically included:
Division operation is carried out to second storage device, swap subregions, root partition, and boot subregions is obtained;
The mark file is deposited in the root of the boot subregions, so as to produce institute in the root of the boot subregions State mark.
6. the method for claim 1, it is characterised in that when second operating system is Windows operating system, Mark second storage device, produces one to identify, and specifically includes:
Division operation is carried out to second storage device, N number of subregion is obtained, wherein the N is the integer more than or equal to 1;
Determine a subregion as the first subregion in N number of subregion;
The startup mark in first subregion is opened, to produce the mark.
7. method as claimed in claim 6, it is characterised in that it is described open first subregion in startup mark, with Produce after the mark, methods described also includes step:
The startup mark included in other subregions in N number of subregion is removed, wherein, described other subregions are described In multiple storage devices, the subregion in addition to first subregion.
8. method as claimed in claim 2, it is characterised in that when second operating system be (SuSE) Linux OS or During VmWareEsxi operating systems, mark second storage device produces one to identify, and specifically includes:
Using character string as second storage device title so that the second storage device described in the string token, Produce the mark.
9. method as claimed in claim 3, it is characterised in that described to perform the process that second operating system is installed In, start the WindowsPE, specially:
During the second operating system installation is performed, according to the system file, start the WindowsPE.
10. method as claimed in claim 5, it is characterised in that when second operating system is (SuSE) Linux OS, It is described to determine that second storage device is target storage according to the mark after the WindowsPE is started, Specially:
After the WindowsPE is started, the multiple storage device is detected;
Using the mark file being stored in ramdisk mirror images, each storage dress of the multiple storage device is detected Put the mark file identical mark file for whether having and being stored in the ramdisk mirror images;
When having the mark file in detecting second storage device, according to the mark file, described the is determined Two storage devices are target storage.
11. methods as claimed in claim 7, it is characterised in that when second operating system is Windows operating system When, it is described after the WindowsPE is started, determine that second storage device stores dress for target according to the mark Put, specially:
After the WindowsPE is started, the multiple storage device is detected;
Identified using the startup being stored in ramdisk mirror images, detect each storage dress of the multiple storage device Put whether to have and start mark described in identical;
When have in detecting second storage device it is described start mark when, start mark according to described, determine described the Two storage devices are target storage.
12. methods as claimed in claim 8, it is characterised in that when second operating system be (SuSE) Linux OS or It is described after the WindowsPE is started during VmWareEsxi operating systems, determine that described second deposits according to the mark Saving is set to target storage, specially:
After the WindowsPE is started, the multiple storage device is detected;
Using the character string being stored in ramdisk mirror images, to each storage device in the multiple storage device Title detected;
When the entitled character string of second storage device is detected, according to the character string, described second is determined Storage device is target storage.
13. method as described in any claims of claim 10-12, it is characterised in that institute is determined according to the mark described The second storage device is stated for after target storage, methods described includes:
The title of the target storage is stored in automatic response file.
14. methods as claimed in claim 13, it is characterised in that based on the WindowsPE, stored in the target and filled Middle installation second operating system is put, specially:
Based on the WindowsPE and the automatic response file, second behaviour is installed in the target storage Make system.
15. a kind of electronic equipment, the electronic equipment has multiple storage devices, it is characterised in that the electronic equipment includes:
Startup optimization unit, for starting and runs the first operating system;
Recognition unit, for recognizing the multiple storage device;
Creating unit, for by first operating system, WindowsPE being created in first storage device, wherein, institute State first storage device, and belong to the multiple storage device, the WindowsPE is used to install the second operating system;
First determining unit, for after WindowsPE is created, the second storage being determined from the multiple storage device Device;
Indexing unit, for marking described second to deposit using startup mark, mark at least one of file and character string mode Storage device, produces one to identify;
Start unit, for during the second operating system installation is performed, starting the WindowsPE;
Second determining unit, for after the WindowsPE is started, the second storage dress being determined according to the mark It is set to target storage;
Installation unit, for based on the WindowsPE, second operating system being installed in the target storage.
16. electronic equipments as claimed in claim 15, it is characterised in that when second operating system is that Linux operates system During system, the indexing unit is specifically included:
First zoning unit, for carrying out division operation to second storage device, obtains swap subregions, root partition, and Boot subregions;
Storage unit, for depositing the mark file in the root of the boot subregions, so that the boot subregions The mark is produced in root.
17. electronic equipments as claimed in claim 15, it is characterised in that when second operating system for Windows is operated During system, the indexing unit is specifically included:
Second zoning unit, for carrying out division operation to second storage device, obtains N number of subregion, wherein the N is big In the integer equal to 1;
3rd determining unit, for determining a subregion as the first subregion in N number of subregion;
Opening unit, for opening the mark of the startup in first subregion, to produce the mark.
18. electronic equipments as claimed in claim 17, it is characterised in that the indexing unit also includes:
Clearing cell, for remove included in other subregions in N number of subregion the startup mark, wherein, it is described its His subregion is the subregion in addition to first subregion in the multiple storage device.
19. electronic equipments as claimed in claim 15, it is characterised in that when second operating system is that Linux operates system When system or VmWareEsxi operating systems, the indexing unit is used to use character string as the name of second storage device Claim, so that the second storage device described in the string token, produces the mark.
20. electronic equipments as claimed in claim 16, it is characterised in that when second operating system is that Linux operates system During system, second determining unit is specifically included:
First detection unit, for after the WindowsPE is started, being detected to the multiple storage device;
Second detection unit, for using the mark being stored in ramdisk mirror images, detecting the multiple storage device Whether with identical mark in each storage device;
3rd determining unit, for when having the mark in detecting second storage device, according to the mark, really Fixed second storage device is target storage.
21. electronic equipments as claimed in claim 17, it is characterised in that when second operating system for Windows is operated During system, second determining unit is specifically included:
3rd detection unit, for after the WindowsPE is started, being detected to the multiple storage device;
4th detection unit, for being identified using the startup being stored in ramdisk mirror images, detects the multiple storage dress Whether have in each storage device put and start mark described in identical;
4th determining unit, for when having the startup mark in detecting second storage device, being opened according to described Dynamic mark, determines that second storage device is target storage.
22. electronic equipments as claimed in claim 19, it is characterised in that when second operating system is that Linux operates system When system or VmWareEsxi operating systems, second determining unit is specifically included:
5th detection unit, for after the WindowsPE is started, being detected to the multiple storage device;
6th detection unit, for using the character string being stored in ramdisk mirror images, in the multiple storage device The title of each storage device detected;
5th determining unit, for when the entitled character string of second storage device is detected, according to the word Symbol string, determines that second storage device is target storage.
23. electronic equipment as described in any claims of claim 20-22, it is characterised in that the electronic equipment also includes:
Memory cell, for it is described determine second storage device for target storage according to the mark after, will The title of the target storage is stored in automatic response file.
24. electronic equipments as claimed in claim 23, it is characterised in that the installation unit is specifically for based on the pre- peace Dress environment and the automatic response file, install second operating system in the target storage.
CN201210365065.7A 2012-09-26 2012-09-26 A kind of information processing method and a kind of electronic equipment Active CN103677887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210365065.7A CN103677887B (en) 2012-09-26 2012-09-26 A kind of information processing method and a kind of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210365065.7A CN103677887B (en) 2012-09-26 2012-09-26 A kind of information processing method and a kind of electronic equipment

Publications (2)

Publication Number Publication Date
CN103677887A CN103677887A (en) 2014-03-26
CN103677887B true CN103677887B (en) 2017-06-27

Family

ID=50315549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210365065.7A Active CN103677887B (en) 2012-09-26 2012-09-26 A kind of information processing method and a kind of electronic equipment

Country Status (1)

Country Link
CN (1) CN103677887B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183521A (en) * 2015-09-21 2015-12-23 浪潮电子信息产业股份有限公司 Method for installing computing operation system and USB port storage device
CN106203142A (en) * 2016-07-20 2016-12-07 杭州华澜微电子股份有限公司 A kind of method and device of the Primary Hard Drive data protecting computer
CN108073738B (en) * 2016-11-16 2022-02-18 鸿富锦精密电子(天津)有限公司 GPIO (general purpose input/output) verification system and method
CN107168735A (en) * 2017-04-28 2017-09-15 苏州蜗牛数字科技股份有限公司 A kind of method of automatic deployment windows systems
CN109254795B (en) * 2017-07-13 2021-01-26 龙芯中科技术股份有限公司 Parallel control method and electronic equipment
CN108459823B (en) * 2017-07-28 2020-08-04 新华三信息技术有限公司 Installation method and device of operating system
CN109634690A (en) * 2018-12-24 2019-04-16 山东中孚安全技术有限公司 Data clearing method, device, terminal and storage medium based on WinPE system
CN110187895B (en) * 2019-05-24 2023-01-24 深圳前海微众银行股份有限公司 Operating system deployment method, device, equipment and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165654A (en) * 2006-10-16 2008-04-23 戴尔产品有限公司 Method and process for using common preinstallation environment for heterogeneous operating systems
CN101499008A (en) * 2008-01-30 2009-08-05 中兴通讯股份有限公司 Hard disk boot sequence recognition method and system
CN101763277A (en) * 2009-11-30 2010-06-30 英业达股份有限公司 Method for automatically mounting operating system
CN101807150A (en) * 2009-02-16 2010-08-18 英业达股份有限公司 Method for installing operation system on computer
CN102331958A (en) * 2011-11-02 2012-01-25 赵玉燕 Method for starting hard disk under Linux system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165654A (en) * 2006-10-16 2008-04-23 戴尔产品有限公司 Method and process for using common preinstallation environment for heterogeneous operating systems
CN101499008A (en) * 2008-01-30 2009-08-05 中兴通讯股份有限公司 Hard disk boot sequence recognition method and system
CN101807150A (en) * 2009-02-16 2010-08-18 英业达股份有限公司 Method for installing operation system on computer
CN101763277A (en) * 2009-11-30 2010-06-30 英业达股份有限公司 Method for automatically mounting operating system
CN102331958A (en) * 2011-11-02 2012-01-25 赵玉燕 Method for starting hard disk under Linux system

Also Published As

Publication number Publication date
CN103677887A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103677887B (en) A kind of information processing method and a kind of electronic equipment
US8607223B2 (en) Creating multiplatform customized install packages for software installation
CN102955706B (en) A kind of installation method of dual operating systems and guiding loading method
EP2598991A1 (en) Method of usb device enumeration including detecting operating system type of usb host
CN1783004A (en) Persistent memory manipulation using EFI
CN103399814B (en) The method and device of automatic test
CN106909362A (en) The method and apparatus that the method and apparatus of BMC firmwares generation, BMC systems start
CN105468482B (en) Hard disk position identification and fault diagnosis method and server equipment thereof
CN108363608B (en) Virtual machine configuration method and system
CN104679540A (en) Computer system and computer system starting method
CN106941672A (en) The method and device of application software abnormality processing
CN103577201A (en) Embedded dual system updating method and system
CN103593281A (en) Test system and test method
CN109101247A (en) The method, apparatus and server of driver are installed
CN100399270C (en) Automatic installation method of USB device filter drive program
CN103092675A (en) Virtual environment construction method
US20040148596A1 (en) Method of enabling a user to update one or more low-level resources of a computer system in a user-friendly manner
CN110187895B (en) Operating system deployment method, device, equipment and computer-readable storage medium
CN111694604A (en) Method, device and equipment for installing drivers in batches and machine-readable storage medium
US8086834B2 (en) System and method for populating a dedicated system service repository for an information handling system
CN103064767B (en) Drive backup, the method recovered and device
CN104834526A (en) Manufacturing method for motion control card driver installation package
CN102830988A (en) Firmware updating method and related computer system
CN107222355B (en) Server upgrading method and device
CN103106086A (en) Processing method of operation system and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant