All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Jarvis <James.Jarvis@ed.ac.uk>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: grub2 and fat efi files on latest Apples
Date: Thu, 14 May 2009 06:37:54 +0100	[thread overview]
Message-ID: <4A0BAE32.9020000@ed.ac.uk> (raw)
In-Reply-To: <48f46e890905132131j6f963fb5ifd4a0e8b4419585b@mail.gmail.com>

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 <James.Jarvis@ed.ac.uk 
> <mailto:James.Jarvis@ed.ac.uk>> 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 <mailto: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.




      reply	other threads:[~2009-05-14  5:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-13 15:35 grub2 and fat efi files on latest Apples James Jarvis
2009-05-14  4:31 ` Peter Cros
2009-05-14  5:37   ` James Jarvis [this message]

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=4A0BAE32.9020000@ed.ac.uk \
    --to=james.jarvis@ed.ac.uk \
    --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.