From af367561a66627ea4e0ba0667896fbd34b4f0cb0 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 22 Jun 2012 16:33:03 +0200 Subject: [PATCH] Setting the boot bit with the CHRP MBR partition. --- libisofs/system_area.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libisofs/system_area.c b/libisofs/system_area.c index 8fa2b24..4622577 100644 --- a/libisofs/system_area.c +++ b/libisofs/system_area.c @@ -2196,7 +2196,8 @@ static int partprepend_writer_compute_data_blocks(IsoImageWriter *writer) if (t->prep_partition != NULL || t->fat || will_have_gpt || t->mbr_req_count > 0) return ISO_BOOT_MBR_OVERLAP; - ret = iso_quick_mbr_entry(t, (uint32_t) 0, (uint32_t) 0, 0x96, 0, 0); + ret = iso_quick_mbr_entry(t, (uint32_t) 0, (uint32_t) 0, + 0x96, 0x80, 0); if (ret < 0) return ret; return ISO_SUCCESS;