All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: xorriso and EFI boot images
Date: Sat, 24 Apr 2010 21:07:23 +0200	[thread overview]
Message-ID: <4BD3416B.7040401@gmail.com> (raw)
In-Reply-To: <10646747054989@192.168.2.69>

[-- Attachment #1: Type: text/plain, Size: 3543 bytes --]


Thomas Schmitt wrote:
> Hi,
>
> the fresh development upload of xorriso-0.5.5
> with timestamp 2010.04.22.160615 implements the
> wish about --efi-boot :
>
>   
I've tested xorriso version   :  0.5.5 Version timestamp : 
2010.04.22.221241 and it worked fine.

> 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.
>
>   
It's already so.
> ------------------------------------------------
>
>
> 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 ?
>   
It looks like ISOs I had under the hand with multiple boot images just
zero-fill this field.

> 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."
>
>   
Actualy it seems like it can be an arbitrary string and BIOS doesn't
care about it. Just setting it to all zeros is ok. Looking at few isos I
had under the hand:
FreeBSD ISOs: "The FreeBSD Project.  h"
NetBSD: ""
DEbian GNU/Hurd: ""


>   
> ------------------------------------------------
>
>
> 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
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]

  parent reply	other threads:[~2010-04-24 19:07 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
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 [this message]
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=4BD3416B.7040401@gmail.com \
    --to=phcoder@gmail.com \
    --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.