Re: [PATCH] gptsync

2009-05-09 Thread Vladimir 'phcoder' Serbinenko
Commited On Wed, Apr 22, 2009 at 1:38 AM, Vladimir Serbinenko wrote: > HFS autodetect added. With changelog this time. Should already be suitable > for inclusion > > > On Wed, Apr 22, 2009 at 12:03 AM, Vladimir Serbinenko > wrote: > >> >> >> On Tue, Apr 21, 2009 at 9:49 PM, Isaac Dupree < >> m..

Re: [PATCH] gptsync

2009-04-21 Thread Peter Cros
On Wed, Apr 22, 2009 at 8:03 AM, Vladimir Serbinenko wrote: > About compatibiliy: hybrid MBR is against specifications - it's a trick to > boot legacy OS. So the only compatibility you can speak about is the ability > to boot a legacy OS of your choice. > >> That is exactly what I was referring to

Re: [PATCH] gptsync

2009-04-21 Thread Vladimir Serbinenko
HFS autodetect added. With changelog this time. Should already be suitable for inclusion On Wed, Apr 22, 2009 at 12:03 AM, Vladimir Serbinenko wrote: > > > On Tue, Apr 21, 2009 at 9:49 PM, Isaac Dupree < > m...@isaac.cedarswampstudios.org> wrote: > >> Peter Cros wrote: >> > I don't think it is co

Re: [PATCH] gptsync

2009-04-21 Thread Vladimir Serbinenko
On Tue, Apr 21, 2009 at 9:49 PM, Isaac Dupree < m...@isaac.cedarswampstudios.org> wrote: > Peter Cros wrote: > > I don't think it is compatible with current MBR/GPT hybrid ?partitioning > on > > intel macs for grub-pc booting. > > well, it doesn't necessarily order the partitions in the same way a

Re: [PATCH] gptsync

2009-04-21 Thread Isaac Dupree
Peter Cros wrote: > I don't think it is compatible with current MBR/GPT hybrid ?partitioning on > intel macs for grub-pc booting. well, it doesn't necessarily order the partitions in the same way as e.g. rEFIt gptsync does, but that's because this GRUB implementation gives you more control! You

Re: [PATCH] gptsync

2009-04-21 Thread Peter Cros
There appears to be a small bug there. For example - gptsync (hd0) 4 2 3 will write data for GPT partition 4 2 3 to MBR partition table 2 3 4 but also GPT partition 1 to MBR partition 1 (which is actually what happens now for intel mac.) And similarly for other selections will write the next lower

Re: [PATCH] gptsync

2009-04-21 Thread Vladimir Serbinenko
On Tue, Apr 21, 2009 at 1:29 PM, Peter Cros wrote: > Hi, > > I have been playing with grub gptsync, on apple intel mac with GUID > partitioned 8 GB usb stick, 8 partitions. #1 is the standard fat32 EFI > system part for macs. > > I am comparing with the gptsync utility from linux, or rEFIt gptsyn

Re: [PATCH] gptsync

2009-04-21 Thread Peter Cros
Hi, I have been playing with grub gptsync, on apple intel mac with GUID partitioned 8 GB usb stick, 8 partitions. #1 is the standard fat32 EFI system part for macs. I am comparing with the gptsync utility from linux, or rEFIt gptsync, currently used for macs booting pc-bios bootloader. It is wor

Re: [PATCH] gptsync

2009-04-20 Thread Vladimir Serbinenko
My bad. Part of the patch was missing. Here is a corrected version with sanity checks for 2TB limit and some CHS fixes On Mon, Apr 20, 2009 at 11:23 AM, Peter Cros wrote: > Hi, > Compiled with rev 2121, --with-platform=efi but got no gptsync module. It > could be a useful tool for macs, I would

Re: [PATCH] gptsync

2009-04-20 Thread Peter Cros
Hi, Compiled with rev 2121, --with-platform=efi but got no gptsync module. It could be a useful tool for macs, I would like to try it. On Mon, Apr 20, 2009 at 9:17 AM, Vladimir Serbinenko wrote: > Hello, this is a common way to boot non GPT-aware OS on GPT systems. For > this protective MBR is re

[PATCH] gptsync

2009-04-19 Thread Vladimir Serbinenko
Hello, this is a common way to boot non GPT-aware OS on GPT systems. For this protective MBR is replaced by a so-called hybrid mbr where first partition entry is a protective entry and the rest contains legal partitions. So here is the syntax: gptsync DISK [PARTITIONSPEC1] [PARTITIONSPEC2] [PARTITI