From: Georg Wicherski <gw@oxff.net>
To: grub-devel@gnu.org
Subject: Re: grub-efi with latest mac mini
Date: Mon, 04 Jun 2012 10:52:42 +0200 [thread overview]
Message-ID: <4FCC775A.8030905@oxff.net> (raw)
In-Reply-To: <654DF80AD31A344E93DBCC6280BD6DEF4ADA4F37@NL0230MBX08N1.DIR.slb.com>
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
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
[-- Attachment #2: grub.cfg --]
[-- Type: text/plain, Size: 349 bytes --]
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
}
[-- Attachment #3: mkimage.sh --]
[-- Type: application/x-shellscript, Size: 199 bytes --]
next prev parent reply other threads:[~2012-06-04 9:02 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-04 8:12 grub-efi with latest mac mini John Frankish
2012-06-04 8:52 ` Georg Wicherski [this message]
2012-06-04 9:57 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-04 10:22 ` John Frankish
2012-06-08 12:58 ` FW: " John Frankish
2012-06-08 13:46 ` Georg Wicherski
2012-06-08 14:18 ` John Frankish
2012-06-08 15:29 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-08 17:35 ` John Frankish
2012-06-08 17:45 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-08 17:57 ` John Frankish
2012-06-08 18:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 7:35 ` John Frankish
2012-06-09 7:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 8:57 ` John Frankish
2012-06-09 9:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 10:29 ` John Frankish
2012-06-09 10:49 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 11:16 ` John Frankish
2012-06-09 11:21 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 11:42 ` John Frankish
2012-06-09 12:00 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 12:09 ` John Frankish
2012-06-09 18:05 ` Chris Murphy
2012-06-10 21:38 ` FW: " Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-11 4:42 ` John Frankish
2012-06-20 5:48 ` John Frankish
2012-06-20 7:25 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-20 7:41 ` John Frankish
2012-06-21 5:38 ` John Frankish
2012-06-22 11:24 ` John Frankish
2012-06-08 18:08 ` irrational John
2012-06-08 18:34 ` Chris Murphy
2012-06-08 18:50 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-08 18:57 ` Seth Goldberg
2012-06-08 19:06 ` Chris Murphy
2012-06-08 19:17 ` Seth Goldberg
2012-06-08 19:01 ` Chris Murphy
2012-06-08 19:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 0:56 ` Chris Murphy
2012-06-08 20:01 ` Georg Wicherski
2012-06-09 0:58 ` Chris Murphy
2012-06-09 12:07 ` Georg Wicherski
2012-06-09 18:02 ` Chris Murphy
2012-06-09 18:42 ` Georg Wicherski
2012-06-09 19:19 ` Chris Murphy
2012-06-09 20:52 ` Georg Wicherski
2012-06-10 19:37 ` Chris Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FCC775A.8030905@oxff.net \
--to=gw@oxff.net \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.