[go: up one dir, main page]

DE10337856A1 - Method for starting a computer system with a storage medium - Google Patents

Method for starting a computer system with a storage medium Download PDF

Info

Publication number
DE10337856A1
DE10337856A1 DE2003137856 DE10337856A DE10337856A1 DE 10337856 A1 DE10337856 A1 DE 10337856A1 DE 2003137856 DE2003137856 DE 2003137856 DE 10337856 A DE10337856 A DE 10337856A DE 10337856 A1 DE10337856 A1 DE 10337856A1
Authority
DE
Germany
Prior art keywords
storage medium
computer system
bus
semiconductor
bus system
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.)
Ceased
Application number
DE2003137856
Other languages
German (de)
Inventor
Thorsten Hoehnke
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.)
Fujitsu Technology Solutions GmbH
Original Assignee
Fujitsu Technology Solutions GmbH
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 Fujitsu Technology Solutions GmbH filed Critical Fujitsu Technology Solutions GmbH
Priority to DE2003137856 priority Critical patent/DE10337856A1/en
Priority to EP04762545A priority patent/EP1656613A2/en
Priority to PCT/DE2004/001700 priority patent/WO2005017747A2/en
Publication of DE10337856A1 publication Critical patent/DE10337856A1/en
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

Die Erfindung betrifft ein Verfahren zum Starten eines Computersystems (3) mit einem halbleiterbasierten Speichermedium (1), das mit dem Computersystem (3) über ein Bussystem (2) verbunden ist und das Bussystem (2) eine Treibersoftware (5) zum Betrieb mit dem Computersystem (3) benötigt, und der Startvorgang des Computersystems (3) in verschiedene, nacheinander ablaufende N + M Einzelvorgänge teilbar ist, wovon ein Einzelvorgang N + 1 das Laden der Treibersoftware (5) für das Bussystem (2) ist. Ein zeitlich vor dem Einzelvorgang des Ladens der Treibersoftware (5) gelegener Einzelvorgang N speichert alle zum Betrieb des halbleiterbasierten Speichermediums (1) notwendigen Informationen in einem vorbestimmten Speicherbereich des Computersystemspeichers (4) ab.The invention relates to a method for starting a computer system (3) with a semiconductor-based storage medium (1) which is connected to the computer system (3) via a bus system (2) and the bus system (2) has driver software (5) for operation with the Computer system (3) is required, and the starting process of the computer system (3) is divisible into different, successive N + M individual operations, of which a single operation N + 1 is the loading of the driver software (5) for the bus system (2). An individual process N located before the individual operation of loading the driver software (5) stores all information necessary for operating the semiconductor-based storage medium (1) in a predetermined memory area of the computer system memory (4).

Description

Die Erfindung betrifft ein Verfahren zum Starten eines Computersystems mit einem Speichermedium, das mit dem Computersystem über ein Bussystems verbunden ist, und das Bussystem eine Treibersoftware zum Betrieb mit dem Computersystem benötigt.The The invention relates to a method for starting a computer system with a storage medium that connects to the computer system Bus system is connected, and the bus system driver software needed for operation with the computer system.

Im Computerbereich, insbesondere im Bereich des Personalcomputers, breiten sich mobile Datenträger aufgrund ihrer Praktikabilität und Vielseitigkeit immer mehr aus und finden zunehmend Verwendung in den verschiedensten Bereichen. Diese mobilen Datenträger sind Speichermedien, auch oftmals halbleiterbasierte Speichermedien, wie zum Beispiel Memory-Sticks, und sind über Bussysteme wie zum Beispiel USB (universal serial bus) leicht an ein Computersystem anschließbar. Dies führt dazu, daß manche Hersteller von Computersystemen bereits dazu übergehen durch diese Datenträger andere, bisher übliche Datenträger wie zum Beispiel Floppydisks und deren Laufwerke zu ersetzen.in the Computer sector, especially in the field of personal computers, spread mobile data media because of their practicability and versatility and more and more use in different areas. These are mobile disks Storage media, also often semiconductor-based storage media, like memory sticks, and are over Bus systems such as USB (universal serial bus) easily connected to a Computer system can be connected. this leads to to some Manufacturers of computer systems already pass to others through these data carriers, previously common disk such as replacing floppy disks and their drives.

Soll nun ein Computersystem von einem anderem Datenträger als zum Beispiel der Festplatte oder einer CD gestartet werden, so werfen sich hier Probleme auf. Aufgrund des Verzichts auf Floppydisklaufwerke steht kein anderes Laufwerk zum Starten des Computersystems zur Verfügung. Es muß dann von einem Speichermedium, zum Beispiel einem halbleiterbasiertem Speichermedium, zum Beispiel einem Memorystick gestartet werden. Die damit verbundenen Schwierigkeiten sind in der Druckschrift "Hols von Stöckchen" von Schmidt, J. und Vahldiek, A., c't 2003 Heft 13, Seite 208–210, ausführlich beschrieben. Dort sind zwar Möglichkeiten aufgezeigt wie mit bestimmten Betriebssystemen und bestimmten mobilen Datenträgern das Booten eines Computersystems zu bewerkstelligen ist. Es ist dar in aber auch beschrieben, mit welchen Schwierigkeiten und Einschränkungen ein solches Vorhaben belegt ist. Nur einzelne Kombinationen von bestimmten Betriebssystemen mit bestimmten Datenträgern oder Speichermedien lassen ein solches Vorhaben überhaupt und unter großen Schwierigkeiten zu.Should now a computer system from a different medium than for example the hard disk or If you start a CD, problems arise here. by virtue of the omission of Floppydisklaufwerke is not another drive to start the computer system. It must then be from a storage medium, for example, a semiconductor-based storage medium, for example a Memorystick be started. The associated difficulties are in the publication "Hols von Stöckchen "by Schmidt, J. and Vahldiek, A., c't 2003 Issue 13, page 208-210, in detail described. There are possibilities shown as with certain operating systems and certain mobile disks Booting a computer system is to accomplish. It is but also described in what difficulties and limitations such a project is proven. Only single combinations of certain operating systems with certain media or storage media let such a project at all and under big ones Difficulties too.

In der Druckschrift US 2003/0005278 A1 ist allgemein eine Vorgehensweise beziehungsweise ein Verfahren in Verbindung mit einem halbleiterbasierten Speichermedium beschrieben, mit dem ein Computersystem zu starten ist. Nicht beschrieben ist in Druckschrift US 2003/0005278 A1 das Starten über halbleiterbasierte Speichermedien die an ein Bussystem, wie zum Beispiel USB, angeschlossen und darüber mit einem Computersystem, auch trennbar, verbunden sind. Hier entsteht die Problematik, daß das Laden der Treibersoftware für das Bussystem ein Teil des Startvorgangs des gesamten Computersystems ist. Bei diesem Teilvorgang erfolgt eine Reinitialisierung sämtlicher an das Bussystem angeschlossenen Laufwerke, Datenträger und Geräte. Dies führt, geht man gemäß Druckschrift US 2003/0005278 A1 vor dazu, daß zu diesem Augenblick der Startvorgang des Computersystems mit einem Totalabsturz des Computersystems endet und nicht mehr weiter durchführbar ist.In Document US 2003/0005278 A1 is generally a procedure or a method in connection with a semiconductor-based Storage medium described with which to start a computer system is. Not described in document US 2003/0005278 A1 the Start over semiconductor-based storage media connected to a bus system, such as Example USB, connected and above with a computer system, also separable, are connected. Here arises the problem that the loading the driver software for the bus system is part of the boot process of the entire computer system is. In this sub-process, a reinitialization of all drives, data carriers and devices connected to the bus system Equipment. This leads, you go according to the publication US 2003/0005278 A1 before that to this moment the booting of the computer system with a Total crash of the computer system ends and is no longer feasible.

Es ist die Aufgabe der Erfindung, ein Verfahren vorzuschlagen, womit das Starten eines Computersystems von einem Speichermedium auch dann möglich ist, wenn dieses über ein Bussystem an das Computersystem angeschlossen ist, und wenn das Bussystem zur Kommunikation beziehungsweise zum Betrieb mit dem Computersystem eine Treibersoftware benötigt.It The object of the invention to propose a method, which Starting a computer system from a storage medium too then possible if this is over a bus system is connected to the computer system, and when the bus system for communication or for operation with the computer system requires a driver software.

Diese Aufgabe wird durch das im Patentanspruch 1 beschriebene Verfahren gelöst und durch die untergeordneten Patentansprüche vorteilhaft weitergebildet.These The object is achieved by the method described in claim 1 solved and further developed by the subordinate claims advantageous.

Beim Starten eines Computersystems über ein Speichermedium oder ein halbleiterbasiertes Speichermedium, ist es erforderlich, alle Daten, die zum Starten des Computersystems erfor derlich sind, in einem Speicher des Speichermediums oder des halbleiterbasierten Speichermediums zu speichern. Bei einem Startvorgang werden diese Daten aus dem Speicher des Speichermediums oder des halbleiterbasiertem Speichermediums gelesen. Dabei wird das Speichermediums oder das halbleiterbasierte Speichermedium wie ein physikalisches Laufwerk verwendet und es wird durch ein BIOS (basic input output system) des Computersytems diesem "Laufwerk" ein Laufwerksbuchstabe (C, D, E,...) zugewiesen. Beim Laden einer Treibersoftware für ein Bussystem, wie zum Beispiel USB (universal serial bus) werden an das Bussystem angeschlossene Peripheriegeräte neu initialisiert. Der ursprünglich durch das BIOS zugewiesene Laufwerksbuchstabe ist somit ungültig. Grundgedanke der Erfindung ist, vor dem Laden des Treibers für das Bussystem sämtliche Informationen des Speichermediums oder des halbleiterbasierten Speichermediums in einen reservierten Speicherbereich des Arbeitsspeichers des Computersystems zu speichern und aus diesem bei Bedarf wieder herauszulesen. Bedarf dazu besteht dann, wenn durch den Treiber des Bussystems bei der Reinitialisierung aller angeschlossenen Geräte des Bussystems das Speichermediums oder das halbleiterbasierte, oder auch mobile Speichermedium erkannt wird. Durch einen Vergleich der Initialisierungsdaten erfolgt die Erkennung des Speichermediums oder des halbleiterbasiertem Speichermediums als das "Startlaufwerk", und die Eintragung des zugeordneten Laufwerksbuchstaben erfolgt entsprechend. Damit ist sichergestellt, daß der Startvorgang fortgesetzt und erfolgreich zu Ende geführt werden kann, da die Reinitialisierung für das "Startlaufwerk" umgangen wird.When starting a computer system via a storage medium or a semiconductor-based storage medium, it is necessary to store all the data required for starting the computer system in a memory of the storage medium or of the semiconductor-based storage medium. During a boot process, this data is read from the memory of the storage medium or the semiconductor-based storage medium. In this case, the storage medium or the semiconductor-based storage medium is used as a physical drive and a drive letter (C, D, E,...) Is assigned to this "drive" by a BIOS (basic input output system) of the computer system. When loading driver software for a bus system, such as USB (universal serial bus), peripherals connected to the bus system are reinitialized. The drive letter originally assigned by the BIOS is thus invalid. The basic idea of the invention is to store all information of the storage medium or of the semiconductor-based storage medium in a reserved storage area of the main memory of the computer system before loading the driver for the bus system and to read it out again therefrom if necessary. There is a need for this if the storage medium or the semiconductor-based, or else mobile storage medium is recognized by the driver of the bus system during reinitialization of all connected devices of the bus system. By comparing the initialization data, the recognition of the storage medium or the semiconductor-based storage medium takes place as the "startup drive", and the entry of the assigned one The drive letter is executed accordingly. This ensures that the boot process can be continued and successfully completed, as the reinitialization for the "boot drive" is bypassed.

In den Speicher des Speichermediums, oder des halbleiterbasierten Speichermediums oder auch des mobilen halbleiterbasiertem Speichermediums, ist erfindungsgemäß eine Masterbootrecorddatei abgelegt, und darüber hinaus sind in einem vorbestimmten Speicherbereich Daten abgelegt, die beim Startvorgang des Computersystems durch das BIOS des Computersystems den mobilen Datenträger als ein Festplattenlaufwerk ausweisen.In the memory of the storage medium, or the semiconductor-based storage medium or also the mobile semiconductor-based storage medium, according to the invention is a master boot record file filed, and above In addition, data are stored in a predetermined memory area, when booting the computer system through the BIOS of the computer system mobile data carrier as a hard disk drive.

Das Verfahren eignet sich nicht nur für Betriebssysteme, die für Bussysteme an denen verschiedene Peripheriegeräte angeschlossen sind keine eigenen Treiber benötigen, wie das beispielsweise bei DOS der Fall ist, sondern vielmehr eignet sich auch dieses Verfahren für sämtliche andere Betriebssysteme die für diese Bussysteme eigene Treiber benötigen. Dies sind zum Beispiel sämtliche Windows-Betriebssysteme wie Windows 98, Windows ME, Windows XP, Windows NT sowie auch UNIX-Betriebssysteme wie zum Beispiel LINUX und ähnliches. Ebenso ist das Verfahren prinzipiell auch für flüchtige- und nichtflüchtige halbleiterbasierte Speichermedien geeignet.The Method is not only suitable for operating systems that are for bus systems to which various peripherals are connected none need own drivers, as is the case with DOS, for example, but rather is suitable also this procedure for all other operating systems for these bus systems need their own drivers. These are for example all Windows operating systems like Windows 98, Windows ME, Windows XP, Windows NT as well as UNIX operating systems such as LINUX and the like. Likewise, the method is in principle also for volatile and nonvolatile semiconductor-based Storage media suitable.

Im folgenden ist die Erfindung anhand eines Ausführungsbeispiels unter Zuhilfenahme von drei Figuren näher beschrieben. Es zeigt:in the The following is the invention with reference to an embodiment with the aid from three figures closer described. It shows:

1 eine schematische Darstellung des Computersystems mit Bussystem und angeschlossenen Peripheriegeräten, 1 a schematic representation of the computer system with bus system and peripheral devices connected,

2 einen erfindungsgemäßen Verfahrensablauf in symbolischer Darstellung, 2 a process sequence according to the invention in symbolic representation,

3 eine schematische Darstellung des Speichermediums. 3 a schematic representation of the storage medium.

1 zeigt eine schematische Darstellung eines halbleiterbasierten Speichermediums 1, das über ein Bussystem 2 mit einem Computersystem 3 verbunden ist. Wie viele Bussysteme bietet auch dieses Bussystem die Möglichkeit, weitere halbleiterbasierte Speichermedien oder ähnliche für dieses Bussystem geeignete Peripheriegeräte anzuschließen. Dies ist in der 1 schematisch und gestrichelt dargestellt, und da nicht erfindungswesentlich, auch ohne Bezugszeichen. Das Computersystem 3 weist einen Computersystemspeicher 4 sowie eine Treibersoftware 5 zum Betrieb des Bussystems 2 auf. Der Spei cher des halbleiterbasierten Speichermediums 1 ist ebenso unterteilt in einen ersten bis dritten Speicherbereich 6, 7 und 8. In diesem ersten Speicherbereich 6 ist eine Master-Boot-Record-Datei 9 abgelegt, im zweiten Speicherbereich 7 sind alle Daten abgelegt die notwendig sind um das halbleiterbasierte Speichermedium 1 als eine Festplatte zu simulieren und im dritten vorbestimmten Speicherbereich 8 ist ein sogenannter Bootrecord hinterlegt, der einen Verweis auf den gültigen Bootloader, bei Windows PE ist das die Datei NTLDR, enthält. 1 shows a schematic representation of a semiconductor-based storage medium 1 that via a bus system 2 with a computer system 3 connected is. Like many bus systems, this bus system also offers the option of connecting additional semiconductor-based storage media or similar peripherals suitable for this bus system. This is in the 1 shown schematically and dashed, and there not essential to the invention, even without reference numerals. The computer system 3 has a computer system memory 4 as well as a driver software 5 for operation of the bus system 2 on. The memory of the semiconductor-based storage medium 1 is also divided into a first to third memory area 6 . 7 and 8th , In this first storage area 6 is a master boot record file 9 filed in the second memory area 7 All data are stored that are necessary for the semiconductor-based storage medium 1 as a hard disk and in the third predetermined memory area 8th is a so-called boot record deposited, which contains a reference to the valid boot loader, in Windows PE, this is the file NTLDR.

In 2 ist auf einer Zeitachse T, die nach unten weist, ein Verfahrensablauf dargestellt, der einzelne Schritte 0 bis N+M, eines Startvorgangs eines Computersystems 3 allgemein beschreibt. Im Fokus der Betrachtung liegt hierbei die zeitliche Abfolge eines Einzelvorgangs N und eines Einzelvorgangs N+1. Der Einzelvorgang N betrifft die Aktion, alle zum Betrieb des halbleiterbasierten Speichermediums 1 notwendigen Informationen in einen vorbestimmten Speicherbereich des Computersystemspeichers 4 zu speichern. Dies sind in dieser Reihenfolge: Treiberdateien für das halbleiterbasierte Speichermedium, die Geräteerkennung und Gerätetypdaten des Halbleiterbasierten Speichermediums 1 und eine Treibersoftware 5 für das Bussystem 2.In 2 is on a time axis T pointing downward, a process flow shown, the individual steps 0 to N + M, a startup process of a computer system 3 generally describes. The focus of consideration here is the time sequence of a single operation N and a single operation N + 1. The single operation N concerns the action, all for the operation of the semiconductor-based storage medium 1 necessary information in a predetermined memory area of the computer system memory 4 save. These are in the following order: driver files for the semiconductor-based storage medium, device recognition, and device-type data of the semiconductor-based storage medium 1 and driver software 5 for the bus system 2 ,

Der darauf folgende Einzelvorgang N+1 betrifft das Laden der Treibersoftware 5 für das Bussystem 2. Das Laden der Treibersoftware 5 des Bussystems 2 erfolgt aus dem Speicherbereich des Computersystemspeichers 4 heraus und in einer, dem Eingang in den Computersystemspeicher 4, umgekehrten Reihenfolge. Das heißt, die Gerätedaten und die Treibersoftware 5 sind im Computersystem 3 hinterlegt, und werden somit nach der Initialisierung sämtlicher am Bussystem 2 angeschlossener Geräte aus diesem Speicherbereich wieder herausgelesen und führen dazu, daß das halbleiterbasierte Speichermedium 1 den gleichen Laufwerksbuchstaben wie zu den Einzelvorgängen 1 bis N-1 aufweist. Die Einzelvorgänge N+2 bis N+M sind nicht näher be schriebene Einzelvorgänge die dem weiteren Startvorgang des Computersystems 3 betreffen.The following single operation N + 1 concerns the loading of the driver software 5 for the bus system 2 , Loading the driver software 5 of the bus system 2 takes place from the memory area of the computer system memory 4 out and in one, the entrance into the computer system store 4 , reverse order. That is, the device data and the driver software 5 are in the computer system 3 deposited, and thus after initialization all on the bus system 2 connected devices from this memory area again read out and cause the semiconductor-based storage medium 1 the same drive letter as for the single operations 1 to N-1. The individual operations N + 2 to N + M are not described in more detail individual operations that the further startup of the computer system 3 affect.

3 zeigt schematisch das halbleiterbasierte Speichermedium 1 mit den ersten bis dritten vorbestimmten Speicherbereichen 6, 7 und 8 wobei in dem ersten vorbestimmten Speicherbereich 6 die Master-Boot-Record-Datei 9 gespeichert ist. 3 schematically shows the semiconductor-based storage medium 1 with the first to third predetermined storage areas 6 . 7 and 8th wherein in the first predetermined storage area 6 the master boot record file 9 is stored.

Zur Erzeugung einer Master-Boot-Record-Datei 9 auf dem halbleiterbasiertem Speichermedium 1, wie zum Beispiel einem USB Memory Stick, wird zum Beispiel bei Windows PE wie folgt vorgegangen. Ein MBR 9 (Master-Boot-Record-Datei) hat die Größe von einem Sektor eines Speichers, also 512 Bytes. Am Anfang, bei einem "Offset 0 hex" steht ein Boot Code als Verweis auf eine Boot-Record-Datei. Ab einem Offset 1BE hex befindet sich ein Eintrag für eine erste Partition des Laufwerks, dieser Eintrag ist 16 Bytes groß. Dadurch ergibt sich, dass jeder weitere Eintrag für Partitionen, die ebenfalls 16 Bytes groß sein müssen, an den Offsets 1CE hex,..., bis 1EE hex stehen.To create a master boot record file 9 on the semiconductor-based storage medium 1 , such as a USB memory stick, the procedure is as follows for Windows PE. An MBR 9 (Master boot record file) has the size of one sector of a memory, ie 512 bytes. At the beginning, with an "offset 0 hex" is a boot code as a reference to a boot record file. From an offset 1BE hex is located an entry for a first partition of the drive, this entry is 16 bytes in size. This results in each additional entry for partitions, which must also be 16 bytes in size, at the 1CE hex, ..., to 1EE hex offsets.

An dem Offset 1FE hex, steht eine Kennung, die ausdrückt, dass es sich um einen gültigen MBR handelt (55AA hex). Die ersten 2 Bytes des Partitionseintrages kennzeichnen, ob diese aktiv (80 hex) oder inaktiv (00hex) ist. Die weiteren 14 Bytes bestimmen den Startpunkt, Endpunkt und den Typ (NTFS, FAT, etc.) der Partition in Abhängigkeit, von der Festplattengröße und Art. Bei Physikalischen Laufwerken wird hier der entsprechende Kopf, Cylinder und Sektor angegeben. Da z.B.: das halbleiterbasierte Speichermedium 1 wie zum Beispiel ein Memorybird keine Köpfe, Cylinder und Sektoren hat, werden diese durch bestimmte Eintragungen an dieser Stelle simuliert. Dies geschieht, indem als Kopf immer die Nummer 255 angegeben ist und der Rest auf die entsprechende Größe des halbleiterbasierten Speichermediums 1 (64, 128, 256 MB etc.) umgerechnet wird. Diese Umrechnung geschieht abhängig vom Filesystem, bei NTFS (New Technology File System von Microsoft) zum Beispiel beträgt die Clustergröße (kleinster adres sierbarer Bereich, in den die Festplatte aufgeteilt wird) 4Kb. Daraus ergeben sich dann die entsprechenden Werte für Cylinder und Sektoren. Nach diesen Vorgängen ist die Boot-Record-Datei für die jeweilige Partition mit dem Verweis auf eine gültige Bootloader-Datei (z.B.: bei Windows PE ist das die Datei NTLDR) erzeugbar. Die Partition, die aktiv gesetzt ist lädt dann über das BIOS ihre Boot-Record-Datei. Sind mehrere Partitionen vorhanden, kann immer nur eine aktiv gesetzt werden.At the offset 1FE hex, there is an identifier that states that it is a valid MBR (55AA hex). The first 2 bytes of the partition entry indicate whether it is active (80 hex) or inactive (00hex). The remaining 14 bytes determine the partition's start point, endpoint and type (NTFS, FAT, etc.) depending on the hard disk size and type. For physical drives, the corresponding header, cylinder and sector are specified here. For example: the semiconductor-based storage medium 1 such as a Memorybird has no heads, cylinders and sectors, these are simulated by certain entries at this point. This is done by always specifying the number 255 as the header, and the remainder to the appropriate size of the semiconductor-based storage medium 1 (64, 128, 256 MB etc.) is converted. This conversion is done depending on the file system, for example, NTFS (New Technology File System from Microsoft), the cluster size (smallest addressable range in which the disk is divided) is 4Kb. This results in the corresponding values for cylinders and sectors. After these operations, the boot record file for the respective partition with the reference to a valid bootloader file (eg: in Windows PE this is the file NTLDR) can be generated. The partition that is active then loads its boot record file via the BIOS. If several partitions are available, only one can be set active at a time.

Mit diesen Vorbedingungen ist das Computersystem 3 bis zum Initialisieren der Treibersoftware 5 des Bussystems 2 startbar.With these preconditions is the computer system 3 until initializing the driver software 5 of the bus system 2 bootable.

Nach der Vorbereitung des halbleiterbasiertem Speichermediums 1 mit Master-Boot-Record-Datei 9 und Bootrecord, ist zum weiteren Vorgehen wichtig, daß dem Computersystem 3 zum Zeitpunkt des Ladens der Treibersoftware 5 des Bussystems 2, zum Beispiel des USB- Treibers, der entsprechende Gerätetreiber zur Verfügung steht. Gleichzeitig muss dem Computersystem 2 vermittelt werden, dass es sich bei dem Startlaufwerk um einen Wechseldatenträger handelt. Dies geschieht über eine gerätespezifische Kennung des halbleiterbasierten Speichermediums 1, und ist zum Beispiel in der Firmware des halbleiterbasiertem Speichermediums 1 verankert, oder ist manuell über eine Software beim Initialisieren vorzunehmen. Hat das Computersystem 3, beziehungsweise das Betriebsystem des Computersystems, das halbleiterbasierte Speichermedium 1 als Wechseldatenträger erkannt, muss man dem Computersystem 3 noch "gestatten" von diesem Datenträger zu starten. Dies muß deshalb geschehen, da nach Deklaration innerhalb der Soft- und Hardwareindustrie vereinbart ist, außer einem vorbestimmten Laufwerk, zum Beispiel USB-CD ROM, keinen USB Startvorgang zu gestatten. Die "Erlaubnis" zum Starten erfolgt über eine Software. Ist dies alles durchgeführt, bindet das Computersystem 3 beim Starten den Laufwerksbuchstaben „dynamisch" in eine Registrierungsdatei ein und veranlaßt beim initialisieren des Bussystems 2 und der Treibersoftware 5 die Informationen im Speicher über einen Stak zu verwalten. Anschließend wird dem Gerät ein fester Laufwerksbuchstabe zugeteilt, der als ein Root für sämtliche Systemzugriffe gespeichert ist.After the preparation of the semiconductor-based storage medium 1 with master boot record file 9 and bootrecord, it is important to further action that the computer system 3 at the time of loading the driver software 5 of the bus system 2 , for example, the USB driver, the appropriate device driver is available. At the same time, the computer system needs 2 that the boot drive is a removable disk. This is done via a device-specific identifier of the semiconductor-based storage medium 1 , and is, for example, in the firmware of the semiconductor-based storage medium 1 anchored, or must be done manually via software during initialization. Has the computer system 3 , or the operating system of the computer system, the semiconductor-based storage medium 1 recognized as a removable disk, you have the computer system 3 still "allow" from this disk to start. This must be done because it is agreed after declaration within the software and hardware industry, except a predetermined drive, for example USB-CD ROM, to allow no USB boot process. The "permission" to start via a software. When all this is done, the computer system binds 3 when starting the drive letter "dynamic" in a registration file and causes when initializing the bus system 2 and the driver software 5 to manage the information in memory via a stak. The device is then assigned a fixed drive letter that is stored as a root for all system accesses.

Vorgehend sind die ersten Schritte beschrieben, die erforderlich sind, damit das Computersystem die ersten Teilvorgänge, 0 bis N-1, eines Startvorgangs durchführt. Im Folgenden sind die Schritte beschrieben, die erforderlich sind, damit das Computersystem die weiteren Teilvorgänge, N bis N+M, durchführt und den Startvorgang erfolgreich abschließt.Proceeding are the first steps that are required to do so the computer system performs the first sub-operations, 0 through N-1, of a boot process performs. The following describes the steps that are required so that the computer system carries out the further subprocesses, N to N + M, and completes the boot process successfully.

Zur Erkennung aller an dem Bussystem 2 angeschlossenen Geräte wird das komplette Bussystem 2, zum Beispiel der USB-Bus, zurückgesetzt und alle Informationen der bis dahin angeschlossenen Geräte verworfen. Das heißt vorher zugeordnete Laufwerksbuchstaben verlieren ihre Gültigkeit und werden neu bestimmt. Es erfolgt eine erneute Bestimmung aller Geräte die an das Bussystem 2 angeschlossen sind und eine Neubestimmung der Laufwerksbuchstaben. Jedes am Bussystem 2 angeschlossene Gerät wird am Bussystem 2 angemeldet, wobei die Treibersoftware 5 die entsprechenden Laufwerksbuchstaben zuordnet. Alle bis zu diesem Zeitpunkt durch das BIOS unterstützen Eigenschaften, beim Memorybird die Emulation des Interrupt 13 (Festplatten Emulation), gehen verloren. Des weiteren werden die Laufwerksbuchstaben geändert (vorher Laufwerk C:, nachher nicht voraus bestimmbar, das hängt von der Anzahl und Art der angeschlossenen Geräte ab). Dadurch ist das Computersystem 3 nicht mehr in der Lage, auf die zum abschließen des Bootvorgangs benötigten Treiber und Dateien zuzugreifen. Es stürzt mit einer Fehlermeldung, zum Beispiel einem Bluescreen, ab.For the detection of all on the bus system 2 connected devices becomes the complete bus system 2 , for example, the USB bus, reset and discarded all information from the previously connected devices. This means that previously assigned drive letters lose their validity and are redetermined. There is a redetermination of all devices that are connected to the bus system 2 are connected and a redefinition of the drive letters. Each on the bus system 2 connected device is connected to the bus system 2 logged in, using the driver software 5 assigns the appropriate drive letters. All up to this time through the BIOS support properties, with Memorybird the emulation of the Interrupt 13 (Hard disk emulation), are lost. Furthermore, the drive letters are changed (previously drive C :, afterwards not predictable, this depends on the number and type of connected devices). This is the computer system 3 no longer able to access the drivers and files needed to complete the boot process. It crashes with an error message, for example a blue screen.

Zur Vermeidung dessen, sind gemäß der vorliegenden Erfindung, vor dem Laden der Treibersoftware 5 des Bussystems 2, des USB- Treibers, alle Informationen, die notwendig sind in einem Bereich in den Computersystemspeicher 4 zu laden, wobei dieser dann für das Betriebsystem des Computersystem 3 zur Speicherung anderer Daten gesperrt ist. Dies erfolgt in folgender Reihenfolge: 1. Treiberdateien für das Gerät, 2. Gerätekennung und Gerätetyp, 3. USB-Treiber. Um diese Informationen auch in der richtigen Reihenfolge zur Verfügung zu stellen, wird ein FILO-Stack verwendet. Ein FILO-Stack ist ein "First in Last out" Stapel, beim dem die Erste Information die auf den Stapel gelegt wurde, als letztes wieder rausgenommen wird. Zeitgleich wird durch eine Semaphore, eine prioritätsgesteuerte Warteschlange, sichergestellt, dass das Computersystem 3 die Informationen zum richtigen Zeitpunkt erhält. Um dies zu erreichen werden die vom Betriebsystem des Computersystems kommenden Anfragen abgelenkt in die Semaphore, wobei die höchste Priorität die Anfrage mit dem niedrigsten Interrupt erhält. Anschließend werden die Verweise des Computersystems 3, welche auf das Startlaufwerk, in diesem Fall das halbleiterbasierte Speichermedium 1, verweisen, auf den reservierten Bereich des Computersystemspeichers 4 geschrieben, um so alle bereitgestellten Informationen über die Semaphore abrufen zu können. Anschließend wird die Treibersoftware 5 des Bussytems 2, der USB-Treiber, der als letztes auf dem Stack liegt, aktiviert. Damit erfolgt dann die Initialisierung aller an des Bussystem 2 angeschlossenen Geräte durch die Treibersoftware 5 vollständig in dem reservierten Computersystemspeicher. Die Neuzuordnung von Laufwerksbuchstaben, geschieht zunächst in der Reihenfolge der physikalischen Laufwerke, von C:/ bis C+n:/, je nach Anzahl der Geräte im und am Computersystem 3, wobei dann einer realen Festplatte, zum Beispiel C:\, also "Physical-Drive 0" zugewiesen wird, und weiter nach Geräteart und Wichtigkeit "hochgezählt" wird. Die Geräte mit der niedrigsten Priorität erhalten die höchste Numerierung, bzw. Laufwerksbezeichnung. Die Geräteart wird über einen Devicedescriptor, eine Kennung, die das Gerät und den Gerätetyp identifiziert, bestimmt. Es werden nun bei dieser Neuzuweisung von Laufwerksbuchstaben, beziehungsweise der Neunumerierung, sämtliche Devicedescriptoren mit der auf dem Stack hinterlegten verglichen. Bei einer Gleichheit zwischen den reinitialisierten Geräten und dem im Stack hinter legten, handelt es sich um das Gerät von dem ursprünglich das Computersystem 3 gestartet wurde. Anschließend wird dieses z.B.: Physical- Drive2, oder Laufwerksbuchstabe D:\, in dem vorher reservierten Computersystemspeicher 4 gespeichert. Im Anschluß daran wird der benötigte Gerätetreiber des halbleiterbasierten Speichermediums 1 vom Stack geladen und aktiviert. Jetzt müssen die Pointer (Verweise) des Computersystems 2, welche auf den Bereich des Computersystemspeichers 4 zeigen, auf die im Computersystemspeicher 4 hinterlegten Informationen des "Physical-Drive" umgeleitet werden und die Kennung als Systemdatenträger gesetzt werden. Im Anschluß an diese Maßnahmen führt das Computersystem 3, bzw. dessen Betriebssystem selbständig die weiteren Teilstartvorgänge N+2 bis N+M weiter aus und führt die nötigen Änderungen, zum Beispiel in der Registrierungsdatei, automatisch durch.To avoid this, according to the present invention, prior to loading the driver software 5 of the bus system 2 , the USB driver, all the information necessary in one area in the computer system memory 4 This then for the operating system of the computer system 3 is locked for storing other data. This is done in the following order: 1. Driver files for the device, 2. Device ID and device type, 3. USB driver. To make this information available in the right order too a FILO stack is used. A FILO stack is a "first in last out" stack where the first piece of information placed on the stack is taken out last. At the same time, a semaphore, a priority-driven queue, ensures that the computer system 3 get the information at the right time. To accomplish this, the requests coming from the operating system of the computer system are diverted into the semaphore, with the highest priority receiving the request with the lowest interrupt. Subsequently, the references of the computer system 3 which points to the boot drive, in this case the semiconductor-based storage medium 1 , refer to the reserved area of computer system memory 4 written so as to be able to retrieve all information provided about the semaphore. Subsequently, the driver software 5 of the bus system 2 , the last driver on the stack is enabled. This is then the initialization of all on the bus system 2 connected devices through the driver software 5 completely in the reserved computer system memory. The remapping of drive letters initially occurs in the order of the physical drives, from C: / to C + n: /, depending on the number of devices in and on the computer system 3 , in which case a real hard disk, for example C: \, that is to say "Physical-Drive 0", is assigned and further "counted up" according to device type and importance. The devices with the lowest priority receive the highest numbering or drive designation. The device type is determined by a device descriptor, an identifier that identifies the device and the device type. In this reallocation of drive letters, or the renumbering, all device descriptors are compared with those stored on the stack. In the case of an equality between the reinitialized devices and the one stored in the stack, this is the device of the computer system originally 3 was started. Then this becomes eg: Physical Drive2, or drive letter D: \, in the previously reserved computer system memory 4 saved. Following this, the required device driver of the semiconductor-based storage medium 1 loaded from the stack and activated. Now the pointers (references) of the computer system 2 pointing to the area of computer system memory 4 point to the computer system memory 4 deposited information of the "Physical Drive" are redirected and the identifier can be set as a system disk. Following these actions, the computer system performs 3 , or its operating system independently the further partial start operations N + 2 to N + M on and performs the necessary changes, for example in the registration file, automatically.

11
Speichermediumstorage medium
22
Bussystembus system
33
Computersystemcomputer system
44
ComputersystemspeicherComputer System Memory
55
Treibersoftwaredriver software
66
Erster vorbestimmter Speicherbereichfirst predetermined memory area
77
Zweiter vorbestimmter Speicherbereichsecond predetermined memory area
88th
Dritter vorbestimmter Speicherbereichthird predetermined memory area
99
Master-Boot-Record-DateiMaster Boot Record file

Claims (11)

Verfahren zum Starten eines Computersystems (3) mit einem Speichermedium (1), das mit dem Computersystem (3) über ein Bussystem (2) verbunden ist, und das Bussystem (2) eine Treibersoftware (5) zum Betrieb mit dem Computersystem (3) benötigt und der Startvorgang des Computersystems (3) in verschiedene, nacheinander ablaufende N+M Einzelvorgänge teilbar ist, wovon ein N+1 Einzelvorgang das Laden der Treibersoftware (5) für das Bussystem (2) ist, dadurch gekennzeichnet, daß ein zeitlich vor dem Einzelvorgang des Ladens der Treibersoftware (5) gelegener Einzelvorgang N alle zum Betrieb des Speichermediums (1) notwendigen Informationen in einem vorbestimmten Speicherbereich des Computersystemspeichers (4) speichert.Method for starting a computer system ( 3 ) with a storage medium ( 1 ) connected to the computer system ( 3 ) via a bus system ( 2 ), and the bus system ( 2 ) a driver software ( 5 ) for operation with the computer system ( 3 ) and the boot process of the computer system ( 3 ) is divisible into various successive N + M individual operations, of which an N + 1 single operation loading the driver software ( 5 ) for the bus system ( 2 ), characterized in that a time prior to the single operation of loading the driver software ( 5 ) individual operation N all for the operation of the storage medium ( 1 ) necessary information in a predetermined memory area of the computer system memory ( 4 ) stores. Verfahren nach Patentanspruch 1, dadurch gekennzeichnet, daß alle notwendigen Informationen in einer vorbestimmten Reihenfolge in einen vorbestimmten Speicherbereich des Computersystemspeichers (4) gespeichert werden.Method according to claim 1, characterized in that all the necessary information in a predetermined order in a predetermined memory area of the computer system memory ( 4 ) get saved. Verfahren nach einem der vorhergehenden Patentansprüche, dadurch gekennzeichnet, daß zu einem vorbestimmten Zeitpunkt nach einer vorbestimmten Reihenfolge alle notwendigen Informationen aus dem vorbestimmten Bereich des Computersystemspeichers (4) ausgelesen werden.Method according to one of the preceding claims, characterized in that, at a predetermined time after a predetermined order, all the necessary information from the predetermined area of the computer system memory ( 4 ). Verfahren nach einem der vorhergehenden Patentansprüche, dadurch gekennzeichnet, daß alle notwendigen Informationen zumindest umfassen – Treiberdaten für das Speichermedium (1), – Daten des Speichermediums (1) für Typ und Kennung des Speichermediums (1), – Treiberdaten für das Bussystem (2).Method according to one of the preceding claims, characterized in that all the necessary information at least comprise - driver data for the storage medium ( 1 ), - data of the storage medium ( 1 ) for type and identifier of the storage medium ( 1 ), - Driver data for the bus system ( 2 ). Verfahren nach einem der vorhergehenden Patentansprüche, dadurch gekennzeichnet, daß eine Master-Boot-Record-Datei (9) in einem ersten vorbestimmten Datenspeicherbereich (6) des Speichermediums (1) gespeichert wird, wobei in einem zweiten vorbestimmten Speicherbereich (7) des Speichermediums (1) Daten gespeichert werden, das das Speichermedium (1) als Festplatte kennzeichnet und die Master-Boot-Record-Datei (9) eine Bootloader-Datei in einem dritten Speicherbereich (8) des Speichermediums (1) aufruft.Method according to one of the preceding claims, characterized in that a master boot record file ( 9 ) in a first predetermined data storage area ( 6 ) of the storage medium ( 1 ) is stored, wherein in a second predetermined memory area ( 7 ) of the storage medium ( 1 ) Data is stored that the storage medium ( 1 ) as hard disk and the master boot record file ( 9 ) a bootloader file in a third memory area ( 8th ) of the storage medium ( 1 ). Verfahren nach einem der vorhergehenden Patentansprüche, dadurch gekennzeichnet, daß das Speichermedium (1) trennbar mit dem Computersystem (3) über ein Bussystem (2) verbunden ist.Method according to one of the preceding claims, characterized in that the storage medium ( 1 ) separable with the computer system ( 3 ) via a bus system ( 2 ) connected is. Verfahren nach einem der vorhergehenden Patentansprüche, dadurch gekennzeichnet, daß das Speichermedium (1) ein halbleiterbasiertes Speichermedium ist.Method according to one of the preceding claims, characterized in that the storage medium ( 1 ) is a semiconductor-based storage medium. Verfahren nach einem der vorhergehenden Patentansprüche, dadurch gekennzeichnet, daß das Speichermedium (1) ein mobiles Speichermedium ist.Method according to one of the preceding claims, characterized in that the storage medium ( 1 ) is a mobile storage medium. Verfahren nach einem der vorhergehenden Patentansprüche, dadurch gekennzeichnet, daß das Speichermedium (1) ein externes Speichermedium ist.Method according to one of the preceding claims, characterized in that the storage medium ( 1 ) is an external storage medium. Verfahren nach einem der vorhergehenden Patentansprüche, dadurch gekennzeichnet, daß das halbleiterbasierte Speichermedium (2) zum Beispiel ein sogenanntes Memorystick, eine Chipkarte oder ähnliches ist.Method according to one of the preceding claims, characterized in that the semiconductor-based storage medium ( 2 ) For example, a so-called memory stick, a smart card or the like. Verfahren nach einem der vorhergehenden Patentansprüche, dadurch gekennzeichnet, daß das Bussystem (2) ein USB (Universal Serial Bus), ein SCSI-Bus oder ähnliches ist.Method according to one of the preceding claims, characterized in that the bus system ( 2 ) is a USB (Universal Serial Bus), a SCSI bus or the like.
DE2003137856 2003-08-18 2003-08-18 Method for starting a computer system with a storage medium Ceased DE10337856A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE2003137856 DE10337856A1 (en) 2003-08-18 2003-08-18 Method for starting a computer system with a storage medium
EP04762545A EP1656613A2 (en) 2003-08-18 2004-07-29 Method for starting a computer system by means of a storage medium
PCT/DE2004/001700 WO2005017747A2 (en) 2003-08-18 2004-07-29 Method for starting a computer system by means of a storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE2003137856 DE10337856A1 (en) 2003-08-18 2003-08-18 Method for starting a computer system with a storage medium

