From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KbMhl-0002eF-6o for mharc-grub-devel@gnu.org; Thu, 04 Sep 2008 17:49:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbMhj-0002cx-JC for grub-devel@gnu.org; Thu, 04 Sep 2008 17:49:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbMhj-0002cK-1Y for grub-devel@gnu.org; Thu, 04 Sep 2008 17:49:27 -0400 Received: from [199.232.76.173] (port=57256 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbMhi-0002cH-Rh for grub-devel@gnu.org; Thu, 04 Sep 2008 17:49:26 -0400 Received: from fg-out-1718.google.com ([72.14.220.152]:18377) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbMhi-0005w2-EZ for grub-devel@gnu.org; Thu, 04 Sep 2008 17:49:26 -0400 Received: by fg-out-1718.google.com with SMTP id l26so573221fgb.30 for ; Thu, 04 Sep 2008 14:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=UeWDS+9IwCg5UGkSgfW1rzQTJunA8bAy+tacksUzfjc=; b=xFoVqpIWwL0sO2vrap5/mOJypHcXnCqZj0KnYqnIL7m/enqj36yY2CVFx93/1v2g2V GMOeu2nyxuA/rn6FXcE86TJ/wtP+tzytmfijlL7b5Ocvbiar+iYyj2lLzapR+coKCC+r DtAuG6oxCOzm9xZJBb81fVTlYpMc3JB7mlCX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=agIIujFtHhmaQT6axn4xMfdoNG57BHurcHaRoXtk9uSQhCcUNrY1ph5B3IrZgBsHxb K/x39KkZDYY4/9GFppPxcB2HSHHY0kk4SbwKQmz/KypCiDJJqKMtmyFm8UZVsBvJQL+G KBS9iS65MpCieT1sFlLaCKq6K/WoPh0mf2gCo= Received: by 10.86.52.6 with SMTP id z6mr8132122fgz.48.1220564965462; Thu, 04 Sep 2008 14:49:25 -0700 (PDT) Received: from ?192.168.1.15? ( [85.0.144.99]) by mx.google.com with ESMTPS id 12sm120348fgg.0.2008.09.04.14.49.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Sep 2008 14:49:24 -0700 (PDT) Message-ID: <48C057E1.6050401@gmail.com> Date: Thu, 04 Sep 2008 23:49:21 +0200 From: phcoder User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: The development of GRUB 2 References: <48BED2B2.1060000@gmail.com> <20080904194015.GF9133@thorin> In-Reply-To: <20080904194015.GF9133@thorin> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: Multiple partition maps X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2008 21:49:27 -0000 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