Setting the boot bit with the CHRP MBR partition.

This commit is contained in:
Thomas Schmitt 2012-06-22 16:33:03 +02:00
parent 85bedae639
commit af367561a6

View File

@ -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;