From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aBUGP-0001v0-Es for mharc-grub-devel@gnu.org; Tue, 22 Dec 2015 16:14:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBTll-00075m-1r for grub-devel@gnu.org; Tue, 22 Dec 2015 15:42:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBTlk-00048q-4G for grub-devel@gnu.org; Tue, 22 Dec 2015 15:42:52 -0500 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:35265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBTli-00048S-4K; Tue, 22 Dec 2015 15:42:50 -0500 Received: by mail-wm0-x229.google.com with SMTP id l126so124793570wml.0; Tue, 22 Dec 2015 12:42:49 -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=stspQ5h8n429tw8kc9TojL/B/OlmcQ7vEAbTXVk/XjU=; b=aXEBW8MGErME/Zu26qBo1wVCtwWv3pte/4fOAWxMN+Lo9G2g80xmnxOykT10WqZvGF wkLIsq6GafUEv2o0Cj8blbc7Wl4i2qxpYJC/cCAxPqVVwgkOAbCLWokvBI1okoZtxEUW wfoLZ6o/cnhQGMBp3HhPbqQTdWr1jeQdRnymQ/rW5upMDum3JBZS83So3KQNAjWYT7hl Al6Q0EZ74cezF2awM7Ys1qQbIp4hA/gZ7H3iBMHHdvNmTBsJe0slx0Aw6m2cPTZBHxQv +kUNGZFBuL9ToSv7V7XTVjYYGoHjJSAKPtc6S03kPD+LdVAkRXxhwjbyNT8bx6OZ+lIb Yreg== X-Received: by 10.194.79.8 with SMTP id f8mr30222520wjx.6.1450816969526; Tue, 22 Dec 2015 12:42:49 -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 197sm26437591wmt.19.2015.12.22.12.42.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Dec 2015 12:42:48 -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: <5679AC52.50604@gmail.com> From: "Alexander E. Patrakov" Message-ID: <5679B5C6.7090508@gmail.com> Date: Wed, 23 Dec 2015 01:42:46 +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: <5679AC52.50604@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::229 X-Mailman-Approved-At: Tue, 22 Dec 2015 16:14:32 -0500 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: Tue, 22 Dec 2015 20:42:54 -0000 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