diff --git a/source/fdisk/pdiskio.c b/source/fdisk/pdiskio.c index 2692836..26e356c 100644 --- a/source/fdisk/pdiskio.c +++ b/source/fdisk/pdiskio.c @@ -1379,7 +1379,7 @@ int Write_Partition_Tables( void ) /* Write the Extended Partition Table, if applicable. */ - if ( pDrive->ptr_ext_part ) { + if ( pDrive->ptr_ext_part && pDrive->ext_usable ) { for ( index = 0; index < MAX_LOGICAL_DRIVES; index++ ) { /* If this logical drive was just created, clear its boot sector. */ if ( pDrive->log_drive_created[index] == TRUE ) {