[parted-devel] [PATCH] GPT -> MBR synchronization

Alexander Graf agraf at suse.de
Tue Jul 29 15:56:07 UTC 2008


Hi,

pretty much since Macs started a hybrid GPT/MBR approach there were 
several attempts to get to a solution on using GPT on BIOS-based 
computers. Unfortunately up to today I know of none that actually made 
it somewhere except for the manual Mac syncing approach.

So my approach is trying to go the easiest way I could think of: always 
sync. Instead of writing a fake MBR, when this code is enabled, it tries 
to construct primary MBR entries from the first partitions it finds in 
the GPT. This means, that as long as the partition we want to boot from 
is within the first four partitions, everything will be fine.

This enables a user that is aware of this restriction to have a fully 
working hybrid GPT/MBR setup, enabling him to boot without much 
intervention on an Intel Mac and with disks >2TB.

The patch is based on parted 1.8.8.

Alex

Signed-off-by: Alexander Graf <agraf at suse.de>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: parted-gpt-mbr-sync.patch
Type: text/x-patch
Size: 4063 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20080729/87893ccd/attachment-0001.bin 


More information about the parted-devel mailing list