CN1595354A - Computer starting-up method and related computer - Google Patents
Computer starting-up method and related computer Download PDFInfo
- Publication number
- CN1595354A CN1595354A CN 03158935 CN03158935A CN1595354A CN 1595354 A CN1595354 A CN 1595354A CN 03158935 CN03158935 CN 03158935 CN 03158935 A CN03158935 A CN 03158935A CN 1595354 A CN1595354 A CN 1595354A
- Authority
- CN
- China
- Prior art keywords
- computing machine
- operating system
- program code
- group
- switch
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to a computer power on method, which is composed of the following steps. (a) The computer is equipped with a disk and a switch. (b) Store the first main starting record into the first region of the disk, with the record corresponding to a group of operation systems, which is composed of one operation system at least. (c) Store the second main starting record into the second region of the disk, with the record corresponding to a group of program codes, which is composed of one program code. (d) Start the computer. (e) Detect the state of the switch, and execute the program code of the code group, when the switch is detected to be in a certain preset state. Otherwise, execute the operation system of the system group.
Description
Technical field
The present invention is relevant to a kind of computing machine, relates in particular to a kind of opening computer method.
Background technology
One is stored in operating system (the operating system in the computing machine originally, OS) after being loaded on the random access memory (RAM) in the computing machine, just can begin to manage the operation of other application program (application program) in this computing machine by an os starting program (operating system boot program).In order to run under the different environment, this computing machine can comprise two or more operating system, for example similarly is DOS, OS/2, Windows, and Linux etc.
See also Fig. 1, Fig. 1 is existing one process flow diagram that is used for the operating system in this computing machine is loaded on the method 100 of the RAM in this computing machine, and method 100 comprises the following step:
Step 102: beginning;
(this computing machine also comprises a floppy drive (floppy), and stores this operating system and a main record (master boot record that starts corresponding to this operating system, MBR) Winchester disk drive, stores ROM (read-only memory) (ROM), and the processor that is used for carrying out this BIOS of a basic input/output (BIOS), this master start to write down comprise this os starting program)
Step 104: open (power on) this computing machine;
(this processor is carried out this BIOS immediately)
Step 106: this BIOS execution one start selftest (power on self test POST), if all hardware device in this computing machine all moves normally, carry out step 108, otherwise, carry out step 198;
(this POST is used for testing whether the hardware unit as this RAM, this Winchester disk drive and a keyboard etc. moves normally in this computing machine)
Step 108: in the floppy drive of this computing machine, seek this os starting program, if in the disk that is not placed with any disk in this floppy drive or is placed be not a startup disk that contains this os starting program, carry out step 110, otherwise, carry out step 112;
Step 110: in this Winchester disk drive, seek this os starting program;
Step 112: will lead and start record and be copied among this RAM (normally copy to the address is the storage space place of 07c00h among this RAM);
Step 114: this master starts record the starter system file in this operating system (initialsystem file) is loaded among this RAM;
(with DOS is example, and this starter system file is IO.SYS)
Step 116: this starter system file with other file load in this operating system to this RAM;
(this other literature kit contains MSDOS.SYS, CONFIG.SYS and AUTOEXEC.BAT (forDOS) or WIN.INI (for Windows) etc.)
Step 198: finish.
(so far, part hardware unit in this computing machine is irregular operating (being undertaken so far by step 106), perhaps, the application program in this computing machine can see through application programming interfaces (application programinterface API) utilizes this operating system.In addition, the user of this computing machine can see through as program language (command language) or a graphic user interface (graphical user interface, GUI) directly with this operating system interaction)
Generally speaking, this MBR is that the 1st sector (sector) in the 0th magnetic head (head) that is stored in the 0th magnetic post (cylinder) of this Winchester disk drive, the 0th magnetic track (track) that just is commonly called as are located, and the size of this MBR is 512 bytes (000 to 1FF).This MBR can be divided into two parts again again, and one is that (Master Boot Program, MBP), another then is hard disk contingency table (partition Table) to main boot program.This main boot program and this hard disk contingency table are all very important information, if this Winchester disk drive in the 0th rail destroyed after, this computing machine just can't normally move, strictly speaking, this computing machine just can't be started shooting at all.
Because any computing machine all is that this MBR is stored in the 0th magnetic track in the Winchester disk drive of this computing machine, and just can replace this MBR with a specific program code when this computer booting as starting-up type virus such as Michelangelo and stoned viruses, if this virus is only replaced the main boot program among this MBR, the user still can utilize the hard disk segmentation procedure as FDISK to be restored, because the main boot program among each MBR is all similar, yet, if this virus is the hard disk contingency table that destroys among this MBR, because the hard disk contingency table in each Winchester disk drive is neither identical, so, in case this hard disk contingency table is destroyed, DISK to Image also just is dead.
Summary of the invention
Therefore fundamental purpose of the present invention is to provide a kind of method of computer booting, to solve the shortcoming of prior art.
The present invention is the method that discloses a kind of computer booting, this method comprises the following step: this computing machine one Winchester disk drive and switch (a) is provided, (b) one first master is started recording storage in the first area of this Winchester disk drive, this first main startup record is corresponding to one group of operating system, this group operating system comprises at least one operating system, (c) one second master is started recording storage in the second area of this Winchester disk drive, this second main startup record is corresponding to the batch processing code, this group program code comprises at least one program code, (d) open this computer system, and the state that (e) detects this switch, and be when being in a predetermined state detecting this switch, carry out the program code in this group program code, otherwise, carry out the operating system in this group operating system.
In one embodiment of this invention, this program code comprises an operating system or a driver, and this driver is to be used for driving a CD-ROM drive.
The invention also discloses a kind of computing machine, it comprises: a switch; One first memory storage stores a basic input/output program code; One second memory storage, store the one first main record that starts in a first area, this first main startup record is corresponding to one group of operating system, this group operating system comprises at least one operating system, this second memory storage stores the one second main record that starts at a second area in addition, this second main startup record is corresponding to the batch processing code, and this group program code comprises at least one program code; And a processor, be used for when carrying out this basic input/output program code, carry out the operating system program code in this group program code maybe in this group operating system according to the state of this switch.
Because method of the present invention is that two main startups are write down the different storage space that is stored in respectively in this Winchester disk drive, so be not afraid of the destruction of starting-up type virus.In addition, see through the control of this switch, method of the present invention also can directly be carried out this driver to drive this CD-ROM drive.
Description of drawings
Fig. 1 is existing a kind of process flow diagram that is used for the operating system in this computing machine is loaded on the method for the RAM in this computing machine.
Fig. 2 is the functional block diagram of a computing machine in one embodiment of the invention.
Fig. 3 is the process flow diagram of the method for the shown computer booting of Fig. 2.
The reference numeral explanation
12 starts of 10 computing machines
14 ROM (read-only memory), 16 Winchester disk drive
18 processors, 22 floppy drives
24 housings
Embodiment
See also Fig. 2, Fig. 2 is the functional block diagram of a computing machine 10 in one embodiment of the invention.Computing machine 10 comprises: a housing 24, is arranged at that first memory storage 14, that housing 24 lip-deep switches 12, a floppy drive 22, store a BIOS stores one the one MBR in a first area 26 and stores second memory storage 16 and the processor 18 of one the 2nd MBR at a second area 28, and processor 18 is to be electrically connected on switch 12, floppy drive 22, first memory storage 14, and second memory storage 16.
Generally speaking, all can store four projects of representing four cut sections respectively among one MBR, and a project is only arranged in these four projects is to be denoted as capable of starting up (available FDISK indicates it), the main boot program of this MBR just can the start project go for the corresponding sector of starting shooting according to this, to open the operating system in this sector of can starting shooting.In one embodiment of this invention, the one MBR is corresponding to one group of operating system, this group operating system comprises at least one as DOS, OS/2, Windows, and the operating system of Linux, and the 2nd MBR is corresponding to the batch processing code, this group program code comprises at least one operating system as the aforementioned or just like the program code in order to the driver that drives a CD-ROM drive, and processor 18 is the operating system program codes in this group program code maybe that are used for when carrying out this BIOS carrying out according to the state of switch 12 in this group operating system.First memory storage 14 can be a ROM (read-only memory) (ROM) 14, second memory storage 16 can be a Winchester disk drive 16, first area 26 is to be positioned at 512 the most preceding byte places of Winchester disk drive 16, and second area 28 is to be positioned at 26 back, first area (usually second area 28 back have a data field, after processor is carried out the pairing operating system of the 2nd MBR, can do to handle arbitrarily to the data in the data field of second area 28 back, and also have a data field between first area 26 and the second area 28, after processor is carried out the pairing operating system of a MBR, can do to handle arbitrarily to the data in this data field between first area 26 and second area 28, but can not do to handle arbitrarily) the data field of second area 28 back.
See also Fig. 3, Fig. 3 is the process flow diagram of the method 200 of computing machine 10 starts in one embodiment of the invention, and method 200 comprises the following step:
Step 202: beginning;
Step 204: open computing machine 10;
(processor 18 is carried out this BIOS immediately)
Step 206: this BIOS carries out a POST, if all hardware device in the computing machine 10 all moves normally, carry out step 208, otherwise, carry out step 298;
Step 208: the state of detector switch 12, if switch 12 is to be in a predetermined state, carry out step 210, otherwise, carry out step 211;
(this BIOS comprises SET Features Enable Address Offset Mode instruction, being used for a pointer (pointer) is upgraded (offset) is a precalculated position, this BIOS is when switch is in this predetermined state, and this pointer is updated to this precalculated position)
Step 210: carry out the program code in this group program code, carry out step 212;
Step 211: carry out the operating system in this group operating system, carry out step 212;
Step 212: will organize in the program code program code maybe the operating system in this group operating system be copied among this RAM (normally copy to the address is the storage space place of 07c00h among this RAM);
Step 298: finish.
(so far, part hardware unit in the computing machine 10 is irregular operating (being undertaken so far by step 206), perhaps, application program in the computing machine 10 can see through an API and utilize this operating system, and the user of computing machine 10 can see through user's interface directly with this operating system interaction, again or the user of computing machine 10 can see through the operation that this driver drive a CD-ROM drive)
In one embodiment of this invention, switch 12 is to be positioned on housing 24 surfaces of computing machine 10, and accordingly, the pairing program code of the 2nd MBR then can be a driver that is used for driving a video-audio playing device in the computing machine 10.Yet, switch 12 also can be arranged in the housing 24 of computing machine 10, accordingly, the pairing program code of the 2nd MBR then can be a required maintenance driver when being used for maintenance computer 10, also promptly only the maintenance personal of computing machine 10 can open housing 24 and utilize switch 12 to carry out this maintenance driver.
Compared to existing method for starting computer, method of the present invention is the diverse location that two groups of MBR is stored in a Winchester disk drive, one of them position is the 0th magnetic track place that general Winchester disk drive is used for storing a MBR, another is then in first back, MBR region, thus, start virus just can't find second MBR, also just can't destroy this computing machine.In addition, also comprise in the method for the present invention a switch is arranged on the housing of this computing machine or in the housing, the processor in this computing machine can be carried out the pairing operating system of one the one MBR or pairing operating system of one the 2nd MBR or driver according to the state selectivity ground of this switch.
The above only is one embodiment of the invention, and all equalizations of doing according to claims of the present invention change and modify, and all should belong to the covering scope of patent of the present invention.
Claims (17)
1. the method for a computer booting, this method comprises:
This computing machine one Winchester disk drive and switch is provided;
In the first area of this Winchester disk drive, this first main startup record is corresponding to one group of operating system with the one first main recording storage that starts, and this group operating system comprises at least one operating system;
In the second area of this Winchester disk drive, this second main startup record is corresponding to the batch processing code with the one second main recording storage that starts, and this group program code comprises at least one program code;
Open this computer system; And
Detect the state of this switch, and be when being in a predetermined state, carry out the program code in this group program code detecting this switch, otherwise, the operating system in this group operating system carried out.
2. the method for claim 1, wherein this program code comprises an operating system.
3. the method for claim 1, wherein this program code comprises a driver.
4. the method for claim 1, wherein this first area is to be positioned at 512 the most preceding bytes of this Winchester disk drive magnetic track.
5. the method for claim 1, wherein this second area is to be positioned at this back, first area.
6. the method for claim 1, it also comprises:
This computing machine one housing is provided.
7. method as claimed in claim 6, it also comprises:
This switch is arranged on the surface of this housing.
8. method as claimed in claim 6, it also comprises:
This switch is arranged in this housing.
9. computing machine, it comprises:
One switch;
One first memory storage stores a basic input/output program code;
One second memory storage, store the one first main record that starts in a first area, this first main startup record is corresponding to one group of operating system, this group operating system comprises at least one operating system, this second memory storage stores the one second main record that starts at a second area in addition, this second main startup record is corresponding to the batch processing code, and this group program code comprises at least one program code; And
One processor is used for when carrying out this basic input/output program code, carries out the operating system program code in this group program code maybe in this group operating system according to the state of this switch.
10. computing machine as claimed in claim 9, wherein this first memory storage is a ROM (read-only memory).
11. computing machine as claimed in claim 9, wherein this second memory storage is a Winchester disk drive.
12. computing machine as claimed in claim 11, wherein this first area is to be positioned at 512 the most preceding bytes of this Winchester disk drive magnetic track.
13. computing machine as claimed in claim 9, wherein this second area is to be positioned at this back, first area.
14. computing machine as claimed in claim 9, wherein this program code comprises an operating system.
15. computing machine as claimed in claim 9, wherein this program code comprises a driver.
16. computing machine as claimed in claim 9, wherein this computing machine also comprises a housing, and this switch is to be arranged in this housing.
17. computing machine as claimed in claim 9, wherein this computing machine also comprises a housing, and this switch is to be arranged on the surface of this housing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03158935 CN1595354A (en) | 2003-09-12 | 2003-09-12 | Computer starting-up method and related computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03158935 CN1595354A (en) | 2003-09-12 | 2003-09-12 | Computer starting-up method and related computer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1595354A true CN1595354A (en) | 2005-03-16 |
Family
ID=34660551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 03158935 Pending CN1595354A (en) | 2003-09-12 | 2003-09-12 | Computer starting-up method and related computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1595354A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100417316C (en) * | 2002-12-16 | 2008-09-03 | 西门子公司 | Method and apparatus for applying a glue layer on flat components and mounting device for placing flat components |
CN100432934C (en) * | 2005-07-04 | 2008-11-12 | 英特维数位科技股份有限公司 | Fremwork of starting applied programe for computer system and method therefor |
CN100547548C (en) * | 2005-07-14 | 2009-10-07 | 光宝科技股份有限公司 | Method for realizing graphic user interface during period of turn-on and computer system |
CN108595122A (en) * | 2018-04-25 | 2018-09-28 | 银川华联达科技有限公司 | A kind of computer security management system based on LAN |
CN114691229A (en) * | 2020-12-14 | 2022-07-01 | 北京奇艺世纪科技有限公司 | Application program self-starting method and device and electronic equipment |
-
2003
- 2003-09-12 CN CN 03158935 patent/CN1595354A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100417316C (en) * | 2002-12-16 | 2008-09-03 | 西门子公司 | Method and apparatus for applying a glue layer on flat components and mounting device for placing flat components |
CN100432934C (en) * | 2005-07-04 | 2008-11-12 | 英特维数位科技股份有限公司 | Fremwork of starting applied programe for computer system and method therefor |
CN100547548C (en) * | 2005-07-14 | 2009-10-07 | 光宝科技股份有限公司 | Method for realizing graphic user interface during period of turn-on and computer system |
CN108595122A (en) * | 2018-04-25 | 2018-09-28 | 银川华联达科技有限公司 | A kind of computer security management system based on LAN |
CN114691229A (en) * | 2020-12-14 | 2022-07-01 | 北京奇艺世纪科技有限公司 | Application program self-starting method and device and electronic equipment |
CN114691229B (en) * | 2020-12-14 | 2023-09-26 | 北京奇艺世纪科技有限公司 | Application program self-starting method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7519806B2 (en) | Virtual partition for recording and restoring computer data files | |
JP6221086B2 (en) | System operating system boot, prefetch controller, storage device, method, program, and computer-readable recording medium performed using prefetch technology | |
KR101903818B1 (en) | Virtual disk storage techniques | |
JP6050262B2 (en) | Virtual disk storage technology | |
KR101484358B1 (en) | Systems and methods for booting a bootable virtual storage appliance on a virtualized server platform | |
US6963951B2 (en) | Partition recovery method | |
CN102272734B (en) | Method and system for hibernation or suspend using a non-volatile-memory device | |
US20160253201A1 (en) | Saving and Restoring State Information for Virtualized Computer Systems | |
US8171278B2 (en) | Booting a computer system from central storage | |
KR20140018316A (en) | Virtual disk storage techniques | |
CN1049731A (en) | Reduce the apparatus and method of BIOS memory space among the personal computer system | |
TW200917123A (en) | USB flash disk for computer boot up and method of loading programs in the USB flash disk | |
CN1896915A (en) | Computer system based on key recovery function, recovery device and method | |
US20040044886A1 (en) | Partition recovery method | |
CN102968323B (en) | Terminal and the method that realizes computer system power-on acceleration | |
CN1595354A (en) | Computer starting-up method and related computer | |
US20060080518A1 (en) | Method for securing computers from malicious code attacks | |
CN1818824A (en) | High-reliable personal computer and operating system thereof | |
KR20090097171A (en) | Portable multi-platform booting systems and architectures | |
US20050050313A1 (en) | Method of turning on a computer | |
JP7004478B2 (en) | Information processing equipment, information processing methods and information processing programs | |
KR19980046409A (en) | Booting method by CD-ROM drive and its device | |
CN1991787A (en) | System and method for data fast access |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |