CN100336036C - Multiple operating system boot loading method - Google Patents

Multiple operating system boot loading method Download PDF

Info

Publication number
CN100336036C
CN100336036C CNB031784968A CN03178496A CN100336036C CN 100336036 C CN100336036 C CN 100336036C CN B031784968 A CNB031784968 A CN B031784968A CN 03178496 A CN03178496 A CN 03178496A CN 100336036 C CN100336036 C CN 100336036C
Authority
CN
China
Prior art keywords
main
bootstrap program
hard disk
operation systems
boot record
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.)
Expired - Fee Related
Application number
CNB031784968A
Other languages
Chinese (zh)
Other versions
CN1570884A (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.)
Inventec Corp
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to CNB031784968A priority Critical patent/CN100336036C/en
Publication of CN1570884A publication Critical patent/CN1570884A/en
Application granted granted Critical
Publication of CN100336036C publication Critical patent/CN100336036C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention relates to a boot loading method of multiple operation systems. The present invention is characterized in that a main bootstrap program stored in a memory buffer register of a hard disk is backuped to a storage device beyond the memory buffer register; during boot execution, the main bootstrap program of the memory buffer register of the hard disk is replaced by executing a function defined on a specific key or the operation of a control interface, and the main bootstrap program of the memory buffer register of the hard disk and the data of a partition table of the hard disk are preferentially read during startup so as to achieve the purpose of booting multiple operation systems.

Description

Several operation systems Bootstrap Loading method
Technical field
The present invention relates to a kind of operating system loading method, particularly one kind of multiple booting operating system loading methods.
Background technology
The start guidance mode of active computer mainly is earlier each assembly in the computer main frame panel to be started and test by ROM-BIOS (BIOS) behind computer starting, all start and operate just often at definite all component, then begin to read main bootstrap program and hard disk partition table data in the hard disk master boot record, carry out the location and the load operation of division operation system program, with installation and the normal operation that realizes operating system.
But when the user needs in same computing machine two or more operating system to be installed, this moment is when installing a new operating system as the user, because operating system program can destroy hard disk master boot record (Master Boot Record earlier at the installation initial stage, MBR) Nei data, and rebulid the main bootstrap program and the hard disk partition table data that belong to this operating system cognition, therefore often cause after new operating system installation, the boot of the old operating system that exists before the user just finds is destroyed by new operating system, and old operating system and new operating system can both normally be used.
Summary of the invention
In view of above prior art problems, the invention provides one kind of multiple booting operating system loading methods is that the main bootstrap program (Bootstrap Program) that will be stored in hard disk master boot record backs up to Main Boot Record memory storage in addition earlier, then when carrying out guiding, be defined in the function of specific keys or the operation of control interface by execution, can change the main bootstrap program of hard disk master boot record, preferentially read the program of hard disk master boot record during again by guiding, preferentially read main bootstrap program and hard disk partition table data with channeling conduct, realize the method for multiple open operation system requirements at last.
The object of the present invention is to provide one kind of multiple booting operating system loading methods, by the operation and the setting of this method, realization can be carried out the purpose of a plurality of operating systems in same computing machine.
Therefore for achieving the above object, several operation systems Bootstrap Loading method of the present invention mainly comprises the following step: set a plurality of steering orders, with recovery, the backup of control main bootstrap program, store and empty; Receive a setting command, read the main bootstrap program that is stored in hard disk master boot record, back up this main bootstrap program according to setting command; Specify the corresponding main bootstrap program of the instruction that is defined in specific keys,, can change the main bootstrap program of hard disk master boot record rapidly by carrying out this to be defined in the instruction of specific keys with when the main bootstrap program of follow-up replacing hard disk master boot record; Signal according to this specific keys that receives reads this main bootstrap program; Load main bootstrap program then to hard disk master boot record; Main bootstrap program and hard disk partition table data according to hard disk master boot record start the operating system at last.
For achieving the above object, several operation systems Bootstrap Loading method of the present invention can also comprise the control method of this main bootstrap program of this hard disk master boot record, this control method can be selected from a group of recovering instruction, a backup instruction, a save command and a flush instructions make up in any execution.
For achieving the above object, the main bootstrap program in the several operation systems Bootstrap Loading method of the present invention is that backup is at BIOS or in such as memory storage region of data storages such as CMOS (being complementary metal oxide semiconductor (CMOS)) storeies.
For achieving the above object, the main bootstrap program in the several operation systems Bootstrap Loading method of the present invention is the sector of backup beyond the Main Boot Record of memory storage article one magnetic track (first track).
For achieving the above object, also can comprise a quick alter operation systems approach in the several operation systems Bootstrap Loading method of the present invention, this quick alter operation systems approach comprises the following step: receive a specific keys signal; According to this specific keys signal acquisition one new main bootstrap program; And load this new main bootstrap program to this hard disk master boot record.
For achieving the above object, several operation systems Bootstrap Loading method of the present invention also can comprise a guiding setting process, in order to change this main bootstrap program of this hard disk master boot record, this guiding setting process comprises the following step: receive a specific keys so that a several operation systems power-on management interface to be provided; Receive a steering order; Capture this main bootstrap program according to this steering order; And load this main bootstrap program to this hard disk master boot record.
For achieving the above object, the setting command in the several operation systems Bootstrap Loading method of the present invention is sent by the supervisory keyboard button.
For achieving the above object, the BIOS in the several operation systems Bootstrap Loading method of the present invention also can replace by using such as memory storage region of data storages such as CMOS memory.
For achieving the above object, the BIOS in the several operation systems Bootstrap Loading method of the present invention also can be replaced by the sector beyond the Main Boot Record of memory storage article one magnetic track.
Below in conjunction with accompanying drawing to further specify the present invention.
Description of drawings
Fig. 1 is the main flow chart of several operation systems Bootstrap Loading method of the present invention;
Fig. 2 is the process flow diagram that the present invention backs up main bootstrap program; And
Fig. 3 is the preferred embodiment figure of Bootstrap Loading operating system program of the present invention.
Embodiment
According to one kind of multiple booting operating system loading methods of the present invention, be that the main bootstrap program that will be stored in hard disk master boot record backups to Main Boot Record memory storage in addition earlier, then when carrying out guiding, be defined in the function of specific keys or the operation of control interface by execution, can change the main bootstrap program of hard disk master boot record, preferentially read the program of hard disk master boot record during again by guiding, preferentially read main bootstrap program and hard disk partition table data with channeling conduct, realize the method for multiple open operation system requirements at last; By the operation and the setting of this method, can realize the purpose of in same computing machine, carrying out a plurality of operating systems of expecting.
Fig. 1 is the main flow chart of several operation systems Bootstrap Loading method of the present invention, at first reads main bootstrap program (step 110); Load main bootstrap program then to hard disk master boot record (step 120); At last according to the main bootstrap program of hard disk master boot record and hard disk partition table data start the operating system (step 130).
Because traditional main bootstrap program is to read main bootstrap program to carry out behind computer starting from the Main Boot Record of hard disk, by main bootstrap program according to the hard disk partition table data in the hard disk master boot record, carry out from the program of the data field read operation system of hard disk, with the collocation running that starts the operating system with whole computing machine.And method of the present invention promptly adopts and is similar to traditional bootmode, provides a kind of main bootstrap program of can changing in addition, so that the method for multiple guiding to be provided; In bootup process, before reading hard disk master boot record, read the Main Boot Record main bootstrap program in addition that is stored in hard disk article one magnetic track earlier, and then this main bootstrap program is loaded the Main Boot Record of hard disk article one magnetic track, the action of reading by computing machine execution hard disk master boot record at last guides with preparation, and start the operating system according to main bootstrap program that reads and hard disk partition table data, to finish whole guiding action.
The wherein management of main bootstrap program in the relevant hard disk master boot record in the said process, action such as stores and empties at recovery, backup that more can be by various steering orders control main bootstrap programs; And the management of main bootstrap program also comprises one and sets action, be responsible for a specific keys is set one group of instruction to should main bootstrap program, when making things convenient for user's alter operation system, can be defined in the execution of the instruction of specific keys by this, with the existing operating system of quick change.
Wherein when boot program was carried out, the user more can pass through a guiding setting process, or a quick setting process is changed the main bootstrap program in the hard disk master boot record; This guiding setting process mainly is to start a specific keys so that several operation systems power-on management interface to be provided according to the user; Then accept a steering order; And according to this steering order acquisition is stored in the main bootstrap program of BIOS; Again main bootstrap program is loaded hard disk master boot record at last, to prepare start.
As for quick setting process, then start a specific keys according to the user after, capture the main bootstrap program of this specific keys correspondence from BIOS according to the signal of this specific keys; And main bootstrap program is loaded in the hard disk master boot record, to prepare start.
Except the loading flow process narration of the invention described above method, then continue to back up the process flow diagram of main bootstrap program by Fig. 2 the present invention, illustrate how the inventive method produces the requirement of multiple start.
At first receive a setting command (step 210); Then be stored in the main bootstrap program (step 220) of hard disk master boot record according to this setting command acquisition; Back up main bootstrap program at last to BIOS (step 230).
When the user starts the main bootstrap program of alter operation system, computing machine will be received a setting command earlier, be to send by computer keyboard control button, computing machine is at this moment after receiving setting command, promptly be stored in the main bootstrap program of hard disk master boot record according to this setting command acquisition, and back up in the memory storage that this main bootstrap program is stored to BIOS, promptly finish the backup job of main bootstrap program this moment.Wherein in the process of above-mentioned backup, the given step that also comprises a main bootstrap program, with the corresponding main bootstrap program of instruction of specifying to be defined in specific keys, so that the main bootstrap program of follow-up replacing hard disk master boot record to be provided, can by this be defined in specific keys instruction execution and change the main bootstrap program of hard disk master boot record rapidly.Back up the position that stores about main bootstrap program in addition, except being stored in BIOS, also can be stored in the memory storage except the Main Boot Record of hard disk article one magnetic track, for example memory storage region of data storages such as cmos memory, hard disc data storage area, diskette data storage area and data of optical disk storage area.
After the loading of having stated the invention described above and establishing method, then, explain orally the operation workflow of the inventive method with a preferred embodiment again by the preferred embodiment figure of Fig. 3 Bootstrap Loading operating system program of the present invention.
At first after computer starting, load BIOS control program (step 310), with startup and the test of carrying out each assembly of computing machine; Then show pilot operationp information (step 320), inform that the user can open several operation systems power-on management interface by specific key command by computer screen; Judge whether to start specific keys (step 330) when the result who judges represents that the user does not start specific keys by system then, system then reads and carries out the interior main bootstrap program (step 380) of Main Boot Record of hard disk article one magnetic track; And pilot operationp system (OS) starts (step 390).
When the result who judges represented that the user has started specific keys, system then provided several operation systems power-on management interface (step 340) to manipulate to the user; Accept the signal (step 350) of a specific keys when system after; Promptly in the main bootstrap program (step 360) and Main Boot Record (step 370) according to this specific keys signal acquisition correspondence with this main bootstrap program loading hard disk article one magnetic track; By the running of system, the interior main bootstrap program (step 380) of Main Boot Record that reads and carry out hard disk article one magnetic track starts (step 390) with pilot operationp system (OS) afterwards.
Certainly because the method for operating of present embodiment, relevant for main bootstrap program and hard disk partition table data, be still by legacy operating system program designation load mode and operate, only provide operating system to load the flow process of conversion, yet when main bootstrap program is stored in BIOS, this method also can be by guide the mode that starts in advance, walk to BIOS earlier and start main bootstrap program, last read hard disk partition table data in the Main Boot Record of hard disk article one magnetic track to the Main Boot Record of hard disk article one magnetic track again, to start the operating system.
Describe for the summary of the System and method for of the present invention's exposure by the front, can solve existing problem in the background note, and expection can realize following effect:
1. after operating system of new installation, still can carry out the operation of several operation systems start Bootstrap Loading; And
2. main bootstrap program can be carried out the operation of back up or restore by easy button operation.
The above is preferred embodiment of the present invention only, is not to be used for limiting scope of the present invention; All equalizations of being carried out according to the present invention change and modify, and all should be covered by within the scope of the invention.

Claims (15)

1. one kind of multiple booting operating system loading methods, this method comprises the following step:
Set a plurality of steering orders, with control main bootstrap program recovery, backup, storage, load or empty;
Receive a setting command, capture a main bootstrap program that is stored in a hard disk master boot record, back up this main bootstrap program according to this setting command;
Specify the corresponding main bootstrap program of the instruction that is defined in specific keys,, can change the main bootstrap program of hard disk master boot record rapidly by carrying out this to be defined in the instruction of specific keys with when the main bootstrap program of follow-up replacing hard disk master boot record;
Signal according to this specific keys that receives reads this main bootstrap program;
Load this main bootstrap program to one hard disk master boot record; And
This main bootstrap program and hard disk partition table data according to this hard disk master boot record start an operating system.
2. several operation systems Bootstrap Loading method as claimed in claim 1, it is characterized in that described method also comprises the control method of this main bootstrap program of this hard disk master boot record, this control method can be selected from a group of recovering instruction, a backup instruction, a save command and a flush instructions make up in any execution.
3. several operation systems Bootstrap Loading method as claimed in claim 1 is characterized in that described main bootstrap program backup is in a ROM-BIOS or a memory storage region of data storage.
4. several operation systems Bootstrap Loading method as claimed in claim 3 is characterized in that described memory storage is a cmos memory.
5. several operation systems Bootstrap Loading method as claimed in claim 1 is characterized in that the sector of described main bootstrap program backup beyond the Main Boot Record of memory storage article one magnetic track.
6. several operation systems Bootstrap Loading method as claimed in claim 1 is characterized in that described method also comprises a quick alter operation systems approach, and this quick alter operation systems approach comprises the following step:
Receive a specific keys signal;
According to this specific keys signal acquisition one new main bootstrap program; And
Load this new main bootstrap program to this hard disk master boot record.
7. several operation systems Bootstrap Loading method as claimed in claim 6 is characterized in that described main bootstrap program is to be stored in a ROM-BIOS or the memory storage region of data storage.
8. several operation systems Bootstrap Loading method as claimed in claim 7 is characterized in that described memory storage is a cmos memory.
9. several operation systems Bootstrap Loading method as claimed in claim 6 is characterized in that described main bootstrap program is stored in the Main Boot Record sector in addition of memory storage article one magnetic track.
10. several operation systems Bootstrap Loading method as claimed in claim 1 is characterized in that described method also comprises a guiding setting process, and in order to change this main bootstrap program of this hard disk master boot record, this guiding setting process comprises the following step:
Receive a specific keys so that a several operation systems power-on management interface to be provided;
Receive a steering order;
Capture this main bootstrap program according to this steering order; And
Load this main bootstrap program to this hard disk master boot record.
11. several operation systems Bootstrap Loading method as claimed in claim 10 is characterized in that described main bootstrap program is stored in a ROM-BIOS or the memory storage region of data storage.
12. several operation systems Bootstrap Loading method as claimed in claim 11 is characterized in that described memory storage is a cmos memory.
13. several operation systems Bootstrap Loading method as claimed in claim 10 is characterized in that described main bootstrap program is stored in the Main Boot Record sector in addition of memory storage article one magnetic track.
14. several operation systems Bootstrap Loading method as claimed in claim 1 is characterized in that described setting command is sent by the supervisory keyboard button.
15. several operation systems Bootstrap Loading method as claimed in claim 1 is characterized in that this main bootstrap program of described backup to the step of ROM-BIOS is replaced by the sector beyond the Main Boot Record of this main bootstrap program to one memory storage article one magnetic track of backup.
CNB031784968A 2003-07-18 2003-07-18 Multiple operating system boot loading method Expired - Fee Related CN100336036C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031784968A CN100336036C (en) 2003-07-18 2003-07-18 Multiple operating system boot loading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031784968A CN100336036C (en) 2003-07-18 2003-07-18 Multiple operating system boot loading method

