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

ReactOS does not boot from partitions behind an extended partition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.0
    • Component/s: Filesystems, NTCore
    • Labels:
      None
    • Environment:

      hard disc with the following partition table:
      hda1 (ntfs), hda2 (extended), hda3 (fat32 ReactOS), hda4 (ext4, Linux)

      Description

      ReactOS tries to boot from hda4 (Linux) instead of hda3 => boot process stops

      Cause: The counting for partition numbers is incorrect behind an extended partition.
      Solution: The counter "i" has to be increased (by one) directly before line 1604 in "disksup.c" (http://code.reactos.org/browse/reactos/trunk/reactos/ntoskrnl/fstub/disksup.c?hb=true#to1604) because "i" is used as partition in counter in line 1684 (http://code.reactos.org/browse/reactos/trunk/reactos/ntoskrnl/fstub/disksup.c?hb=true#to1684)
      Recommendation: Maybe it would be better to rename "i" to "PartitionCounter" or something similar.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ekohl ekohl
                Reporter:
                debock debock
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: