Menu

#3 the patch for scan_ebr to detect some extended partitions.

closed
nobody
None
5
2012-10-04
2010-12-02
No

Hi,
This is the patch, for scan_ebr to detect some previously not detected extended partitions.
sorry for the previous mess, with my two other `patches'. (can be deleted)

So after this patch, ext2read sees all my partitions. It should still work as it used to for all the other systems where it behaved correctly on the first hand.
the first EBR in my hard disk has: [ 0x5 1 ] [ 0 0]
which seems to be a special case, which was not treated in ext2read, which tells us: move the offset to +1.

so after moving ebr2 with +1, and re-reading the ebr, the scan_ebr algorithm works as it used to, and has the
correct effect for my computer as well. since my disk's extended partitions can be read well in both win and linux, I
assume that I have some special case of a boot record, that is not default, and that's why, most disks can
be read with no complain with the current version of scan_ebr that you have.

So, I hope this is useful!

Please, do give me some feedback as this is my first patch for the open source community :)
Without this meaning I'm new!

thanks!
regards,
Kimon M. Kontosis

PS. this patch could be related to bug:
Doesn't read my partition - ID: 3002359

Discussion

  • Kimon M. Kontosis

    scan_ebr patch

     
  • Manish Regmi

    Manish Regmi - 2011-03-16

    sorry i was little caught up. I now have free time. I will include your patch in next bugfix release. Thanks

     

Log in to post a comment.