[parted-devel] Bug report: libparted leaves MBR and GPT tables unsynchronised on Apple Mac

Alexander Graf agraf at suse.de
Tue Jul 7 12:31:11 UTC 2009


On 07.07.2009, at 14:08, Petr Uzel wrote:

> On Sat, Jul 04, 2009 at 05:14:41PM -0500, Richard Cavell wrote:
>> Hi,
>>
>> I tried to add a ticket with this text but I keep getting an  
>> internal server
>> error, so here it is:
>>
>> http://bugzilla.gnome.org/show_bug.cgi?id=586910
>>
>>
>> Sometimes when GParted is used to modify partitions on a Mac, it  
>> changes the
>> GPT but not the MBR.  So the MBR does not correctly reflect the new  
>> partition
>> map.  Since the GRUB bootloader relies on the MBR being correct,  
>> this renders
>> Linux completely unable to boot.  It also makes Windows incapable  
>> of booting.
>> This bug is well documented on Apple architectures.  I don't know  
>> whether it
>> exists outside of Apple.  After using GParted, it is necessary to  
>> run a utility
>> program to 'resync' the MBR and GPT records of the partition map.
>
> There was some discussion [1] about this on parted-devel, but is seems
> that it ended without solution - as far as I understand it there is no
> easy one that would work in all situations.
>
> SuSE has a patch from [2] for some time.
>
> [1] http://www.mail-archive.com/parted-devel@lists.alioth.debian.org/msg02045.html
> [2] https://bugzilla.novell.com/show_bug.cgi?id=220839

Yes, out parted should sync GPT->MBR automatically.
Have you verified that it breaks on suse? I would assume it just  
works :-).

Alex




More information about the parted-devel mailing list