isohybrid: Generate MBR even when in EFI mode
commitead636d9693089bc54f1272552ae50b70d3f3965
authorMatthew Garrett <mjg@redhat.com>
Wed, 15 Feb 2012 17:12:17 +0000 (15 12:12 -0500)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 26 Mar 2012 21:49:09 +0000 (26 14:49 -0700)
treecb3a51f92179d751883522b70205ce9e2971beda
parent794ff174175734a0974e1846f0db29040b096e45
isohybrid: Generate MBR even when in EFI mode

Various EFI systems insist that there be no active flag in the pMBR in
order to parse the GPT. The only way around this is to also generate a
valid MBR - the firmware will then pick that up and use the system
partition provided there. In order to deal with other EFI "sanity" checks,
the partition type for the non-EFI partitions is set to 0 to skip the
firmware bailing because of overlapping partitions.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
utils/isohybrid.c