From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M4Tdt-0004MZ-8a for mharc-grub-devel@gnu.org; Thu, 14 May 2009 01:38:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4Tdp-0004M7-Ha for grub-devel@gnu.org; Thu, 14 May 2009 01:38:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4Tdk-0004LV-FR for grub-devel@gnu.org; Thu, 14 May 2009 01:38:00 -0400 Received: from [199.232.76.173] (port=34061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4Tdk-0004LQ-5d for grub-devel@gnu.org; Thu, 14 May 2009 01:37:56 -0400 Received: from nougat.ucs.ed.ac.uk ([129.215.13.205]:62111) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M4Tdj-0007qX-KA for grub-devel@gnu.org; Thu, 14 May 2009 01:37:55 -0400 Received: from lmtp1.ucs.ed.ac.uk (lmtp1.ucs.ed.ac.uk [129.215.149.64]) by nougat.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id n4E5bnNS017810 for ; Thu, 14 May 2009 06:37:53 +0100 (BST) Received: from [127.0.0.1] (jamesjarvis.resnet.ed.ac.uk [10.36.0.18]) by lmtp1.ucs.ed.ac.uk (8.13.8/8.13.7) with ESMTP id n4E5bka4004244 for ; Thu, 14 May 2009 06:37:46 +0100 (BST) Message-ID: <4A0BAE32.9020000@ed.ac.uk> Date: Thu, 14 May 2009 06:37:54 +0100 From: James Jarvis User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: The development of GRUB 2 References: <4A0AE8BE.9010103@ed.ac.uk> <48f46e890905132131j6f963fb5ifd4a0e8b4419585b@mail.gmail.com> In-Reply-To: <48f46e890905132131j6f963fb5ifd4a0e8b4419585b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.13.205 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: Re: 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: Thu, 14 May 2009 05:38:02 -0000 Good to hear it is not just me finding it useful - certainly handy for portable rescue media. I take it there is no workaround (on Macs) for having a blessed hfsplus filesystem with a blessed grub.efi - that is, on removable media (usb/cd) for booting in efi mode (I know isolinux works fine in legacy boot mode). James Peter Cros wrote: > Hi, > > Thanks for the idea, here fat grub.efi tested ok on imac8,1 (64) and > MacBook2,1 (32), using working grub32.efi and grub64.efi with their > preloaded modules. > > ./fatglue.py grub2202f.efi grub2202-32.efi grub2202-64.efi > > compile and fatglue were all done in OSX10.5.6. > > Debian sid 2.6.29.1-amd64 boots for me on imac8,1 using > > menuentry "sid amd64 fbdev sda9" { > fakebios > root=hd0,9 > linux /vmlinuz root=/dev/sda9 video=efifb noefi > initrd /initrd.img > } > > > On Thu, May 14, 2009 at 1:35 AM, James Jarvis > wrote: > > 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. > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > > > > -- > Cros (pxw) > > > ------------------------------------------------------------------------ > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.