public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Rod Smith <rodsmith@rodsbooks.com>
To: edk2-devel@lists.01.org
Subject: Re: How can we identify an ISO file is an EFI bootable ISO image?
Date: Tue, 20 Jun 2017 13:36:56 -0400	[thread overview]
Message-ID: <648c681f-008b-e483-dd93-38d8bccaeb61@rodsbooks.com> (raw)
In-Reply-To: <46cef850-9a4f-b521-a379-037dae1d1a2b@redhat.com>

On 06/20/2017 12:47 PM, Laszlo Ersek wrote:
> On 06/20/17 14:34, Heyi Guo wrote:
> 
>> Several tools like mount in Linux will show all files together
>> including EFI/BOOT directory,
> 
> That directory, displayed as part of the ISO9660 filesystem that was
> written to the ISO image / CD-ROM, is entirely irrelevant when it comes
> to UEFI-bootability. I doesn't even need to exist, and if it does, it's
> likely there only for convenience reasons (so that people don't have to
> run "dumpet" or similar tools to extract the FAT image first, and then
> the EFI binaries second, if they want to investigate the EFI binaries).
> 
> For UEFI boot, only the ElTorito image matters.

MOSTLY, yes; however, some EFI implementations include ISO-9660 drivers.
This is definitely true of the EFI used by VirtualBox. I think I've seen
this feature on one or two UEFI-based PCs, too, but I don't recall the
details and I can't say I'm 100% certain of this. There are also
ISO-9660 drivers floating around that can be loaded from a FAT
partition. In either of these cases, the files on the ISO-9660
filesystem can be used to boot from an optical disc, even if it lacks
the El Torito image.

This is admittedly a corner case at best; but IMHO it's worth keeping in
mind, since non-matching El Torito and ISO-9660 files could lead to user
(or developer) confusion.

-- 
Rod Smith
rodsmith@rodsbooks.com
http://www.rodsbooks.com


  reply	other threads:[~2017-06-20 17:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20 12:34 How can we identify an ISO file is an EFI bootable ISO image? Heyi Guo
2017-06-20 16:47 ` Laszlo Ersek
2017-06-20 17:36   ` Rod Smith [this message]
2017-06-20 18:11     ` Laszlo Ersek
2017-06-21  0:48   ` Heyi Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=648c681f-008b-e483-dd93-38d8bccaeb61@rodsbooks.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox