diff options
-rw-r--r-- | src/sync.c | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -67,10 +67,16 @@ sync_tables (DISK * d) type = MBR_PARTITION_TYPE_HFS; } - if ((type == MBR_PARTITION_TYPE_LINUX) && (!seen_linux)) + switch (type) { - seen_linux++; - bootable++; + case MBR_PARTITION_TYPE_LINUX: + case MBR_PARTITION_TYPE_RAID: + case MBR_PARTITION_TYPE_LVM: + if (!seen_linux) + { + seen_linux++; + bootable++; + } } mbr_entry_from_gpt_entry (&m->entry[mbr_entry++], &h.header, &e, |