Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KMXbz-00007s-M8 for mharc-grub-devel@gnu.org; Fri, 25 Jul 2008 20:26:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMXbx-00007n-F2 for grub-devel@gnu.org; Fri, 25 Jul 2008 20:26:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMXbu-00006P-Ub for grub-devel@gnu.org; Fri, 25 Jul 2008 20:26:12 -0400 Received: from [199.232.76.173] (port=51228 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMXbu-00006H-LS for grub-devel@gnu.org; Fri, 25 Jul 2008 20:26:10 -0400 Received: from lethe.ofobscurity.com ([64.85.165.57]:33111) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMXbu-00042W-ES for grub-devel@gnu.org; Fri, 25 Jul 2008 20:26:10 -0400 Received: from user-160u3tu.cable.mindspring.com ([76.15.15.190] helo=anan7.local) by lethe.ofobscurity.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KMXbk-0001Lv-E3; Fri, 25 Jul 2008 20:26:00 -0400 From: Chris Knadle Organization: CoreDump.us To: Robert Millan Date: Fri, 25 Jul 2008 20:25:37 -0400 User-Agent: KMail/1.9.9 References: <0DFB020F860A4320BA3DE2814B0CE305@fz> <200807251936.25684.Chris.Knadle@coredump.us> <20080726000610.GA29219@thorin> In-Reply-To: <20080726000610.GA29219@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807252025.37518.Chris.Knadle@coredump.us> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: 475718@bugs.debian.org, grub-devel@gnu.org, Felix Zielcke Subject: Re: Bug#475718: Bug #475718 grub gets confused by hybrid apple/pc partmap 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: Sat, 26 Jul 2008 00:26:14 -0000 On Friday 25 July 2008, Robert Millan wrote: > On Fri, Jul 25, 2008 at 07:36:25PM -0400, Chris Knadle wrote: > > If you ask me, I think this unfortunately looks like a complex > > detection problem -- which I think is eventually going to start with a > > *successful* detection of the Apple partition (because Apple + PC > > partitions can co-exist), followed by somehow *rejecting* that based on > > not finding any Apple HFS+ partitions (avoiding scanning partition 0), > > re-detecting partmaps (avoiding the failed Apple detection), and then > > going from there. :-/ I've been thinking about that problem. No matter > > how I look at this issue, it's messy. > > It can't be so complicated; your layout is properly detected on Linux, > isn't it? Ah. Yes I suppose that's true, and it gives me a thought -- I suspect it may be due to the Linux kernel being built on the PC architecture. I *think* all of the Apple boxes that run a PC architecture use EFI and the GPT partition scheme rather than the Apple one -- so it might be possible to simply not include Apple detection based on a decision at compile time. And that's likely to be much easier to code. > Maybe we just need to give preference to MSDOS partitions. Hmm. If we do that, will that avoid the problem if the hybrid disk is in an Apple? [I haven't tested it.] > Btw, adding grub-devel to CC. Let's try to have discussions in upstream > list.. Sounds good to me. -- Chris -- Chris Knadle Chris.Knadle@coredump.us