CN105446758A - Method for installing operating system - Google Patents

Method for installing operating system Download PDF

Info

Publication number
CN105446758A
CN105446758A CN201410432000.9A CN201410432000A CN105446758A CN 105446758 A CN105446758 A CN 105446758A CN 201410432000 A CN201410432000 A CN 201410432000A CN 105446758 A CN105446758 A CN 105446758A
Authority
CN
China
Prior art keywords
operating system
hard disk
type
installing
partitioned organization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410432000.9A
Other languages
Chinese (zh)
Inventor
林启荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunda Computer Technology Kunshan Co Ltd
Mitac International Corp
Original Assignee
Kunda Computer Technology Kunshan Co Ltd
Mitac International Corp
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 Kunda Computer Technology Kunshan Co Ltd, Mitac International Corp filed Critical Kunda Computer Technology Kunshan Co Ltd
Priority to CN201410432000.9A priority Critical patent/CN105446758A/en
Publication of CN105446758A publication Critical patent/CN105446758A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method for installing an operating system. The method is used for installing the operating system on a computer, and comprises the following steps: when the computer is turned on, scanning all hard disks on the computer, and recording the partitioning structure type of each hard disk; determining the guiding manner of the operating system to be installed at present via the computer; displaying hard disks of which the partitioning structure types do not correspond to the guiding manner; judging whether user's operation enters a BIOS setting menu or not; if yes, displaying the partitioning structure types of all the hard disks in the BIOS setting menu, otherwise judging whether the partitioning structure type of the hard disk selected by a user corresponds to the guiding manner of the operating system; and if yes, continuing installing the operating system, otherwise sending prompt information to remind the user that the operating system cannot be installed in the hard disk.

Description

The method of installing operating system
Technical field
The present invention relates to a kind of method of installing operating system, particularly relate to a kind of method that the whether corresponding system concurrency to be installed of the partitioned organization type of hard disk goes out information that judges.
Background technology
The program of installing an operating system (OperatingSystem) is in a computer very complicated, it is no matter the setting of device aspect or systematic parameter, as long as the arbitrary steps in the process of installing operating system is made mistakes, whole installation process just must re-start.
BIOS(BasicInputOutputSystem, Basic Input or Output System (BIOS)) technology is contact the most closely with hardware in computer software always, in the process that PC starts, BIOS is responsible for initiating hardware, detection hardware function, and guides the responsibility of operating system, can find out, BIOS, for computer system, is very important system software, does not have the computing machine of BIOS to run.
When installing operating system, for the partitioned organization type of different hard disk, it guides the BIOS installed different, such as, the System guides mode of legacyBIOS pattern is supported in the installation of lower 64 the windows8 systems of MBR fdisk structure type, and UEFI(UnifiedExtensibleFirmwareInterface, unified Extensible Firmware Interface) the System guides mode of pattern supports the installation of lower 64 the windows8 systems of GPT fdisk structure type, therefore, for different System guides modes, need the installation selecting different fdisk structure types to carry out system, prior art is when installing operating system, when hard disk partitioned organization type and system to be installed not to the time in of corresponding without information, and when fdisk structure type not to correspondence time can cause occurring in installation process the situation that hard disk form is not inconsistent or the system of installation cannot be opened, impact uses and wastes time and energy.
Summary of the invention
For above-mentioned situation, object of the present invention is mainly to provide a kind of method that the whether corresponding system concurrency to be installed of the partitioned organization type of hard disk goes out information that judges when installing operating system, user is facilitated to judge whether the guidance mode of respective operations system, to avoid making a mistake when installing operating system.
For achieving the above object, in the method for installing operating system when the invention provides a kind of installing operating system, for installing an operating system on a computer, the method comprises the following steps:
Under open state, scan all hard disks on this computing machine, record the partitioned organization type of respectively this hard disk;
The guidance mode of current this operating system to be installed determined by this computing machine;
Display partitioned organization type is not to should respectively this hard disk of guidance mode;
Judge whether user enters BIOS and arrange menu, if so, arranges in menu the partitioned organization type showing respectively this hard disk at this BIOS;
If not, whether the partitioned organization type judging this hard disk that user selects to should booting operating system mode, if so, then continues to install this operating system, if not, then sends information, remind this operating system cannot be installed to this hard disk.
Especially, the guidance mode of this operating system is UEFI pattern or Legacy pattern, and respectively the partitioned organization type of this hard disk comprises GPT fdisk structure type and MBR fdisk structure type.
Especially, when this booting operating system mode described is this UEFI pattern, under being supported in this GPT fdisk structure type, this operating system is installed; When this booting operating system mode described is Legacy pattern, under being supported in MBR fdisk structure type, this operating system is installed.
Especially, whether the partitioned organization type judging this hard disk, to should the method for guidance mode of operating system be, be judged by the thresholding of each zoned format in the media apparatus path of this hard disk of detecting, that is:
If this thresholding is 0x01, then this fdisk structure type is MBR type;
If this thresholding is 0x02, then this fdisk structure type is GPT type.
Especially, described BIOS arranges the partitioned organization type of the title that also shows respectively this hard disk in menu and each this hard disk.
Especially, the partitioned organization type combining respectively this hard disk with the title of each this hard disk in described operating system renames respectively this hard disk.
Compared to prior art, the method of installing operating system of the present invention, on computers during installing operating system, judge fdisk structure type whether to should operating system guidance mode and send information, arrange in menu at BIOS simultaneously and show fdisk structure type, facilitate user to judge and select, avoiding making a mistake when installing operating system.
[accompanying drawing explanation]
Fig. 1 is the process flow diagram of the method for installing operating system of the present invention;
Fig. 2 is the process flow diagram of an embodiment of the method for installing operating system of the present invention;
Fig. 3 is the process flow diagram of another embodiment of the method for installing operating system of the present invention.
[embodiment]
The invention provides a kind of method of installing operating system of the present invention, when one operating system is installed on computers, judge fdisk structure type whether to should the guidance mode of operating system, and arrange in menu at BIOS and show fdisk structure type, facilitate user to judge and select, avoiding making a mistake when installing operating system, refer to Fig. 1, for the process flow diagram of the method for installing operating system of the present invention, as shown in the figure, the method comprises the following steps:
Step 11: start installing operating system;
Step 12: scan all hard disks on this computing machine;
Step 13: the partitioned organization type recording respectively this hard disk;
Step 14: the guidance mode determining current this operating system to be installed;
Step 15: display partitioned organization type is not to should respectively this hard disk of guidance mode;
Step 16: judge whether user enters BIOS and arrange menu, if so, then goes to step 17, if not, then goes to step 18;
Step 17: the title and partitioned organization type thereof that show respectively this hard disk are set in menu at this BIOS;
Step 18: whether the partitioned organization type judging this hard disk that user selects to should booting operating system mode, if so, then goes to step 19, if not, then go to step 20;
Step 19: continue to install this operating system;
Step 20: send information, reminds this operating system cannot be installed to this hard disk.
In the present embodiment, the guidance mode of this operating system is UEFI pattern or Legacy pattern, and respectively the partitioned organization type of this hard disk comprises GPT type and MBR type.
In the present embodiment, when this booting operating system mode described is this UEFI pattern, under being supported in this GPT fdisk structure type, this operating system is installed; When this booting operating system mode described is Legacy pattern, under being supported in MBR fdisk structure type, this operating system is installed.
In the present embodiment, according to the defined declaration of unified Extensible Firmware Interface specifications (UEFIspec), whether the partitioned organization type judging this hard disk is to should the method for booting operating system mode be, judged by the thresholding detecting the respectively zoned format (PartitionFormat) in the media apparatus path (MediaDevicePath) of this hard disk, that is:
If this thresholding is 0x01, then this fdisk structure type is MBR type;
If this thresholding is 0x02, then this fdisk structure type is GPT type.
In the present embodiment, described BIOS arranges the title also showing respectively this hard disk in menu, the partitioned organization type of respectively this hard disk directly can be connect after hard disk title, such as, (sSATA) P3-WDCWD1600YS-18SHB1 is called for hard disk name, when the partitioned organization type of this hard disk current is MBR, arrange in menu at BIOS and be shown as (sSATA) P3-WDCWD1600YS-18SHB1(MBR), when the partitioned organization type of this hard disk current is GPT, arrange in menu at BIOS and be shown as (sSATA) P3-WDCWD1600YS-18SHB1(GPT), in addition, the partitioned organization type of each this hard disk is connected on respectively after this hard disk title by the present embodiment, become the name that in operating system, respectively this hard disk is new, such as, still be called (sSATA) P3-WDCWD1600YS-18SHB1 for hard disk name, if the partitioned organization type of this hard disk is MBR at present, called after (sSATA) P3-WDCWD1600YS-18SHB1(MBR that then this hard disk is new in an operating system), if the partitioned organization type of this hard disk is GPT at present, called after (sSATA) P3-WDCWD1600YS-18SHB1(GPT that then this hard disk is new in an operating system).
Referring to Fig. 2, is the process flow diagram of an embodiment of the method for installing operating system of the present invention, and as shown in the figure, the process flow diagram of the method when the guidance mode for operating system is UEFI pattern, comprising:
Step 21: start installing operating system;
Step 22: scan all hard disks on this computing machine;
Step 23: the partitioned organization type recording respectively this hard disk;
Step 24: determine that the guidance mode of current this operating system to be installed is UEFI pattern;
Step 25: display partitioned organization type is respectively this hard disk of MBR type;
Step 26: judge whether user enters BIOS and arrange menu, if so, then goes to step 27, if not, then goes to step 28;
Step 27: the title and partitioned organization type thereof that show respectively this hard disk are set in menu at this BIOS;
Step 28: whether the partitioned organization type judging this hard disk that user selects is GPT type, if so, then goes to step 29, if not, then goes to step 30;
Step 29: continue to install this operating system;
Step 30: send information, reminds this operating system cannot be installed to this hard disk.
Referring to Fig. 3, is the process flow diagram of another embodiment of the method for installing operating system of the present invention, and as shown in the figure, the process flow diagram of the method when the guidance mode for operating system is Legacy pattern, comprising:
Step 31: start installing operating system;
Step 32: scan all hard disks on this computing machine;
Step 33: the partitioned organization type recording respectively this hard disk;
Step 34: determine that the guidance mode of current this operating system to be installed is Legacy pattern;
Step 35: display partitioned organization type is respectively this hard disk of GPT type;
Step 36: judge whether user enters BIOS and arrange menu, if so, then goes to step 37, if not, then goes to step 38;
Step 37: the title and partitioned organization type thereof that show respectively this hard disk are set in menu at this BIOS;
Step 38: whether the partitioned organization type judging this hard disk that user selects is MBR type, if so, then goes to step 39, if not, then goes to step 40;
Step 39: continue to install this operating system;
Step 40: send information, reminds this operating system cannot be installed to this hard disk.
By reference to the accompanying drawings the specific embodiment of the present invention and embodiment are elaborated above, but the present invention is not limited to the above-described embodiment and examples, in the ken that those skilled in the art possess, can also make a variety of changes without departing from the inventive concept of the premise.

Claims (6)

1. a method for installing operating system, for installing an operating system on a computer, it is characterized in that, the method comprises the following steps:
Under open state, scan all hard disks on this computing machine, record the partitioned organization type of respectively this hard disk;
The guidance mode of current this operating system to be installed determined by this computing machine;
Display partitioned organization type is not to should respectively this hard disk of guidance mode;
Judge whether user enters BIOS and arrange menu, if so, arranges in menu the partitioned organization type showing respectively this hard disk at this BIOS;
If not, whether the partitioned organization type judging this hard disk that user selects to should booting operating system mode, if so, then continues to install this operating system, if not, then sends information, remind this operating system cannot be installed to this hard disk.
2. the method for installing operating system according to claim 1, it is characterized in that, the guidance mode of this operating system is UEFI pattern or Legacy pattern, and respectively the partitioned organization type of this hard disk comprises GPT fdisk structure type and MBR fdisk structure type.
3. the method for installing operating system according to claim 2, is characterized in that, when this booting operating system mode described is this UEFI pattern, installs this operating system under being supported in this GPT fdisk structure type; When this booting operating system mode described is Legacy pattern, under being supported in MBR fdisk structure type, this operating system is installed.
4. the method for installing operating system according to claim 3, it is characterized in that, whether the partitioned organization type judging this hard disk, to should the method for booting operating system mode be, be judged by the thresholding of each zoned format in the media apparatus path of this hard disk of detecting, that is:
If this thresholding is 0x01, then this fdisk structure type is MBR type;
If this thresholding is 0x02, then this fdisk structure type is GPT type.
5. the method for installing operating system according to claim 1, is characterized in that, described BIOS arranges the partitioned organization type of the title that also shows respectively this hard disk in menu and each this hard disk.
6. the method for installing operating system according to claim 5, is characterized in that, the partitioned organization type combining respectively this hard disk with the title of each this hard disk in described operating system renames respectively this hard disk.
CN201410432000.9A 2014-08-29 2014-08-29 Method for installing operating system Pending CN105446758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410432000.9A CN105446758A (en) 2014-08-29 2014-08-29 Method for installing operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410432000.9A CN105446758A (en) 2014-08-29 2014-08-29 Method for installing operating system

Publications (1)

Publication Number Publication Date
CN105446758A true CN105446758A (en) 2016-03-30

Family

ID=55557003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410432000.9A Pending CN105446758A (en) 2014-08-29 2014-08-29 Method for installing operating system

Country Status (1)

Country Link
CN (1) CN105446758A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357608A (en) * 2017-06-21 2017-11-17 联想(北京)有限公司 The method, apparatus and system of a kind of automatic installing operating system
CN107608681A (en) * 2017-09-14 2018-01-19 紫光华山信息技术有限公司 Installation method of operating system, device and server
CN108563454A (en) * 2018-03-30 2018-09-21 天津麒麟信息技术有限公司 A kind of operating system hard disk quick deployment method towards machine of soaring
CN108829351A (en) * 2018-06-04 2018-11-16 成都傲梅科技有限公司 A kind of MBR disk turns the method and its system of GPT disk

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068645A1 (en) * 2002-06-28 2004-04-08 Jean-Francois Larvoire Operating system selector and data storage drive
CN103544069A (en) * 2012-07-18 2014-01-29 肖祥省 Fault-tolerant multiple startup system disk created with one area for multiple purposes

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068645A1 (en) * 2002-06-28 2004-04-08 Jean-Francois Larvoire Operating system selector and data storage drive
CN103544069A (en) * 2012-07-18 2014-01-29 肖祥省 Fault-tolerant multiple startup system disk created with one area for multiple purposes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘宗凡等: "实战UEFI", 《中国信息技术教育》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357608A (en) * 2017-06-21 2017-11-17 联想(北京)有限公司 The method, apparatus and system of a kind of automatic installing operating system
CN107357608B (en) * 2017-06-21 2020-09-25 联想(北京)有限公司 Method, device and system for automatically installing operating system
CN107608681A (en) * 2017-09-14 2018-01-19 紫光华山信息技术有限公司 Installation method of operating system, device and server
CN108563454A (en) * 2018-03-30 2018-09-21 天津麒麟信息技术有限公司 A kind of operating system hard disk quick deployment method towards machine of soaring
CN108829351A (en) * 2018-06-04 2018-11-16 成都傲梅科技有限公司 A kind of MBR disk turns the method and its system of GPT disk
CN108829351B (en) * 2018-06-04 2021-10-12 成都傲梅科技有限公司 Method for converting MBR disk into GPT disk

Similar Documents

Publication Publication Date Title
US7490298B2 (en) Creating documentation screenshots on demand
CN101493790B (en) Record playback system and record back method
US7587586B2 (en) Method, program, and system for setting up communication data for devices and supported applications
JP4868848B2 (en) Automatic detection and testing of new network connections
CN102541591B (en) Automatic guiding method of computer U-disc operating system compatible with multioperation system platform
US20130247021A1 (en) Electronic device, system and method for updating and uninstalling software
CN105446758A (en) Method for installing operating system
CN103677887B (en) A kind of information processing method and a kind of electronic equipment
CN105468482B (en) Hard disk position identification and fault diagnosis method and server equipment thereof
US9734047B2 (en) Method and apparatus for an improved automated test of software with a graphical user interface
KR100703804B1 (en) System and method for plug and install
WO2017173925A1 (en) Software management method and device, terminal, and storage medium
CN103914323A (en) Baseboard management controller updating system and updating method
US20100049961A1 (en) Update method for basic input/output system and update system thereof
US20120198436A1 (en) Compatible Operating System
CN104834526A (en) Manufacturing method for motion control card driver installation package
US20080079738A1 (en) Method and system for testing computer graphic display controller
US20220261256A1 (en) Apparatus for driving external operating system and method therefor
CN103064767A (en) Driver backup method, driver backup device, driver restoring method and driver restoring device
CN100501710C (en) Peripheral apparatus access state checking method
CN105573871B (en) The method of Auto-Sensing hard disk operation system type
CN100419694C (en) System and method for testing correctness of position of installing hard disk
CN103995714A (en) Device driver installation method and equipment
US8762699B1 (en) System, apparatus, and method for initiating a reboot of a personal computer system by pressing a button on an attached storage device and causing the operating system on the attached storage device to be booted
US8805674B2 (en) Electronic device and method for supporting multiple languages in image measurement programs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160330

WD01 Invention patent application deemed withdrawn after publication