bnc#781688 Index: parted-2.4/libparted/labels/gpt.c =================================================================== --- parted-2.4.orig/libparted/labels/gpt.c +++ parted-2.4/libparted/labels/gpt.c @@ -488,7 +488,7 @@ _has_hybrid_pmbr (const PedDevice *dev) if ((mbr.PartitionRecord[0].OSType == EFI_PMBR_OSTYPE_EFI) && (mbr.PartitionRecord[0].StartingLBA == PED_CPU_TO_LE32(1)) && - (mbr.PartitionRecord[0].SizeInLBA == PED_CPU_TO_LE32(efi_gpt_expected_size))) + ((mbr.PartitionRecord[0].SizeInLBA == PED_CPU_TO_LE32(efi_gpt_expected_size)) || (mbr.PartitionRecord[0].SizeInLBA == PED_CPU_TO_LE32(0xFFFFFFFF)))) /* pMBR is not hybrid */ has_hybrid_pmbr = 0;