Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KNCOQ-0004D2-Jp for mharc-grub-devel@gnu.org; Sun, 27 Jul 2008 15:58:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNCON-00049x-1o for grub-devel@gnu.org; Sun, 27 Jul 2008 15:58:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNCOG-00045P-Ox for grub-devel@gnu.org; Sun, 27 Jul 2008 15:58:53 -0400 Received: from [199.232.76.173] (port=40121 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNCOG-000450-6a for grub-devel@gnu.org; Sun, 27 Jul 2008 15:58:48 -0400 Received: from moutng.kundenserver.de ([212.227.126.174]:49163) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNCOF-0008Uk-Hn for grub-devel@gnu.org; Sun, 27 Jul 2008 15:58:48 -0400 Received: from [85.180.36.210] (e180036210.adsl.alicedsl.de [85.180.36.210]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis) id 0MKxQS-1KNCJN091i-0001mX; Sun, 27 Jul 2008 21:53:45 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <200807251909.34724.Chris.Knadle@coredump.us> References: <200804131734.50447.Chris.Knadle@coredump.us> <200807231647.42719.Chris.Knadle@coredump.us> <20080725202718.GA18149@thorin> <200807251909.34724.Chris.Knadle@coredump.us> Content-Type: text/plain Date: Sun, 27 Jul 2008 21:53:45 +0200 Message-Id: <1217188425.15683.17.camel@fz-deb.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18yaDtUraad6dUckeKHxO0Eezv/U66mhk7jRHU Dmmf8/+TOpACE5ClcdLZim3s6rW9b/NPR3Py8zNH8zbneyDPdy rPNdufGTvGDdNSoXDOp4NdZ8Trhg8w1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Subject: Re: grub-probe fails to find PC partition due to Apple disklabel 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: Sun, 27 Jul 2008 19:58:56 -0000 Am Freitag, den 25.07.2008, 19:09 -0400 schrieb Chris Knadle: > Just tested -- nope, grub-probe still can't find the device. > So this: > > kern/partition.c:106: Detecting apple_partition_map... > kern/disk.c:368: Reading `hd0'... > partmap/apple.c:129: bad magic (found 0xfc31; wanted 0x4552 > kern/partition.c:112: apple_partition_map detection failed. > > means that this patch is trying to match the HFS magic number on the first > sector of the drive, when that doesn't have a filesystem magic number at > all. kern/partition.c:117: pc_partition_map detection succeeded. Just after the snippet you wrote. So I think it should work. Maybe you didn't test this right? Wipe a disk, then make an apple partition, and then make msdos partitions and make a filesystem on it. Just like it probable was as you reported the bug initially. Btw. I just read the whole story again and I was wrong saying that grub-legacy won't have a fix for this. grub-legacy now uses grub-probe so if grub-probe works then both are fixed for you.