Movatterモバイル変換


[0]ホーム

URL:


CN1145102C - Hard disk active partition switching method - Google Patents

Hard disk active partition switching method
Download PDF

Info

Publication number
CN1145102C
CN1145102CCNB001009362ACN00100936ACN1145102CCN 1145102 CCN1145102 CCN 1145102CCN B001009362 ACNB001009362 ACN B001009362ACN 00100936 ACN00100936 ACN 00100936ACN 1145102 CCN1145102 CCN 1145102C
Authority
CN
China
Prior art keywords
subregion
hard disk
boot record
operating system
initiatively
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 CorpfiledCriticalMitac International Corp
Priority to CNB001009362ApriorityCriticalpatent/CN1145102C/en
Publication of CN1304091ApublicationCriticalpatent/CN1304091A/en
Application grantedgrantedCritical
Publication of CN1145102CpublicationCriticalpatent/CN1145102C/en
Anticipated expirationlegal-statusCritical
Expired - Fee Relatedlegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

A switching method for hard disk active partition. First, a main boot record is loaded from a hard disk to a system memory, wherein the hard disk is divided into a plurality of partitions, and each partition is installed with an operating system. Then, one of the partitions is selected as an active partition. The master boot record in system memory is then updated according to the selected active partition. And then, after the updated master boot record is written back to the disk, loading the master boot record from the active partition into the operating system according to the updated master boot record.

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 outstep 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 outstep 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, instep 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)

CNB001009362A2000-01-072000-01-07Hard disk active partition switching methodExpired - Fee RelatedCN1145102C (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CNB001009362ACN1145102C (en)2000-01-072000-01-07Hard disk active partition switching method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CNB001009362ACN1145102C (en)2000-01-072000-01-07Hard disk active partition switching method

Publications (2)

Publication NumberPublication Date
CN1304091A CN1304091A (en)2001-07-18
CN1145102Ctrue CN1145102C (en)2004-04-07

Family

ID=4575739

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CNB001009362AExpired - Fee RelatedCN1145102C (en)2000-01-072000-01-07Hard disk active partition switching method

Country Status (1)

CountryLink
CN (1)CN1145102C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN100401255C (en)*2005-12-052008-07-09英业达股份有限公司Switching processing method and system for embedded operating system of computer platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN100401255C (en)*2005-12-052008-07-09英业达股份有限公司Switching processing method and system for embedded operating system of computer platform

Also Published As

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

Similar Documents

PublicationPublication DateTitle
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
USRE40092E1 (en)Method for quickly booting a computer system
US6532538B1 (en)Method and system for supporting multiple operating systems on the same disk running on different computers at the same time
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
US6944867B2 (en)Method for providing a single preloaded software image with an ability to support multiple hardware configurations and multiple types of computer systems
JPH0728631A (en)Method and system that install software application reversibly
EP0658843A1 (en)Method for hibernation file creation
US20080098381A1 (en)Systems and methods for firmware update in a data processing device
US6658563B1 (en)Virtual floppy diskette image within a primary partition in a hard disk drive and method for booting system with virtual diskette
US10592354B2 (en)Configurable recovery states
KR101555210B1 (en)Apparatus and method for downloadin contents using movinand in portable terminal
EP1378830A1 (en)Operating system selector and data storage drive
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
US6470446B1 (en)Method for preparing computer hard disks during installation of a network operating system
CN1145102C (en)Hard disk active partition switching method
US6880077B2 (en)Enabling communication between video BIOS and graphics drivers
US10564894B2 (en)Free space pass-through
CN101673242A (en)Method and device for formatting hard disk
KR20100050098A (en)Image processing apparatus and control method thereof
CN112540889B (en)Method, device, equipment and medium for adjusting hard disk starting sequence in user mode
CN1610894A (en)Method and apparatus for modifying the contents of a revision identification register
TWI870753B (en)Method and related equipment for drive management of storage controller
TWI841160B (en)Method and related equipment for drive management of storage controller

Legal Events

DateCodeTitleDescription
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C06Publication
PB01Publication
C14Grant of patent or utility model
GR01Patent grant
C19Lapse of patent right due to non-payment of the annual fee
CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp