From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aCWVK-0004EV-TM for mharc-grub-devel@gnu.org; Fri, 25 Dec 2015 12:50:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCWVI-0004E0-7h for grub-devel@gnu.org; Fri, 25 Dec 2015 12:50:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCWVH-0007ZZ-80 for grub-devel@gnu.org; Fri, 25 Dec 2015 12:50:12 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:38193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCWVE-0007Yb-Q4; Fri, 25 Dec 2015 12:50:08 -0500 Received: by mail-wm0-x231.google.com with SMTP id l126so211817725wml.1; Fri, 25 Dec 2015 09:50:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=84n+lkn8niXaBBdWqFAV6HsVuwFuV+eAdCGwpBsEAgc=; b=z8LcudUyssAtB2gHKPx8wlz+1AKDPcjI4JD2OTiaqUiFk/wwWDyHkgLT1giGu5ICyG RVtarswIXr6LT79LVY5KdfdjYK1DoQwdgdnIv6RpGE6wcCIn1HpAHt0+d82SfbkesJwF CiriV88ls7qLrJ2HutZQOe+fCerhbJPWvet+ESLdOzq6XQBlY2Ib5GN8sRHbMnhv99Un vcDaN1oqCjmoVgEt8AEA+N/NqmsSMXYcQ2oGKkLuQPg4sWenhtjZMcMlwBUke8zn03ib EZ9ym74H8deP/BAgPG/RcO9u0FWqJBIFNwrtKkMpqybISvRirqL6y2RypP4UngAYpgkq 3/cA== X-Received: by 10.195.18.6 with SMTP id gi6mr49025699wjd.83.1451065808191; Fri, 25 Dec 2015 09:50:08 -0800 (PST) Received: from ?IPv6:2001:470:28:8b0:96de:80ff:fe6f:9ad4? ([2001:470:28:8b0:96de:80ff:fe6f:9ad4]) by smtp.googlemail.com with ESMTPSA id r10sm21490170wjz.24.2015.12.25.09.50.06 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Dec 2015 09:50:07 -0800 (PST) Subject: Re: [Bug-xorriso] grub-mkrescue does not boot on older Macs as USB stick To: Andrei Borzenkov , The development of GNU GRUB , bug-xorriso@gnu.org References: <5679AC5E.2080300@gmail.com> <567AEB71.7020208@gmail.com> <567AF803.7080005@gmail.com> <567C52E1.7080603@gmail.com> <567D7E7C.6020006@gmail.com> <567D807D.9000004@gmail.com> From: "Alexander E. Patrakov" Message-ID: <567D81CD.6070609@gmail.com> Date: Fri, 25 Dec 2015 22:50:05 +0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <567D807D.9000004@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::231 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: Fri, 25 Dec 2015 17:50:13 -0000 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