Available in

(8)

TOC

gptsync(8)                           rEFIt                          gptsync(8)



NAME

       gptsync - GPT partition table to MBR partition table synchronisation


SYNOPSIS

       gptsync [-q] [-t] device


DESCRIPTION

       gptsync  reads  the  GPT partition table on device and synchronises the
       legacy MBR partition table with the GPT partition table. The MBR parti-
       tion table can hold only 4 partitions.

       Legacy bootloaders or operating systems that do not support GPT require
       an MBR partition table; this is typically the case when using  GRUB  or
       LILO on an Intel-based Apple machine.


OPTIONS

       -q     Do not print any message, do not prompt to modify the MBR.

       -t     Truncate partitions starting or expending beyond 2 TiB (MBR lim-
              itation).  Default is to ignore such partitions.


AUTHOR

       gptsync was written by Christoph Pfisterer.

       This manual page was written by Junichi Uekawa <dancer [AT] debian.org>  and
       Julien  BLACHE <jblache [AT] debian.org>, for the Debian Project (but may be
       used by others).




Debian                           2008 July 24                       gptsync(8)

COMMENTS

1
nax
2007-12-08 01:08:12
mitok
2
I tried using this on my PC so I could tripple boot Windows 7, Ubuntu 9.10, and OS X 10.6.

After running the program in Terminal under a separate OS X 10.6 install (same computer, different drive), it returns the following:

"Data write failed at position 0: Bad file descriptor"


I first partitioned the drive I'm tripple booting on in OS X (setting it up as a hybrid MBR/GPT).
I then installed Windows 7 on the second partition (the one after the EFI partition).
After that, I installed Ubuntu 9.10 on the fourth partition (leaving a 100GB FAT32 partition in between Ubuntu and Windows, to be used for the OS X install), with the swap space immediately after (in the fifth partition).

Because of the way Ubuntu handles hybrid MBR/GPT disks, it screwed it up. Therefor, I needed gptsync to fix the problem and allow me to boot Windows 7.

However, it doesn't work, and I get the message I presented earlier in this reply.


Does anyone have any suggestions?
2009-12-20 04:47:14
Daniel Hodgson
Add your comment here. Whitespace and linebreaks are preserved. URLs are linked automatically.
CAPTCHA

No HTML allowed. URLs will be linked with nofollow attribute. Whitespace is preserved.