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: Fri, 25 Dec 2015 22:50:05 +0500 [thread overview]
Message-ID: <567D81CD.6070609@gmail.com> (raw)
In-Reply-To: <567D807D.9000004@gmail.com>
25.12.2015 22:44, Andrei Borzenkov пишет:
> 25.12.2015 20:35, Alexander E. Patrakov пишет:
>> (all of the testing below was actually performed by Robert Jones, I only
>> built the ISOs)
>>
>> 25.12.2015 01:17, Andrei Borzenkov пишет:
>>> 23.12.2015 22:37, Alexander E. Patrakov пишет:
>>>> Bytes 0x3e .. 0x1fe: x86 bootstrap code, which is not executed and thus
>>>> is likely not significant.
>>>>
>>>
>>> Wanna bet?
>>>
>>> Could you test if the attached patch works for you on newer Mac? Note,
>>> that it still does not detect EFI bootable USB stick if it is inserted
>>> before power on - only when you stop in boot manager and insert stick.
>>
>> I cannot confirm this finding.
>
> It means fix does not work?
The fix works.
Contrary to your statement, the USB stick works if it is inserted before
power on. It also works when you stop in boot manager and insert stick.
>
>> The ISOs made before the fix hang the
>> boot manager if booted from a USB flash drive. The ISOs made with the
>> fix boot correctly (and show exactly one "EFI Boot" entry) both when
>> cold-plugged and when hot-plugged.
>>
>
> Please, PLEASE - always make clear, *where* you test it!
The 2007 Mac.
>
>> The testing was done with grub commit id a9399f2.
>>
>>> It also still does not boot from the second (unknown) EFI suggested for
>>> CD. But this second choice is also present only when CD is inserted
>>> before power on - it is not shown if CD is inserted in boot manager.
>>
>> Not tested.
>>
>>> I also do not get "Windows" menu choice on USB. May be because there is
>>> no active partition.
Correction: this only applies to the 2007 Mac. Other models not tested.
>>
>> Even if I add a one-sector bootable partition of type 0 (as done by
>> xorriso 1.4.3 with -DLibisofs_protective_msdos_plus_boot_dummY
>> -DLibisofs_pmpbd_on_lba0), it doesn't show "Windows" when booted from USB.
>>
>
> But your screenshots you posted earlier had it. I wonder what is the
> difference (not that I care about legacy boot, but the more we
> understand the better).
Are you referring to screenshots at
https://goo.gl/photos/GRS5khE8r7Xgat9L8 ? They are from the 2012 Mac
model. There was another statement from me about the Windows boot
option, and it also was about the 2012 model.
--
Alexander E. Patrakov
next prev parent reply other threads:[~2015-12-25 17:50 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-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 [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-22 20:02 Andrei Borzenkov
2015-12-22 20:42 ` [Bug-xorriso] " 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=567D81CD.6070609@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.