CN1145102C - Active partitioned switching method of hard disk - Google Patents

Active partitioned switching method of hard disk Download PDF

Info

Publication number
CN1145102C
CN1145102C CNB001009362A CN00100936A CN1145102C CN 1145102 C CN1145102 C CN 1145102C CN B001009362 A CNB001009362 A CN B001009362A CN 00100936 A CN00100936 A CN 00100936A CN 1145102 C CN1145102 C CN 1145102C
Authority
CN
China
Prior art keywords
subregion
hard disk
operating system
initiatively
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
CNB001009362A
Other languages
Chinese (zh)
Other versions
CN1304091A (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.)
Mitac International Corp
Original Assignee
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 Mitac International Corp filed Critical Mitac International Corp
Priority to CNB001009362A priority Critical patent/CN1145102C/en
Publication of CN1304091A publication Critical patent/CN1304091A/en
Application granted granted Critical
Publication of CN1145102C publication Critical patent/CN1145102C/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 an active partitioned switching method of hard disk. Firstly, a main guiding record is put in a system memory by a hard disc, wherein the hard disc is divided into a plurality of partitions, and each partition is provided with an operating system. Subsequently, one of the partitions is selected as a driving partition, and the main guiding record in the system memory is then updated according to the selected driving partition. Afterwards, the active guiding record is written back to the disc, and the updated main guiding record is put in the operating system through the driving partition.

Description

Hard disk is the changing method of subregion initiatively
Technical field
The present invention is relevant for computer technology, particularly relevant for a kind of hard disk changing method of subregion (activepartition) initiatively.
Background technology
In the production of computer system process; needs according to test; is several subregions (partition) through regular meeting with hard disk partition, and installs respectively such as different operating systems (Operating System) such as Chinese edition Windows 95 or English edition Windows, OS2.If desire to switch to another kind of operating system when starting the operating system (booting OS) by a kind of operating system, previous methods must be used plug-in operating system to load program (OS loader) or utilize execute file FDISK.exe, after choosing the active subregion, start again again.But this previous methods is for the tester, and is very inconvenient.
Summary of the invention
Therefore, purpose of the present invention is to provide the initiatively changing method of subregion of a kind of hard disk, is to solve the problem that previous methods brings inconvenience to the tester with form of firmware.
For achieving the above object, the present invention by provide a kind of hard disk that is undertaken by the BIOS of form of firmware initiatively the changing method of subregion finish.According to the changing method of this hard disk active subregion, at first, pack a Main Boot Record (master boot record) into to a system storage from a hard disk, wherein, hard disk is divided into a plurality of subregions already, and each subregion all is equipped with an operating system.Then, one of select in the subregion as a subregion initiatively.Then, according to selected active subregion, the Main Boot Record in the update system storer.Then, the Main Boot Record after upgrading write back disk after, according to the Main Boot Record after upgrading from subregion loading of operating system initiatively.
Therefore, changing method according to hard disk active subregion of the present invention, be that BIOS with form of firmware (firmware-base) carries out, so when the tester desires to switch to another operating system by an operating system, do not need to save operational inconvenience with plug-in operating system load program (OS loader) or execute file FDISK.exe.
Description of drawings
For above-mentioned and other purposes of the present invention, characteristic and advantage can be become apparent, a preferred embodiment cited below particularly, and conjunction with figs. elaborate.
Fig. 1 is the process flow diagram that shows the loading of operating system according to the present invention; And
Fig. 2 is the schematic block diagram of a conventional computer system configuration.
Wherein:
20~central processing unit; 21~regional bus; 22~system storage; 23~core logic circuit; 24~system bus; 25~input/output interface; 26A~floppy drive; 26B~Winchester disk drive; 27~input media; 28~display; And, 29~nonvolatile memory.
Embodiment
Embodiment:
Please refer to Fig. 2, be depicted as the configuration schematic block diagram of a conventional computer system.Among Fig. 2, label 20 is represented a central processing unit (CPU), is responsible for the control operation of whole computer system.This central processing unit 20 carries out data transmission via a regional bus 21 and 23 of a system storage (being made up of dynamic RAM) 22 and one core logic circuits.This core logic circuit 23 is commonly referred to as north bridge (north bridge) wafer under socket-7 or slot-1 configuration.And core logic circuit 23 is via a system bus 24 and input/output interface card 25, and connects a floppy drive 26A, a Winchester disk drive 26B and input medias (such as Genius mouse, keyboard etc.) 27 with input/output interface card 25.Among Fig. 2, be that a pci bus, an isa bus and a PCI-ISA bridge are represented with system bus 24 simply.Moreover label 28 is represented a display, and this display 28 is coupled to core logic circuit 23 via system bus 24, shows according to the video data that stores up in the video RAM (not shown).
In computer system, can define the executable running of computer and how carry out these runnings with one group of built-in firmware (firmware) routine, this firmware routine is to be stored in the nonvolatile memory (for example ROM (read-only memory) or flash memory etc.) 29, is commonly referred to as basic input/output (hereinafter being called for short with BIOS).
When computer system boot-strap, BIOS can carry out start selftest (Power On Self Test is called for short with POST usually).At this moment, BIOS can do one relatively with result and the interior every data setting that stores up of CMOS memory (not shown) tested, represents that then system is normal if conform to, and square loading of operating system (OS) carries out operations for the user.If the storage data are not inconsistent in test result and the CMOS memory, then the user just must enter the setting program of BIOS, revises the content of related data, and write back store in the CMOS memory after, restart computer system again, can operate for the user by loading of operating system.
According to the present invention, be after BIOS carries out the start selftest, show that all partition informations give the user in the present hard disk, select one of them as the active subregion through the user, then, according to user's selection, by computer system change boot sector (boot sector), the required operating system of packing into of starting shooting.
Please refer to the 1st figure, be depicted as the process flow diagram of loading of operating system according to the present invention.At first, after step 1 is carried out the start selftest, carry out step 2, judge whether it is by floppy drive 26A loading of operating system, if then carry out step 3, from floppy drive 26A through input/output interface 25, system bus 24, core logic circuit 23, regional bus 21 etc., boot sector pack into to place, the 07C0:0 address of system storage 22, then, transmit control (CS:IP) in step 4 and locate to the 07C0:0 address.
If know in step 2 and non-ly then carry out step 5 by floppy drive 26A loading of operating system, judge whether it is by Winchester disk drive 26B loading of operating system, if not, then carry out step 6, send error message.
Need be if know by Winchester disk drive 26B loading of operating system in step 5, then carry out step 7, through input/output interface 25, system bus 24, core logic circuit 23, regional bus 21 etc., the Main Boot Record of packing into is to the place, 07C0:0 address of system storage 22 from Winchester disk drive 26B.Then, carry out step 8, on display 28, demonstrates fdisk information, and in step 9 by the user via input media 27, select one of them as the active subregion.Then, in step 10 is selected Main Boot Record in the update system storer 22 according to the user after, the Main Boot Record of upgrading is write back Winchester disk drive 26B place in step 11.Then, carry out step 4, transmit control (CS:IP), finish the initiatively changing method of subregion of hard disk of the present invention to place, 07C0:0 address.
Though the present invention has done announcement as mentioned above with preferred embodiment; but this embodiment is not in order to limit the present invention; any those skilled in the art; do not break away from the spirit and scope of the present invention; when can doing many changes and modification, so protection scope of the present invention should be as the criterion by attached later on claims restricted portion.

Claims (4)

1. a hard disk that is undertaken by the BIOS of the form of firmware changing method of subregion initiatively is characterized in that, comprises the following steps:
(a) from hard disk Main Boot Record to a system storage of packing into, wherein, this hard disk is divided into a plurality of subregions already, and each described subregion all is equipped with an operating system;
(b) one of select in the described subregion as a subregion initiatively;
(c), upgrade the described Main Boot Record in this system storage according to selected described active subregion;
(d) the described Main Boot Record after will upgrading writes back described disk; And
(e) according to the described Main Boot Record after upgrading from the described active subregion described operating system of packing into.
2. hard disk as claimed in claim 1 is the changing method of subregion initiatively, it is characterized in that, Main Boot Record described in the step (a) is the place, 07C0:0 address that is loaded to described system storage.
3. hard disk as claimed in claim 1 is the changing method of subregion initiatively, it is characterized in that, step (b) is to select described active subregion with user's interface for a user.
4. hard disk as claimed in claim 1 is the changing method of subregion initiatively, it is characterized in that, step (e) is to transmit the place, 07C0:0 address that is controlled to described system storage.
CNB001009362A 2000-01-07 2000-01-07 Active partitioned switching method of hard disk Expired - Fee Related CN1145102C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001009362A CN1145102C (en) 2000-01-07 2000-01-07 Active partitioned switching method of hard disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001009362A CN1145102C (en) 2000-01-07 2000-01-07 Active partitioned switching method of hard disk

Publications (2)

Publication Number Publication Date
CN1304091A CN1304091A (en) 2001-07-18
CN1145102C true CN1145102C (en) 2004-04-07

Family

ID=4575739

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001009362A Expired - Fee Related CN1145102C (en) 2000-01-07 2000-01-07 Active partitioned switching method of hard disk

Country Status (1)

Country Link
CN (1) CN1145102C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401255C (en) * 2005-12-05 2008-07-09 英业达股份有限公司 Computer platform inlaid operation system switch-over processing method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401255C (en) * 2005-12-05 2008-07-09 英业达股份有限公司 Computer platform inlaid operation system switch-over processing method and system

Also Published As

Publication number Publication date
CN1304091A (en) 2001-07-18

Similar Documents

Publication Publication Date Title
US6012130A (en) Method and apparatus for automated disk drive upgrades
US5715456A (en) Method and apparatus for booting a computer system without pre-installing an operating system
US7024549B1 (en) Disk drive having a protected partition configured to load an operating system for performing a user-selected function
JP2625643B2 (en) How to install software applications reversibly
US6138179A (en) System for automatically partitioning and formatting a primary hard disk for installing software in which selection of extended partition size is not related to size of hard disk
KR101121641B1 (en) Apparatus and method for controlling operation of system
US6944867B2 (en) Method for providing a single preloaded software image with an ability to support multiple hardware configurations and multiple types of computer systems
EP1378830B1 (en) Operating system selector and data storage drive
EP0658843A1 (en) Method for hibernation file creation
US20080098381A1 (en) Systems and methods for firmware update in a data processing device
KR101555210B1 (en) Apparatus and method for downloadin contents using movinand in portable terminal
US20190340083A1 (en) Configurable recovery states
WO2006040758A2 (en) Adaptive booting from mass storage device
JP2000222179A (en) Computer system and method for operating computer system
US6526493B1 (en) Method and apparatus for partitioning and formatting a storage media without rebooting by creating a logical device control block (DCB) on-the-fly
US20030233536A1 (en) Automatic selection of firmware for a computer that allows a plurality of process types
US6470446B1 (en) Method for preparing computer hard disks during installation of a network operating system
US8365159B2 (en) Apparatus and method to update code in an information storage and retrieval system while that system remains in normal operation
CN1145102C (en) Active partitioned switching method of hard disk
US6880077B2 (en) Enabling communication between video BIOS and graphics drivers
CN110618828A (en) Data updating method and device
US20190339901A1 (en) Free space pass-through
US20090049292A1 (en) Computer with Extensible Firmware Interface Implementing Parallel Storage-Device Enumeration
KR20100050098A (en) Image processing apparatus and control method thereof
CN1610894A (en) Method and apparatus for modifying the contents of a revision identification register

Legal Events

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