From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aCWHe-0002Zr-Mk for mharc-grub-devel@gnu.org; Fri, 25 Dec 2015 12:36:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCWHc-0002YZ-5Q for grub-devel@gnu.org; Fri, 25 Dec 2015 12:36:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCWHb-0004M2-7w for grub-devel@gnu.org; Fri, 25 Dec 2015 12:36:04 -0500 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:38129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCWHY-0004K3-Vw; Fri, 25 Dec 2015 12:36:01 -0500 Received: by mail-wm0-x236.google.com with SMTP id l126so211623320wml.1; Fri, 25 Dec 2015 09:36:00 -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=FaCRCTDAMjAu07nMxYr2nzwv1eEyW0q3HPa0CDijlHk=; b=0mBS6zgwy+ReLbVWaRIHKBh40nZCROfLojd3wBiP3Xeinb4HkME430vPIB5qb8gA/A D00Q/OG+OFXq8rzzx2dlEFJMN8hqh5imwb9kg1Zb2ZfszkhncaGQFoK4DtYCKu1MPyVK lB2IycArmc7M/fjlox03Fcrfz1wftotKf6ldNrCAclodws3xRT91zJX4WExi22msysbn XKjq8EkoEcqe9iuKjI5GXW96HusdVa9m/CnriuKtUSMC7xwnbkwJ8eS+Wyc7Iw1ZH3LT xfFJEpw3b2nev7Po0Y7L/yCiyMPI7uS9cFBwqP11KPUHBg+w+u+teokUtDTYJ0Y5ErqV d4ww== X-Received: by 10.28.3.131 with SMTP id 125mr43871495wmd.64.1451064960034; Fri, 25 Dec 2015 09:36:00 -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 g3sm45784470wjw.31.2015.12.25.09.35.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Dec 2015 09:35:58 -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> From: "Alexander E. Patrakov" Message-ID: <567D7E7C.6020006@gmail.com> Date: Fri, 25 Dec 2015 22:35:56 +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: <567C52E1.7080603@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::236 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:36:05 -0000 (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. 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. 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. -- Alexander E. Patrakov