This only gets hit if there are four preexisting primary partitions on a disk. --- storage/partitioning.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/partitioning.py b/storage/partitioning.py index e44d7f4..10332a0 100644 --- a/storage/partitioning.py +++ b/storage/partitioning.py @@ -443,7 +443,7 @@ def getNextPartitionType(disk, no_primary=None): if primary_count == disk.maxPrimaryPartitionCount and \ extended and logical_count < max_logicals: part_type = parted.PARTITION_LOGICAL - elif primary_count == (disk.maxPrimaryPartitionCount - 1) and \ + elif primary_count >= (disk.maxPrimaryPartitionCount - 1) and \ not extended and supports_extended: # last chance to create an extended partition part_type = parted.PARTITION_EXTENDED -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list