See commits ebcf3cf38 and c9c6902f0 (PR #5837) In addition, correctly set the type of extended partition being used, depending on whether it is contained below or above the 1024-cylinder boundary (tested on NT).
ebcf3cf38
c9c6902f0