Hi,

scsijon wrote:
> the -q should be I think -p

I wonder why mkisofs does not fail if -q is given.
My local copy of mkisofs shows me the help text instead.

But genisoimage tolerates -q. Seems to mistake it for "-quiet".

Is the script available online for curious inspection ?

Google found me
  https://github.com/arete/t2/blob/master/scripts/Create-ISO
which has "mkisofs -q" in line 326, but also option -r, which
should enable Rock Ridge and thus prevent the warning:

> Warning: creating filesystem with (nonstandard) Joliet extensions
>          but without (standard) Rock Ridge extensions.
>          It is highly recomended to add rock Ridge.
> [...]
> Not sure if it shouldn't be added.

If you changed -q to -p then this ate up the next argument
"-r" as Preparer Id text of the emerging ISO. No Rock Ridge, then.

I'd rather propose to change -q to -quiet.

--------------------------------------------------------------------

May i also propose to add "xorrisofs" to the list of compatible
programs in line 78 ?

  for x in genisoimage mkisofs; do

(It does not tolerate -q, either.)

--------------------------------------------------------------------

I cannot keep myself from making some lengthy remarks about the
sparse boot equipment of t2-8.0-minimal-i486.iso of 2010.
(I could not find a 9.0 ISO.)

The ISO is bootable only via El Torito, i.e. from CD, DVD, or BD media.
Not from hard-disk-ish devices like USB sticks.

Current bootloaders GRUB2 and ISOLINUX can provide a PC-BIOS MBR
for booting from (pseudo) hard disk. ISOLINUX calls this feature
"isohybrid".

GRUB2 can boot hard disk or optical media via UEFI firmware, too. 
Its script grub-mkrescue sets up the boot equipment and controls
a xorriso run to produce the bootable ISO.
GRUB2 script grub-mkrescue is not overly popular among
traditional distros, although it produces quite versatile ISOs
with arbitrary operating system payload.

SYSLINUX/ISOLINUX provides a program named "isohybrid" which
post-processes an El Torito bootable ISO in order to add an MBR.
It also provides MBR template files which xorriso can include
into the ISO at production time, so that no post-processing is
needed.
ISOLINUX cannot boot from optical media via UEFI, yet.

Many Linux distros use a mix for their amd64 images:
ISOLINUX for PC-BIOS, GRUB2 for UEFI.
See for example debian-7.5.0-amd64-netinst.iso which bears:

El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz         LBA
El Torito boot img :   1  BIOS  y   none  0x0000  0x00      4        1072
El Torito boot img :   2  UEFI  y   none  0x0000  0x00    896         848
El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
El Torito img path :   2  /boot/grub/efi.img
[...]
System area summary: MBR isohybrid cyl-align-on GPT APM
[...]
MBR partition table:   N Status  Type        Start       Blocks
MBR partition      :   1   0x80  0x00            0       454656
MBR partition      :   2   0x00  0xef         3392          896
MBR partition path :   2  /boot/grub/efi.img
GPT                :   N  Info
GPT disk GUID      :      b3aadf1d79f37941a9e16e9d465702f1
GPT entry array    :      12  208  overlapping
GPT lba range      :      64  454602  454655
GPT partition name :   1  490053004f00480079006200720069006400
GPT partname local :   1  ISOHybrid
GPT partition GUID :   1  b3aadf1d79f37941a9e36e9d465702f1
GPT type GUID      :   1  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   1  0x1000000000000001
GPT start and size :   1  0  454600
GPT partition name :   2  490053004f004800790062007200690064003100
GPT partname local :   2  ISOHybrid1
GPT partition GUID :   2  b3aadf1d79f37941a9e26e9d465702f1
GPT type GUID      :   2  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   2  0x1000000000000001
GPT start and size :   2  3392  896
GPT partition path :   2  /boot/grub/efi.img
[...]

In this ISO, El Torito offers two boot alternatives for BIOS and
UEFI. This is in effect if the ISO is booted from optical media.
PC-BIOS starts /isolinux/isolinux.bin.
UEFI looks into the FAT filesystem image /boot/grub/efi.img
for its boot equipment.

If presented on a hard-disk-like medium, PC-BIOS starts the MBR
machine code, which jumps to the ISOLINUX El Torito boot image
/isolinux/isolinux.bin.
UEFI gets pointed by MBR and GPT partitions number 2 to the
FAT filesystem image /boot/grub/efi.img of GRUB2.


Have a nice day :)

Thomas



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to