if (MBR.containsPartitionTable()) {
out
.println("This device already contains a partition table. Copy the already existing partitions.");
for (int i = 0; i < 4; i++) {
final IBMPartitionTableEntry oldEntry = oldMBR.getPartition(i);
modifyPartition(i, oldEntry.getBootIndicator(), oldEntry.getStartLba(), oldEntry
.getNrSectors(), SECTORS, oldEntry.getSystemIndicator());
}
} else {
bs.getPartition(0).setSystemIndicator(IBMPartitionTypes.PARTTYPE_EMPTY);
bs.getPartition(1).setSystemIndicator(IBMPartitionTypes.PARTTYPE_EMPTY);
bs.getPartition(2).setSystemIndicator(IBMPartitionTypes.PARTTYPE_EMPTY);