[syslinux] [PATCH v2] isohybrid: user options

H. Peter Anvin hpa at zytor.com
Fri May 15 07:42:59 PDT 2009


Luciano Miguel Ferreira Rocha wrote:
> Allow the user to define the type of partition and its number from the
> command line.
> 
> The following example creates partition number 4 with type 1c (hidden
> FAT32 LBA):
>   isohybrid -p4 -t1c hybrid.iso
> 
> Values can be separated from options:
>   isohybrid -p 1 -t 7 hybrid.iso
> ---
>  utils/isohybrid.in |   11 +++++++++--
>  1 files changed, 9 insertions(+), 2 deletions(-)
> 

Another option we probably should consider is the non-zero-offset
option, since there are reported BIOSes that don't boot without it.  The
 somewhat obvious offset to use is 16 CD-ROM sectors (32K, 64 HD
sectors) as that is the offset of the ISO 9660 filesystem superblock.

The part that becomes really messy with that is that the resulting
partition isn't a standard ISO 9660 filesystem anymore (if you can
consider anything on a non-CD standard).  I *think* under Linux you can
mount such a partition with the option "sbsector=0", or Linux can
probably mount the raw device (/dev/sda as opposed to /dev/sda1).

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list