From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: How to prepare an ISO 9660 CD for booting via GRUB ?
Date: Sat, 17 Apr 2010 22:30:45 +0200 [thread overview]
Message-ID: <4BCA1A75.4010702@gmail.com> (raw)
In-Reply-To: <10642486746847@192.168.2.69>
[-- Attachment #1: Type: text/plain, Size: 2713 bytes --]
Thomas Schmitt wrote:
> Hi,
>
>
>> I attach the patch I used for dirty checks
>>
>
> Oh. You already tested.
> And ? Did it boot ?
>
>
Yes it booted in qemu-tianocore.
>> Why not to determine it [-boot-load-size] from
>> file size by default?
>>
>
> Because mkisofs doesn't do that, afaik.
> One never knows what happens if one deviates from
> the old ways by default.
>
Ok, legacy :(. But --efi-boot would have no legacy.
> (See Joliet and grub 1.96. I now go the old
> way by default. So grub-mkrescue 1.96 boots from
> CD.)
>
It was a grub bug.
>
>
>> The problem is that I would like to have efi+bios cd with 2 eltorito
>> entries: one with platformid=0 and another one with platformid=0xef.
>>
>
> Ahum. More than one boot table entry.
> Would they point to different boot images ?
>
>
Yes
> I.e would we have
> -b <BIOS-image> [-boot-info-table] --efi-boot <EFI-image>
>
>
Yes. Prototype is available at
http://bzr.savannah.gnu.org/r/grub/people/phcoder/rescue-efi/ .
> Is it possible to get an exact prescription, what
> info to write at which byte in the boot catalog ?
>
>
BIOS+EFI one should look like
Validation entry with id = 0
Default entry (BIOS). I would like that on hybrid BIOS always come in
default entry to avoid hitting BIOS bugs
Section header entry: 0x91, 0xef, 0x0001, 0, ..., 0
Section entry: 0x88, 0x00, 0x0000, 0, 0, <number of sectors in EFI boot
image>, <LBA start>, 0, ..., 0
In case of just EFI the Section header entry and Section entry become
Validation entry and default entry.
> I have a PDF: El Torito 1.0, January 25, 1995.
> Figure 1, "Multiple Boot-Image Configuration"
> seems to be what you intend.
> I will try to match this with the existing code
> in libisofs (by Vreixo Formoso).
>
>
> ------------------------------------------------
>
>
>>> Do i get it right that you want the LBA [...]
>>> to be as low as possible ?
>>>
>> Yes and also the offset to files from boot/grub
>> and metadata to reach it
>>
>
> I learned meanwhile that there is a feature
> "weight" in libisofs by which one can influence
> the sequence of the data LBAs. An IsoNode with
> high weight will get a low LBA.
>
> So this is merely a matter of suitable options
> in xorriso, by which one can put weight on files.
>
>
Nice
> ------------------------------------------------
>
>
> 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 --]
next prev parent reply other threads:[~2010-04-17 20:31 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 13:49 How to prepare an ISO 9660 CD for booting via GRUB ? Thomas Schmitt
2010-04-01 16:59 ` Frombenny
2010-04-01 17:59 ` Thomas Schmitt
2010-04-01 19:28 ` Drake Donahue
2010-04-01 20:43 ` Thomas Schmitt
2010-04-01 20:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-01 21:47 ` Drake Donahue
2010-04-01 18:22 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-01 20:25 ` Thomas Schmitt
2010-04-01 20:44 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-01 22:05 ` Thomas Schmitt
2010-04-01 22:43 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-02 9:32 ` Thomas Schmitt
2010-04-02 11:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-02 17:10 ` Thomas Schmitt
2010-04-02 17:24 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-03 8:03 ` Thomas Schmitt
2010-04-03 14:15 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-06 11:26 ` Thomas Schmitt
2010-04-07 12:47 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-07 14:11 ` Thomas Schmitt
2010-04-09 20:53 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-09 22:28 ` Thomas Schmitt
2010-04-09 22:53 ` Seth Goldberg
2010-04-10 7:37 ` Thomas Schmitt
2010-04-10 11:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-10 11:57 ` Thomas Schmitt
2010-04-10 12:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-10 12:57 ` Thomas Schmitt
2010-04-10 15:22 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-10 23:14 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-11 7:46 ` Thomas Schmitt
2010-04-11 12:29 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-11 12:56 ` Thomas Schmitt
2010-04-11 17:32 ` Colin Watson
2010-04-17 14:55 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-17 17:52 ` Thomas Schmitt
2010-04-17 18:04 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-17 19:39 ` Thomas Schmitt
2010-04-17 20:30 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2010-04-18 11:26 ` Thomas Schmitt
2010-04-24 19:54 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-18 12:41 ` 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=4BCA1A75.4010702@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.