From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aCWPv-0003eK-PS for mharc-grub-devel@gnu.org; Fri, 25 Dec 2015 12:44:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCWPt-0003dP-Fx for grub-devel@gnu.org; Fri, 25 Dec 2015 12:44:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCWPs-0006A8-Jv for grub-devel@gnu.org; Fri, 25 Dec 2015 12:44:37 -0500 Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:32907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCWPo-00069Z-3h; Fri, 25 Dec 2015 12:44:32 -0500 Received: by mail-lb0-x232.google.com with SMTP id sv6so64120236lbb.0; Fri, 25 Dec 2015 09:44:31 -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=mLCZaO8fH8YRPUQxiClIOlbxN3mlKy44Py4LKX06QHE=; b=nFL6kOguAHBsOscQeye8v+VGsr2dzqEHcVjOG74CJWOMq4pa/KnR1/7xn9a+K9bSln akZ8mpSqep8YHu5ZMEINHTZngyX1ysb0NqiZBH+8VaRdZhTUcm+KusGyTfrULTQinQ22 WYb8ovKOdawAqCLou7QPtQNIPWy5Q6cq1Y+Z6+X0bnAIF/P+kr31qxW9hXAReQjdUbOg ZpsVCGhHB3plKe38IdLw1RykTGl/uBaohO1mDbhOWiNGVKyqtH35GYnMpPCktT4lYI6Q /i/2McYsD+ZnoLLuWwlwqMy5TOoc0O5Deoa8Rm5s/qzXvZ3xJiMpR6zuq1VvvUAp2Al/ dskQ== X-Received: by 10.112.129.233 with SMTP id nz9mr14890298lbb.112.1451065471164; Fri, 25 Dec 2015 09:44:31 -0800 (PST) Received: from [192.168.1.41] (ppp91-76-25-247.pppoe.mtu-net.ru. [91.76.25.247]) by smtp.gmail.com with ESMTPSA id l138sm8409736lfe.47.2015.12.25.09.44.29 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Dec 2015 09:44:30 -0800 (PST) Subject: Re: [Bug-xorriso] grub-mkrescue does not boot on older Macs as USB stick To: "Alexander E. Patrakov" , 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> From: Andrei Borzenkov Message-ID: <567D807D.9000004@gmail.com> Date: Fri, 25 Dec 2015 20:44:29 +0300 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: <567D7E7C.6020006@gmail.com> Content-Type: text/plain; charset=utf-8 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:4010:c04::232 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:44:38 -0000 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 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 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. > > 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).