Robert Millan wrote: > On Wed, Sep 03, 2008 at 08:08:50PM +0200, phcoder wrote: >> Hello. I was looking at the grub code and seen that if a disk has >> multiple partition tables (e.g. macintel with bootcamp) then only first >> one will be detected. In some cases it can lead to unreachable >> partitions if for some reason partition is present only in one table. >> Does anyone has an idea how theese cases may be treated compactly and >> efficiently? > > Strictly speaking, GPT+MSDOS hybrid tables are a violation of the GPT > specification. It's not clear what would be the "correct" way of handling > them. > > Since we're not a legacy program, I suppose the sane thing to do would be > to abort MSDOS probing if a protective DOS partition (0xee) is found, and > then only GPT will be used.
We're not a legacy application but some OS and partition tools are and we have to work with them. I think just some maintenance tools included in GRUB should be enough. I'll write them soon. (perhaps even tomorrow) > > Isn't this what GRUB does already? I thought it would be... > It does. But I don't know if there are other cases similar to this one. Vladimir 'phcoder' Serbinnenko _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel