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: How to prepare an ISO 9660 CD for booting via GRUB ?
Date: Fri, 02 Apr 2010 00:43:27 +0200	[thread overview]
Message-ID: <4BB5218F.2000000@gmail.com> (raw)
In-Reply-To: <10580264889772@192.168.2.69>

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

Thomas Schmitt wrote:
> Hi,
>
> Vladimir '?-coder/phcoder' Serbinenko wrote:
>   
>> - Is it possible to declare the whole iso for hard-disk emulation for
>> providing emulating image for buggy BIOSes
>>     
>
> libisofs.h describes type ELTORITO_HARD_DISC_EMUL
> with API call iso_image_set_boot_image().
> http://bazaar.launchpad.net/%7Elibburnia-team/libisofs/scdbackup/annotate/head%3A/libisofs/libisofs.h
>
> To my knowledge this is not tested yet.
> xorriso surely has no option to trigger it.
> But that is easily implemented as soon as a
> sincere tester shows up.
>
>
>   
Should be easily testable with qemu. I can do it. The only problem is
whether we should declare both possibilities in el torito because having
2 possible boots in eltorito is likely to trigger even more bugs. I
think it should be an option to grub-mkrescue which emulation to use.
>> - Is it possible to have HFS support in xorriso? It would allow merging
>> PPC grub-mkrescue into generic one.
>>     
>
> Ouch.
>
> In principle it should work like Joliet:
> A complete second directory tree that co-exists
> with the ECMA-119/RockRidge tree. They only
> share data file contents.
> But i have no clue of HFS. Actually i use any
> possible excuse to not start working on UDF.
>
> I can promise to help integrating HFS into
> libisofs if somebody shows up who has the
> necessary HFS knowledge and comprehensive
> testing capabilities.
>
>   
I have an imac g3 I could test it on. The only catch is that I have no
burner at home. But it should be manageable. I never looked deeply into
HFS but I think I can do it.
>   
>>>   --modification-date         Override modification date
>>>       
>> this is needed to know the creation date (which is use as disk
>> identifier in GRUB) before image is complete.
>>     
>
> Should not be a big problem. libisofs will get a
> new API call for that.
> Are there more add-on options which i should
> implement ?
>
>
>   
Other than protective label, not off the top of my head.
>>>   --protective-msdos-label    Patch a protective DOS-style label
>>>       
>> This one adds a simple partition table spanning across whole image of
>> type 0xCD
>>     
>
> To bytes 446 - 509 of the image ?
> Type 0xCD in byte 450 ?
>   
Currently we use first and not last entry. You need to:
1) Zero-fill 446-510
2) Put 0x55, 0xAA into 510-512
3) Put 0x80 (for bootable partition), 0, 2, 0 (C/H/S of the start), 0xcd
(partition type), [3 bytes of C/H/S end], 0x01, 0x00, 0x00, 0x00 (LBA
start in little endian), [LBA end in little endian] at 446-462
> Eventually into the data provided by 
> --embedded-boot ?
>   
Yes
> (Does it make sense without --embedded-boot ?)
>
>   
Yes, for example to allow people dd images to USB sticks without a fear
of another OS willing to format the stick.
> Syslinux isohybrid rounds up the image size
> to full MB. (I understand because it sets
> 64 heads * 32 sectors = 2048 * 512 bytes
> per cylinder)
> Is that necessary with --protective-msdos-label ?
>
>   
No


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



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

  reply	other threads:[~2010-04-01 22:46 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 [this message]
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
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=4BB5218F.2000000@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.