Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KNYLC-0003oD-1h for mharc-grub-devel@gnu.org; Mon, 28 Jul 2008 15:25:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNYLA-0003nz-He for grub-devel@gnu.org; Mon, 28 Jul 2008 15:25:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNYL8-0003ne-VO for grub-devel@gnu.org; Mon, 28 Jul 2008 15:25:04 -0400 Received: from [199.232.76.173] (port=47486 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNYL8-0003nb-Rl for grub-devel@gnu.org; Mon, 28 Jul 2008 15:25:02 -0400 Received: from lethe.ofobscurity.com ([64.85.165.57]:48634) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KNYL8-0005yT-GN for grub-devel@gnu.org; Mon, 28 Jul 2008 15:25:02 -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 1KNYL6-0008CT-N5 for grub-devel@gnu.org; Mon, 28 Jul 2008 15:25:00 -0400 From: Chris Knadle Organization: CoreDump.us To: The development of GRUB 2 Date: Mon, 28 Jul 2008 15:25:00 -0400 User-Agent: KMail/1.9.9 References: <200804131734.50447.Chris.Knadle@coredump.us> <200807281441.29191.Chris.Knadle@coredump.us> <1217271348.4016.80.camel@fz-deb.local> In-Reply-To: <1217271348.4016.80.camel@fz-deb.local> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200807281525.00219.Chris.Knadle@coredump.us> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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: Mon, 28 Jul 2008 19:25:04 -0000 On Monday 28 July 2008, Felix Zielcke wrote: > Am Montag, den 28.07.2008, 14:41 -0400 schrieb Chris Knadle: > > However on the last test I did make an error and left out the -d > > option to grub-probe, and that's required for the grub-probe to succeed, > > so unfortunately the output I posted is erroneous. > > A new one is attached which has Robert's patch applied -- it does > > succeed in finding the partition, but unfortunately we can't fix the > > problem this way because I believe it makes Apple partition detection > > *always* fail. > > Urgs, yeah didn't see that. > You have to use -d if you give a device. > Why do you think that with this it will always fail? Because the test that the patch does is to check for an HFS+ filesystem magic number against the first 2 bytes on the drive, which contains a jump vector for the Grub stage1 binary. i.e. in order for the test to pass, Grub has to be unbootable. > Maybe you can try this out? :) I normally don't run Apple machines. I have an old 400MHz iMac G3 (the type that is housed inside of a monitor) available to me, but replacing the hard disk requires a somewhat messy disassembly effort. I also have an external Firewire enclosure I could theoretically try this with, but I don't know how I'd get the G3 to attempt to boot on it. I'd much rather be looking at C code than spending the next two days futzing with an old Apple box. :-/ -- Chris -- Chris Knadle Chris.Knadle@coredump.us