CA2020522C

Apparatus and method for loading bios from a diskette in a personal computer system

Abstract

ABSTRACT An apparatus and method for loading BIOS from a diskettedrive into a personal computer system normally connectedto a hardfile, such as a fixed disk. The personalcomputer system further includes a system processor, arandom access main memory, a read only memory and aswitching means. The switching means generates a signalto indicate a mode for whether BIOS loads from eitherdiskette or disk. In a priority mode, BIOS loadsimmediately from diskette. In a recovery mode, BIOSloads from diskette after testing the disk subsystem. The read only memory includes a first portion of BIOS anddata representing the type of system processor and systemplanar I/O configuration. The first portion of BIOSinitializes the system and queries the switching means. If the fixed disk is not available or the master bootrecord on the disk is invalid, the first portion of BIOSreads in a master boot record from the diskette drive. For either mode, the master boot record includes a datasegment and an executable code segment. The data segmentincludes data representing system hardware and a systemconfiguration which is supported by the master bootrecord. The first BIOS portion transfers control to theexecutable code segment which confirms the master bootrecord is compatible with the system hardware byverifying that the data from the data segment of themaster boot record agrees with the system processor,system planar, and planar I/O configuration. If the master boot record is compatible with the systemhardware, the executable code segment confirms that thesystem configuration has not changed and loads in theremaining BIOS portion from the diskette drive intorandom access memory. The executable code segment thenverifies the authenticity of the remaining BIOS portionand vectors the system processor to begin executing the BIOS now in random access memory. BIOS, executing inrandom access memory, then boots up the operating systemto begin operation of the personal computer system.

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Granted
  4. Today

32 claims: 8 independent, 24 dependent

  1. 1
    The embodiments of the invention in which an exlcusive property or privilege is claimed or defined as follows:1. An apparatus for loading BIOS from diskette media included in a diskette drive for a personal computer system normally connected to a hardfile, the personal computer system having a system processor, a read only memory, a random access memory and the diskette drive, said apparatus comprising: a first portion of BIOS resident in the read only memory, said first portion of BIOS initializing the system;a master boot record included in the diskette media, said master boot record including an executable code segment;means for producing a signal, said signal being representative of loading BIOS from the diskette drive;means being responsive to said signal, said signal responding means determining if BIOS is to be loaded from the diskette drive or hardfile, wherein if BIOS is to be loaded from the diskette media, said first portion of BIOS initializes the diskette drive to effect the loading of said master boot record into the random access memory;a remaining portion of BIOS being included in the diskette media, wherein said first portion of BIOS transfers control to the executable code segment of the master boot record in order to effect the loading of the remaining portion of BIOS into the random access memory.
  2. 8
    The apparatus of claim 7, wherein the data segment of the master boot record includes a value representing the system planar which is compatible with the master boot record and further wherein the system planar further includes a means for uniquely identifying the system planar in order to verify that the master boot record is compatible to the system planar.
  3. 12
    An apparatus for loading BIOS from diskette media included in a diskette drive for a personal computer system normally connected to a hardfile, the personal computer system further having a system processor electrically coupled to a read only memory, random access memory and nonvolatile memory, said apparatus comprising:a first portion of BIOS resident in the read only memory, said first portion of BIOS initializing the system and determining if the hardfile is operational;26 a master boot record included in the diskette media, said master boot record including an executable code segment;a password normally included in the nonvolatile memory, wherein upon determining if the hardfile is non-operational and said password is not detected, said first portion of BIOS initializes the diskette drive to read in said master boot record;and a remaining portion of BIOS being included in the diskette media, wherein the first portion of BIOS transfers control to the executable code segment of the master boot record in order to effect the loading of the remaining portion of BIOS into the random access memory.
  4. 14
    The apparatus of claim 13, wherein the data segment of the master boot record includes a value representing system planar which is compatible with the master boot record and further wherein the system planar further includes a means for uniquely identifying the system planar in order to verify that the master boot record is compatible to the system planar.
  5. 26
    A personal computer system comprising:a system processor;a random access memory being the main memory and electrically coupled to the system processor;a diskette drive being electrically coupled to the system processor, the diskette drive capable of storing a plurality of data records;a master boot record included in the diskette drive, the master boot record having a data segment and an executable code segment, the data segment representing a hardware configuration of the personal computer system which is compatible with said master boot record;a read only memory being electrically coupled to the system processor, the read only memory having data representing a hardware configuration of the system;29 a first portion of BIOS being included in the read only memory, said first portion of BIOS initializing the system and the diskette drive to load in said master boot record and transferring control to said executable code segment, said executable code segment further comparing the hardware configuration data from the master boot record to the hardware configuration data of the read only memory to verify the compatibility of the master boot record with the system processor;a remaining portion of BIOS being included in the diskette drive, wherein, after verifying the compatibility of the master boot record with the system processor, executable code segment loads the remaining portion of BIOS into the random access memory.
  6. 27
    The apparatus of claim 26 further including:a system planar board being electrically coupled to the system processor, wherein the data segment of the master boot record includes a value representing a system planar being compatible with the master boot record and further wherein the system planar further includes a means for uniquely identifying the system planar in order to verify the compatibility of the master boot record to the system planar.
  7. 30
    A method for loading BIOS from a diskette drive in a personal computer system normally connected to a hardfile, the personal computer system having a system processor electrically coupled to a system planar, the planar further being electrically coupled to a read only memory , random access memory and nonvolatile memory, said method comprising the steps of:(a) initializing the system with a first portion of BIOS resident in the read only memory;(b) determining if the hardfile is present;(c) in the absence of the hardfile, searching the nonvolatile memory for a password;(d) upon detecting the absence of the password, initializing with the first portion of BIOS the diskette drive having a master boot record and the remaining BIOS;(c) loading with the first portion of BIOS the master boot record into random access memory, the master boot record including a data segment and an executable code segment, the data segment having data representing the hardware configuration of the system for which the remaining BIOS is compatible;(d) verifying the compatibility of the master boot record with the system hardware by comparing from the data segment the data representing the hardware configuration record to corresponding data stored in read only memory;
  8. 31
    31 (e) executing the code segment of the master boot record to load the remaining BIOS code into main memory; and (f) passing control to the remaining BIOS code once it is loaded into main memory. 31. The method of claim 30, wherein step (d) of verifying further includes the steps of:(g) verifying that the boot record is compatible with the planar by comparing a planar ID accessible by the system processor with a planar ID value stored in the data segment of the boot record;and (h) verifying that the boot record is compatible with the system processor by comparing respectively model and submodel values stored in read only memory with model and submodel values stored in the data segment of the boot record.