All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@gmail.com>
To: Andrei Borzenkov <arvidjaar@gmail.com>,
	The development of GNU GRUB <grub-devel@gnu.org>,
	bug-xorriso@gnu.org
Subject: Re: [Bug-xorriso] grub-mkrescue does not boot on older Macs as USB stick
Date: Wed, 23 Dec 2015 01:42:46 +0500	[thread overview]
Message-ID: <5679B5C6.7090508@gmail.com> (raw)
In-Reply-To: <5679AC52.50604@gmail.com>

23.12.2015 01:02, Andrei Borzenkov пишет:
> I tested stock grub-mkrescue on MacBook 3,1 (late 2007, Core 2 Duo) and
> iMac 9.1 (2009, same CPU) as USB stick. Neither boots; moreover,
> inserting USB stick when boot manager is shown hangs system (it stops
> reacting to mouse/keyboard); if stick is inserted during boot it never
> gets as far as even showing boot manager.
>
> Alexander reported something similar for 2007 Macs.
>
> Stick is not detected even when inserted under OS X. MacBook runs 10.7
> and reports that USB stick is not readable and suggests to iniitialize
> it; iMac runs 10.9 and simply ignores it (may be I do not know where to
> look).

Thank you for looking into this. The description does match what was 
communicated to me by the person who owns that 2007 Mac.

I have compiled grub as of git revision a9399f2 on my virtual machine, 
with the same options as Debian does. Actually, I used their packaging 
minus all patches and minus 915resolution add-on. So, I will be able to 
test any further patches on my zoo of machines, too.

The first thought, though, is related to the fact that the Porteus Kiosk 
image uses partitions aligned to 1 MB. It may be a good idea to force 
this on grub-mkrescue command line and test-boot the result.

The second thought is that they built grub with a lot more preloaded 
modules, and removed boot.efi from the EFI image. Instead, they put a 
startup.nsh script there, which tries to run bootia32.efi and bootx64.efi.

-- 
Alexander E. Patrakov


  reply	other threads:[~2015-12-22 21:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22 20:02 grub-mkrescue does not boot on older Macs as USB stick Andrei Borzenkov
2015-12-22 20:42 ` Alexander E. Patrakov [this message]
2015-12-22 23:36   ` grub-mkrescue does not boot on older Macs as USBstick Thomas Schmitt
  -- strict thread matches above, loose matches on Subject: below --
2015-12-22 20:02 grub-mkrescue does not boot on older Macs as USB stick Andrei Borzenkov
2015-12-23 18:44 ` Andrei Borzenkov
2015-12-23 19:37   ` [Bug-xorriso] " Alexander E. Patrakov
2015-12-24 20:17     ` Andrei Borzenkov
2015-12-25 17:35       ` Alexander E. Patrakov
2015-12-25 17:44         ` Andrei Borzenkov
2015-12-25 17:50           ` Alexander E. Patrakov

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=5679B5C6.7090508@gmail.com \
    --to=patrakov@gmail.com \
    --cc=arvidjaar@gmail.com \
    --cc=bug-xorriso@gnu.org \
    --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.