Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-8181

ReactOS fails to boot if the BIOS supplies an incorrect boot drive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Bootloader
    • None
    • Real Hardware

    Description

      Some BIOSes supply either an incorrect boot drive number or use a numbering scheme that is
      incompatible with what the BIOS int13 interface expect (e.g. 1 for first floppy, 2 for second floppy,
      3 for first harddisk and so on). Since the MBR code from ReactOS relies entirely on the BIOS supplying
      a correct value in the sheme expected by the int13 interface, the system fails to boot in such a case.

      Could in theory worked around by e.g. storing the original drive number in the boot record and use
      that instead (or some hybrid solution), but may probably impact the ability to boot from any drive number.

      Thanks to oldman for bringing this up in the forum and testing against the suspected source of the problem.

      Attachments

        1. CORE-8181-dosmbr.S.patch
          1 kB
        2. force_first_hd.patch
          0.3 kB
        3. mbr.S
          7 kB

        Activity

          People

            ThePhysicist Timo Kreuzer
            Forever Winter Forever Winter
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: