BTW GPT module checks the protective MBR. In some cases when legay OS modified the MBR it's no longer "protective MBR". And in theese cases GRUB will refuse to boot. Isn't the magic number check enough? Vladimir 'phcoder' Serbinenko 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. > > Isn't this what GRUB does already? I thought it would be... >
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel