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, 24 Apr 2010 21:54:31 +0200 [thread overview]
Message-ID: <4BD34C77.4020605@gmail.com> (raw)
In-Reply-To: <106429013518011@192.168.2.69>
[-- Attachment #1: Type: text/plain, Size: 3056 bytes --]
Thomas Schmitt wrote:
> Hi,
>
>
>> Ok, legacy :(. But --efi-boot would have no legacy.
>>
>
> --efi-boot will be all at your service. :))
> The more definite your wishes, the more swift
> their implementation.
>
> Maybe we should call it --efi-grub-boot just
> to make clear whom it cares for ?
>
>
Right now it has nothing grub-specific. However I don't care much about
the exact name. Feel free to use whatever you want and I'll make the
adjustments in grub-mkrescue
> Shall the --efi* option have any influence on
> the BIOS boot stuff except the boot catalog ?
> (Default Entry, BIOS boot image, ...)
>
>
No
> xorriso-0.5.3 timestamp 2010.04.18.100814
> allows to set LBA sorting weights.
> Within the mkisofs emulation it is:
>
> --sort-weight number ISO-path
>
> If ISO-path is a directory, then its whole tree
> is affected. --sort-weight can get overridden by
> further --sort-weight options. They get applied
> after all files are added to the image.
>
> The boot catalog already has a hardcoded weight
> of 1000 in libisofs. It cannot be influenced by
> --sort-weight because it gets created after the
> image manipulations are done.
> The boot catalog of grub-mkrescue has no ISO-path
> anyway (no option -c).
>
> So in grub-mkrescue , this would give all files
> weight 0, then override the /boot/grub tree by 1,
> and the -b file by 2:
>
> --sort-weight 0 / \
> --sort-weight 1 /boot/grub \
> --sort-weight 2 /boot/grub/i386-pc/eltorito.img \
>
>
Thanks for the information. I'll look into it.
> After the image is written, xorriso can display
> the data LBAs of regular files:
>
> xorriso \
> -indev image.iso \
> -find / -sort_lba -exec report_lba -- \
> 2>/dev/null | less
>
> yields:
> Report layout: xt , Startlba , Blocks , Filesize , ISO image path
> File data lba: 0 , 38 , 12 , 24317 , '/boot/grub/i386-pc/eltorito.img'
> File data lba: 0 , 50 , 6 , 10564 , '/boot/grub/i386-pc/acpi.mod'
> ...
>
> For the boot catalog LBA, one has to peek binary
> (even if there was a ISO-path leading to it).
> This reads the LBA word from El Torito record:
>
> dd if=image.iso bs=1 skip=34887 count=4 \
> 2>/dev/null | od -x
>
> yields LBA 37 (decimal)
> 0000000 0025 0000
>
>
> (There is a mkisofs option -sort with a file as
> argument where single files get a weight.
> Wildcards are promised in mkisofs/README.sort.
> For now i deem that rather unappealing.)
>
> ------------------------------------------------
>
>
> I will now finish multi-session MBR handling and
> release libisoburn-0.5.4.
> Then begins the next development cycle with EFI,
> adjustable boot catalog weight, ...
>
>
> 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-24 19:54 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
2010-04-18 11:26 ` Thomas Schmitt
2010-04-24 19:54 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
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=4BD34C77.4020605@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.