From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M4GUz-0005lc-U8 for mharc-grub-devel@gnu.org; Wed, 13 May 2009 11:36:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4GUy-0005jv-1x for grub-devel@gnu.org; Wed, 13 May 2009 11:36:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4GUt-0005ht-9P for grub-devel@gnu.org; Wed, 13 May 2009 11:35:59 -0400 Received: from [199.232.76.173] (port=36143 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4GUt-0005hn-2Q for grub-devel@gnu.org; Wed, 13 May 2009 11:35:55 -0400 Received: from treacle.ucs.ed.ac.uk ([129.215.16.102]:44195) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M4GUs-0001PD-J0 for grub-devel@gnu.org; Wed, 13 May 2009 11:35:54 -0400 Received: from lmtp1.ucs.ed.ac.uk (lmtp1.ucs.ed.ac.uk [129.215.149.64]) by treacle.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id n4DFZWwX029906 for ; Wed, 13 May 2009 16:35:37 +0100 (BST) Received: from emperor.ucs.ed.ac.uk (emperor.ucs.ed.ac.uk [194.81.249.143]) by lmtp1.ucs.ed.ac.uk (8.13.8/8.13.7) with ESMTP id n4DFZQLE007455 for ; Wed, 13 May 2009 16:35:31 +0100 (BST) Message-ID: <4A0AE8BE.9010103@ed.ac.uk> Date: Wed, 13 May 2009 16:35:26 +0100 From: James Jarvis User-Agent: Thunderbird 2.0.0.19 (X11/20090107) MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.16.102 X-Scanned-By: MIMEDefang 2.52 on 129.215.149.64 Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Subject: grub2 and fat efi files on latest Apples 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: Wed, 13 May 2009 15:36:00 -0000 Newbie post but hopefully I will be providing some useful data rather than merely questions... I have been using the svn trunk over the last few days with some success compiling 32 and 64 bit EFI grub and creating a dual architecture grub.efi from the results that seems to work on hard disk on newer and older Apple Intel Macs. I use the fatglue.py python script from refit to make the fat grub.efi. Not sure if anyone else is doing anything similar... I have observed that fat modules don't work - need to use grub-mkimage to insert all the required modules. Another interesting observation (not really grub but maybe worth comment) is that using a Linux 2.6.29.2 kernel and initrd on the newer macs in efi mode boot (uses framebuffer console) works up until the insertion of modules. It appears that some modules do insert and other don't. The same kernel and initrd booted in "legacy mode" (after a call to fakebios) boots fine. Finally, the reboot call from linux on the iMac 9,1 hangs - possibly an issue with fakebios??? If the output of grub-dumpbios is any use let me know... Models tested (all intel) macmini iMac 4,1 requires ia32 or "fat" grub.efi iMac 8,1 requires x86_64 or "fat" grub.efi iMac 9,1 requires x86_64 or "fat" grub.efi James -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.