From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Subject: Re: xorriso and EFI boot images
Date: Thu, 22 Apr 2010 20:00:13 +0200 [thread overview]
Message-ID: <10646747054989@192.168.2.69> (raw)
In-Reply-To: <4BCD962C.5010603@gmail.com>
Hi,
the fresh development upload of xorriso-0.5.5
with timestamp 2010.04.22.160615 implements the
wish about --efi-boot :
Vladimir Serbinenko wrote 17 Apr 2010:
> I would like to have efi+bios cd with 2 eltorito
> entries: one with platformid=0 and another one with platformid=0xef.
> [...]
> I would like that on hybrid BIOS always come in
> default entry to avoid hitting BIOS bugs
> In case of just EFI the Section header entry and Section entry become
> Validation entry and default entry.
So now xorriso -as mkisofs has this provisory
behavior:
-b is for 80x86 BIOS images, platform ID 0.
Options -boot-load-size, -no-emul-boot,
-boot-info-table affect this -b boot image.
--efi-boot is for EFI images, platform id 0xef.
Hardcoded are: no emulation, no boot info table.
The load size is obtained from the size of the
EFI image file and rounded up to full 512 byte
blocks.
Prone to change is the current rule that the
EFI image always is second if a BIOS image is
present. I will probably make this depending on
the sequence of options in future.
Please take care in grub-mkrescue to express
your desired sorting by giving -b before
--efi-boot.
------------------------------------------------
Quote from El Torito 1.0 paragraph 2.3
"The section header has an identification string.
If the BIOS understands the ID, string it may
choose to boot the system using one of these
entries in place of the INITIAL/DEFAULT entry."
What does that mean: "the BIOS understands" ?
Do we have to write something particular in
there for EFI ?
Any idea what one would have to write in case of
a 80x86-BIOS image ?
The Validation Entry has an ID too.
But that is defined as quite meaningless:
"This is intended to identify the
manufacturer/developer of the CD-ROM."
------------------------------------------------
Currently libisofs is able to write and read up
to 32 boot images. It writes each image entry
into an own section, but i plan to allow sections
of more than one image entry and user provided
ID strings.
xorriso on the other hand got only a primitive
extension efi_path, which lives beneath bin_path.
This is not flexible. So i plan for improvements.
Nevertheless, the option sequence
-b ... --efi-boot ...
is promised to always lead to Vladimir's intended
boot catalog structure.
------------------------------------------------
I tested with dummy boot images.
The boot catalog entries seem to be ok.
Now i am curious whether i misunderstood the
specs somewhere or whether it really would boot.
Have a nice day :)
Thomas
next prev parent reply other threads:[~2010-04-22 18:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-20 11:10 xorriso and EFI boot images Thomas Schmitt
2010-04-20 11:55 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-20 13:11 ` Thomas Schmitt
2010-04-22 18:00 ` Thomas Schmitt [this message]
2010-04-22 20:27 ` Seth Goldberg
2010-04-22 20:29 ` Seth Goldberg
2010-04-22 22:30 ` Thomas Schmitt
2010-04-24 19:30 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-24 19:07 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-25 8:22 ` Thomas Schmitt
2010-04-29 16:46 ` Thomas Schmitt
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-all 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=10646747054989@192.168.2.69 \
--to=scdbackup@gmx.net \
--cc=grub-devel@gnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.