From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1O54vu-0004hf-Dg for mharc-grub-devel@gnu.org; Thu, 22 Apr 2010 18:31:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O54vt-0004gn-0e for grub-devel@gnu.org; Thu, 22 Apr 2010 18:31:41 -0400 Received: from [140.186.70.92] (port=53390 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O54vp-0004eZ-V5 for grub-devel@gnu.org; Thu, 22 Apr 2010 18:31:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O54vo-0001dw-9O for grub-devel@gnu.org; Thu, 22 Apr 2010 18:31:37 -0400 Received: from mail.gmx.net ([213.165.64.20]:37914) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O54vn-0001di-Ou for grub-devel@gnu.org; Thu, 22 Apr 2010 18:31:36 -0400 Received: (qmail invoked by alias); 22 Apr 2010 22:31:33 -0000 Received: from 165.126.46.212.adsl.ncore.de (HELO 192.168.2.69) [212.46.126.165] by mail.gmx.net (mp068) with SMTP; 23 Apr 2010 00:31:33 +0200 X-Authenticated: #2145628 X-Provags-ID: V01U2FsdGVkX1/RAPlRqKrR0LXlbdVQHdv/oFK9o+cC3tiyfb0ND/ JyoCjb2oJyOPIf Date: Fri, 23 Apr 2010 00:30:51 +0200 From: "Thomas Schmitt" To: grub-devel@gnu.org References: In-Reply-To: Message-Id: <106469098316503@192.168.2.69> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.56999999999999995 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Subject: Re: xorriso and EFI boot images X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Thu, 22 Apr 2010 22:31:41 -0000 Hi, Seth Goldberg wrote: > BTW, See Fedora's genisoimage for a good example of how they do it. > http://fedoraproject.org/wiki/User:Pjones/BootableCDsForBIOSAndUEFI Thanks for the hint. Ahum ... -eltorito-alt-boot -e images/efiboot.img -no-emul-boot In man mkisofs of 2.01.01a64 and in http://svn.debian.org/wsvn/debburn/cdrkit/trunk/genisoimage/genisoimage.1 i see -eltorito-alt-boot but not -e So the latter is probably a Fedora extension to mkisofs. The description is very similar to what i implemented as --efi-boot. But -no-emul-boot is implied by --efi-boot and we are not in sync with the size of sectors: The web page talks of 2048 where i use 512. As far as El Torito 1.0 is concerned, the case is clear: Figure 5 - Section Entry talks of "virtual/emulated sectors". Paragraph 1.5 defines a Virtual Sector as [0x]200 bytes. A CD sector is [0x]800. But is EFI following this convention ? Vladimir ? 512 or 2048 ? Since -eltorito-alt-boot is part of original mkisofs i will use the same option for my emulation. It will be implicit with --efi-boot. I will have to ponder about implementing option -e . Anybody has a man page where it is described ? > For maximum compatibility, the BIOS entry (platform id 0) should be first. Well, it seems that option -eltorito-alt-boot gives the user the freedom to do it different. Since it is easy to do it right, i am in doubt whether it is worth to force the user. Have a nice day :) Thomas