From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SbTBd-00041N-UK for mharc-grub-devel@gnu.org; Mon, 04 Jun 2012 05:02:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbTBX-000413-89 for grub-devel@gnu.org; Mon, 04 Jun 2012 05:02:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SbTBV-0006O5-9X for grub-devel@gnu.org; Mon, 04 Jun 2012 05:02:46 -0400 Received: from oxff.net ([46.4.99.131]:58322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbTBV-0006Nc-3T for grub-devel@gnu.org; Mon, 04 Jun 2012 05:02:45 -0400 Received: from [192.168.178.25] (koln-4d0b3726.pool.mediaWays.net [77.11.55.38]) by oxff.net (Postfix) with ESMTPSA id 4595C1F4090 for ; Mon, 4 Jun 2012 10:52:50 +0200 (CEST) Message-ID: <4FCC775A.8030905@oxff.net> Date: Mon, 04 Jun 2012 10:52:42 +0200 From: Georg Wicherski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: grub-efi with latest mac mini References: <654DF80AD31A344E93DBCC6280BD6DEF4ADA4F37@NL0230MBX08N1.DIR.slb.com> In-Reply-To: <654DF80AD31A344E93DBCC6280BD6DEF4ADA4F37@NL0230MBX08N1.DIR.slb.com> X-Enigmail-Version: 1.5pre Content-Type: multipart/mixed; boundary="------------060502010107000902060804" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 46.4.99.131 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2012 09:02:53 -0000 This is a multi-part message in MIME format. --------------060502010107000902060804 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 06/04/2012 10:12 AM, John Frankish wrote: > I've been trying to get grub-efi to work with the latest mac mini. Assuming that you're speaking about the Mid-2011 Mini that I have. > To avoid having no way to boot if I cannot get grub-efi to work, I'm booting via rEFIt at the moment. I simply wrote my GRUB to the EFI FAT partition at BOOTX64.EFI . You can then press the right Alt (Gr) key on your keyboard while powering on the Mini and select "EFI" from the native boot selection menu, it will then launch Grub. Once you feel satisfied with your setup, you can probably bless this as the default loader (never tried, not feeling so save yet). No need for rEFIt. My initrd and kernel also reside on the EFI FAT partition, so I don't need any FS support but FAT in grub (I have HFS+ for supporting OS X at some point, but currently still using the default loader for OS X). Building Grub 1.99 from source and invoking mkimage.sh from the build folder, it'll create my GRUB image with all I need for the Mini. My config is attached, too. You just need to substitute XXX with the / partition of your Linux and YYY with your kernel version. Georg --------------060502010107000902060804 Content-Type: text/plain; charset=UTF-8; name="grub.cfg" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="grub.cfg" timeout=1 default=0 insmod efi_gop insmod gfxterm if loadfont ${prefix}/unicode.pf2 then set gfxmode="1920x1200x32" set gfxpayload=keep # terminal_output gfxterm fi menuentry "Debian Wheezy" { linux ${prefix}/vmlinuz-YYY-amd64 root=/dev/XXX ro quiet splash initrd ${prefix}/initrd.img-YYY-amd64 boot } menuentry "Reboot" { reboot } --------------060502010107000902060804 Content-Type: application/x-shellscript; name="mkimage.sh" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="mkimage.sh" IyEvYmluL2Jhc2gKCi4vZ3J1Yi1ta2ltYWdlIC1PIHg4Nl82NC1lZmkgLWQgZ3J1Yi1jb3Jl IC1vIC4uL2dydWItY29uZmlnL0JPT1RYNjQuRUZJIC1wICcnIHBhcnRfZ3B0IGhmc3BsdXMg ZmF0IG5vcm1hbCBjaGFpbiBib290IGNvbmZpZ2ZpbGUgbGludXggbXVsdGlib290IHNlYXJj aCBwbmcgcmVib290IGVmaV9nb3AgZ2Z4bWVudSBnZnh0ZXJtCg== --------------060502010107000902060804--