Publications (1)

Publication Number Publication Date
DE10337856A1 true DE10337856A1 (en) 2005-03-17

Family

ID=34177672

Family Applications (1)

Application Number Title Priority Date Filing Date
DE2003137856 Ceased DE10337856A1 (en) 2003-08-18 2003-08-18 Method for starting a computer system with a storage medium

Country Status (3)

Country Link
EP (1) EP1656613A2 (en)
DE (1) DE10337856A1 (en)
WO (1) WO2005017747A2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005278A1 (en) * 2001-06-30 2003-01-02 Guoshun Deng Multifunction semiconductor storage device and a method for booting-up computer host
US20030005259A1 (en) * 2001-06-27 2003-01-02 Nalawadi Rajeev K. System and method for device support

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5319751A (en) * 1991-12-27 1994-06-07 Intel Corporation Device driver configuration in a computer system
US6574588B1 (en) * 1998-09-23 2003-06-03 Microsoft Corporation Solid-state memory device that emulates a known storage device
US7299345B2 (en) * 2001-09-28 2007-11-20 Hewlett-Packard Development Company, L.P. Reserved ROM space for storage of operating system drivers

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005259A1 (en) * 2001-06-27 2003-01-02 Nalawadi Rajeev K. System and method for device support
US20030005278A1 (en) * 2001-06-30 2003-01-02 Guoshun Deng Multifunction semiconductor storage device and a method for booting-up computer host

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SCHMIDT,J., VAHLDIEK,A.: Hols vom Stöckchen. Not- fallsystem vom USB-Stick booten. In: c't, ISSN 0724-8679. Juni 2003, Heft 13, S.208-210 *

Also Published As

Publication number Publication date
WO2005017747A2 (en) 2005-02-24
WO2005017747A3 (en) 2005-08-25
EP1656613A2 (en) 2006-05-17

Similar Documents

Publication Publication Date Title
DE69227774T2 (en) STORAGE MANAGEMENT PROCEDURE
DE112010003554B4 (en) Symmetrical direct migration of virtual machines
DE60035780T2 (en) SWITCHING FOR PLATE DRIVING CONTROLLER AND METHOD FOR EXPLORING DEFECTIVE OR UNWANTED SECTORS
DE10297281B4 (en) Method for elementary updating of a large number of files
DE10336877B3 (en) USB-based peripheral device and procedure for commissioning the USB-based peripheral device
DE3786660T2 (en) Computer system with a CPU with two mutually incompatible addressing modes.
DE60008929T2 (en) QUICK START OF A MICROPROCESSOR BASED SYSTEM
DE10047266B4 (en) Method and apparatus for booting a workstation from a server
DE60210434T2 (en) OS selector and disk space
DE69526751T2 (en) Multiprocessor system for the local administration of address translation tables
DE69319383T2 (en) Method and device for booting a computer at a programmed time
DE112020000694T5 (en) PRODUCTION AND EXECUTION OF SECURE CONTAINERS
DE112013000900B4 (en) Preserving Redundancy in Data Deduplication Systems Using a Scoreboard
DE112012005209T5 (en) Bridge function between virtual machine monitor and bare-metal boot process
DE4026912A1 (en) COMPUTER SYSTEM
DE112008002888T5 (en) Hardware device interface that supports transaction authentication
DE102004049454B4 (en) Method of using feature markers to determine the compatibility between bios revisions and installed hardware during Flash update
DE112017005782T5 (en) Queue for storage operations
DE19852250A1 (en) Automatic partitioning and control of access to e.g. hard disk memory
DE102016010276A1 (en) METHOD AND SYSTEMS FOR IMPROVING FLASH MEMORY EMPTYING
DE112007000688T5 (en) Error management topologies
DE102005022893B3 (en) Memory card e.g. multi media card, for data storage, has memory management unit providing open and safe interface to access memory blocks and protocol adapter accessing contents of card from host system connected with adapter by interface
DE69816472T2 (en) DEVICE AND METHOD FOR ACCESSING A MEMORY WITH OPTIONAL ACCESS
DE19956525B4 (en) A computer system and method for preparing a computer-readable medium
DE3855250T2 (en) Method for storing files of pre-structured groups of related information in a data processing system

Legal Events

Date Code Title Description
OP8 Request for examination as to paragraph 44 patent law
8131 Rejection