Publications (2)

Publication Number Publication Date
CN1570884A CN1570884A (en) 2005-01-26
CN100336036C true CN100336036C (en) 2007-09-05

Family

ID=34472782

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031784968A Expired - Fee Related CN100336036C (en) 2003-07-18 2003-07-18 Multiple operating system boot loading method

Country Status (1)

Country Link
CN (1) CN100336036C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454245C (en) * 2005-05-24 2009-01-21 鸿富锦精密工业(深圳)有限公司 System and method for loading multi-operation system at remote control customer terminal
JP4871598B2 (en) 2006-01-19 2012-02-08 キヤノン株式会社 Image processing apparatus, image processing apparatus activation method, and program
CN102262548A (en) * 2010-05-28 2011-11-30 宏碁股份有限公司 Switching method of startup model
CN101930384A (en) * 2010-09-10 2010-12-29 北京中科院软件中心有限公司 Fault tolerance method and device for file system
CN105786569B (en) * 2016-02-26 2019-07-26 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106371863A (en) * 2016-08-24 2017-02-01 武汉光迅科技股份有限公司 Embedded multi-operation system boot program upgrading method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86102261A (en) * 1985-04-03 1986-11-12 霍尼韦尔信息***公司 Support the bridging device of multiple operating system by shell
US5454110A (en) * 1992-04-15 1995-09-26 International Business Machines Corporation Techniques for supporting operating systems for portable computers
CN1201186A (en) * 1997-06-02 1998-12-09 郭景坤 Multi-operation system device
CN1308276A (en) * 2000-02-09 2001-08-15 国际商业机器公司 Method and system of preselecting operation system loaded in subsequent boot process
EP1126369A2 (en) * 2000-02-17 2001-08-22 International Business Machines Corporation Method and system for supporting multiple operating systems on the same disk running on different computers at the same time
US20030115443A1 (en) * 2001-12-18 2003-06-19 Cepulis Darren J. Multi-O/S system and pre-O/S boot technique for partitioning resources and loading multiple operating systems thereon

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86102261A (en) * 1985-04-03 1986-11-12 霍尼韦尔信息***公司 Support the bridging device of multiple operating system by shell
US5454110A (en) * 1992-04-15 1995-09-26 International Business Machines Corporation Techniques for supporting operating systems for portable computers
CN1201186A (en) * 1997-06-02 1998-12-09 郭景坤 Multi-operation system device
CN1308276A (en) * 2000-02-09 2001-08-15 国际商业机器公司 Method and system of preselecting operation system loaded in subsequent boot process
JP2001243076A (en) * 2000-02-09 2001-09-07 Internatl Business Mach Corp <Ibm> Method for automating boot process of data processing system and system for processing data and program product
EP1126369A2 (en) * 2000-02-17 2001-08-22 International Business Machines Corporation Method and system for supporting multiple operating systems on the same disk running on different computers at the same time
US6532538B1 (en) * 2000-02-17 2003-03-11 International Business Machines Corporation Method and system for supporting multiple operating systems on the same disk running on different computers at the same time
US20030115443A1 (en) * 2001-12-18 2003-06-19 Cepulis Darren J. Multi-O/S system and pre-O/S boot technique for partitioning resources and loading multiple operating systems thereon

