def _create_partition_table(self, image):
# Copy the MBR and the space between the MBR and the first partition.
def _create_partition_table(self, image):
# Copy the MBR and the space between the MBR and the first partition.
# In gpt partition tables the Primary GPT Header is there.
first_sector = self.disk.getPrimaryPartitions()[0].geometry.start
# In gpt partition tables the Primary GPT Header is there.
first_sector = self.disk.getPrimaryPartitions()[0].geometry.start