Also Published As

Publication number Publication date
CN1570884A (en) 2005-01-26

Similar Documents

Publication Publication Date Title
US9465518B1 (en) Method and system for creation, analysis and navigation of virtual snapshots
US8959055B1 (en) Method and system for creation, analysis and navigation of virtual snapshots
US8589913B2 (en) Tracking block-level writes
CN1296835C (en) Apparatus and method for controlling booting operation of computer system
US7519806B2 (en) Virtual partition for recording and restoring computer data files
CN1877539A (en) Data backup/recovery system under cold start mode and implementing method therefor
EP3769224B1 (en) Configurable recovery states
CN102959518A (en) Restore of full system backup and incremental backups using multiple simultaneous device streams
CN1445667A (en) Method for recovering and backing up information in hard disc of computer
US20080155302A1 (en) Method and system for storing recovery related information on a computer memory
CN1133944C (en) System and method for starting system of computer system
WO2005078603A1 (en) Method of converting a filesystem while the filesystem remains in an active state
CN101137961A (en) System and method for configuring computer for operation
CN1858714A (en) Method for preventing and resolving data from lossing
CN100336036C (en) Multiple operating system boot loading method
EP3769225B1 (en) Free space pass-through
CN1818824A (en) High-reliable personal computer and operating system thereof
CN1484152A (en) Method and device for restoring computer operation system and method for producing said system
US20060069902A1 (en) Method for recovering operating system and user data executed in a computer and its recovery system thereof
JP2002528790A (en) Method and apparatus for capturing image file changes
CN1216329C (en) Method for establishing guidable partition
CN100547550C (en) Install and be written into the system and method for installation system supervisory routine behind the operating system of user
CN1797335A (en) Method for expanding function of basic input / output system
KR100543567B1 (en) Realtime backup/recovery system at windows and method thereof
CN1690975A (en) Method for restoring operating system and user data in a computer&lt;and restoration system therefor 0}

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070905

Termination date: 20100718