Bug fix: -as mkisofs -no-emul-boot without -boot-load-size defaulted to size 4

This commit is contained in:
2016-11-13 11:13:33 +01:00
parent 76ac0d87a8
commit 8adbb1de7e
13 changed files with 194 additions and 129 deletions

View File

@ -837,7 +837,7 @@ boot catalog with one or more boot images, which are binary program
files stored in the ISO image. The content of the boot image files is
not in the scope of El Torito.
xorriso composes the boot catalog according to the boot image files
given and structured by options -b, -e, -el-torito-alt-boot, and
given and structured by options -b, -e, -eltorito-alt-boot, and
--efi-boot. Often it contains only one entry.
Normally the boot images are data files inside the ISO filesystem. By
special path "-interval:appended_partition_NNN:all::" it is possible to
@ -881,11 +881,16 @@ the System Area.
Perform -eltorito-alt-boot, option -e with the given iso_rr_path,
-no-emul-boot, and again -eltorito-alt-boot. This gesture is used
for achieving EFI-bootability of the GRUB2 rescue CD.
-boot-load-size number
-boot-load-size number|"full"
Set the number of 512-byte blocks to be loaded at boot time from
the boot image in the current catalog entry. Non-emulating BIOS
bootimages usually need a load size of 4. EFI boot images usually
get set the number of blocks occupied by the boot image file.
the boot image in the current catalog entry.
Non-emulating BIOS bootimages usually need a load size of 4.
Nevertheless the default setting of mkisofs is to use the full size
of the boot image rounded up to a multiple of 4 512-byte blocks.
This default may be explicitely enforced by the word "full" instead
of a number.
EFI boot images usually get set the number of blocks occupied by
the boot image file.
El Torito cannot represent load sizes higher than 65535.
-hard-disk-boot
Mark the boot image in the current catalog entry as emulated hard
@ -1884,13 +1889,13 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* --acl Recording of ACLs: SetExtras. (line 95)
* --application_use set Application Use field: ImageId. (line 79)
* --boot-catalog-hide Hide El Torito boot catalog: Bootable. (line 107)
* --boot-catalog-hide Hide El Torito boot catalog: Bootable. (line 112)
* --efi-boot El Torito EFI boot image: Bootable. (line 59)
* --embedded-boot Fill System Area e.g. by MBR: SystemArea. (line 79)
* --emul-toc enable table-of-content emulation: SetProduct. (line 33)
* --for_backup Enable backup fidelity: SetExtras. (line 92)
* --gpt_disk_guid GPT GUID: SystemArea. (line 220)
* --grub2-boot-info Patch El Torito boot image: Bootable. (line 95)
* --grub2-boot-info Patch El Torito boot image: Bootable. (line 100)
* --grub2-mbr Install modern GRUB2 MBR: SystemArea. (line 81)
* --grub2-sparc-core SUN SPARC core file: SystemArea. (line 275)
* --hardlinks Recording of hardlink relations: SetExtras. (line 116)
@ -1936,9 +1941,9 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -b El Torito PC-BIOS boot image: Bootable. (line 38)
* -B SUN SPARC boot images: SystemArea. (line 260)
* -biblio set Biblio File path: ImageId. (line 62)
* -boot-info-table Patch El Torito boot image: Bootable. (line 90)
* -boot-info-table Patch El Torito boot image: Bootable. (line 95)
* -boot-load-size El Torito boot image load size: Bootable. (line 63)
* -c El Torito boot catalog name: Bootable. (line 100)
* -c El Torito boot catalog name: Bootable. (line 105)
* -C set load address and write address offset: Loading. (line 25)
* -cdrecord-params set load address and write address offset: Loading.
(line 46)
@ -1960,10 +1965,10 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -efi-boot-part EFI boot partition: SystemArea. (line 210)
* -eltorito-alt-boot begin next boot catalog entry: Bootable. (line 47)
* -eltorito-boot El Torito PC-BIOS boot image: Bootable. (line 45)
* -eltorito-catalog El Torito boot catalog name: Bootable. (line 105)
* -eltorito-id El Torito boot section id string: Bootable. (line 79)
* -eltorito-catalog El Torito boot catalog name: Bootable. (line 110)
* -eltorito-id El Torito boot section id string: Bootable. (line 84)
* -eltorito-selcrit El Torito boot selection criteria: Bootable.
(line 86)
(line 91)
* -exclude exclude disk files from inserting: SetInsert. (line 37)
* -exclude-list exclude disk files from inserting: SetInsert. (line 44)
* -f follow symbolic links on disk: SetInsert. (line 22)
@ -1977,7 +1982,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -graft-points enable target=source pathspecs: SetInsert. (line 28)
* -gui increase frequency of pacifier messages: Miscellaneous.
(line 29)
* -hard-disk-boot El Torito boot image emulation: Bootable. (line 69)
* -hard-disk-boot El Torito boot image emulation: Bootable. (line 74)
* -help list supported options: Miscellaneous. (line 21)
* -hfs-bless HFS+ blessing ppc_bootdir: SetExtras. (line 201)
* -hfs-bless-by HFS+ blessing: SetExtras. (line 191)
@ -2038,7 +2043,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -mips-boot MIPS Big Endian boot image: SystemArea. (line 249)
* -mipsel-boot MIPS Little Endian boot image: SystemArea. (line 255)
* -N omit version number in ISO file names: SetCompl. (line 64)
* -no-emul-boot El Torito boot image emulation: Bootable. (line 72)
* -no-emul-boot El Torito boot image emulation: Bootable. (line 77)
* -no-pad do not add zeros to ISO tree: SetProduct. (line 93)
* -o set output file address: SetProduct. (line 8)
* -old-exclude exclude disk files from inserting: SetInsert. (line 42)
@ -2119,17 +2124,17 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Block address, set sorting weight, --sort-weight-patterns: SetProduct.
(line 76)
* Bootability, boot catalog hidden, --boot-catalog-hide: Bootable.
(line 107)
(line 112)
* Bootability, boot catalog name, -c, -eltorito-catalog: Bootable.
(line 100)
(line 105)
* Bootability, boot image emulation, -hard-disk-boot: Bootable.
(line 69)
(line 74)
* Bootability, boot image load size, -boot-load-size: Bootable.
(line 63)
* Bootability, boot image patching, --grub2-boot-info: Bootable.
(line 95)
(line 100)
* Bootability, boot image patching, -boot-info-table: Bootable.
(line 90)
(line 95)
* Bootability, bootable MBR partition, --mbr-force-bootable: SystemArea.
(line 131)
* Bootability, control, --grub2-sparc-core: SystemArea. (line 275)
@ -2147,9 +2152,9 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Bootability, control, -mips-boot: SystemArea. (line 249)
* Bootability, control, -mipsel-boot: SystemArea. (line 255)
* Bootability, El Torito section id string, -eltorito-id: Bootable.
(line 79)
(line 84)
* Bootability, El Torito selection criteria, -eltorito-selcrit: Bootable.
(line 86)
(line 91)
* Bootability, fill System Area e.g. by MBR, -G, --embedded-boot, -generic-boot: SystemArea.
(line 68)
* Bootability, for CHRP, -chrp-boot-part: SystemArea. (line 233)
@ -2167,7 +2172,7 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
(line 108)
* Bootability, next entry, -eltorito-alt-boot: Bootable. (line 47)
* Bootability, no boot image emulation, -no-emul-boot: Bootable.
(line 72)
(line 77)
* Bootability, partitions like with isohybrid, -part_like_isohybrid: SystemArea.
(line 120)
* Bootability, patch System Area partition table, --protective-msdos-label: SystemArea.
@ -2335,24 +2340,24 @@ Node: SetExtras21966
Node: SetHide32539
Node: ImageId33843
Node: Bootable38125
Node: SystemArea43653
Node: Charset60333
Node: Jigdo61358
Node: Miscellaneous65635
Node: Examples67280
Node: ExSimple67774
Node: ExGraft68257
Node: ExMkisofs69557
Node: ExGrowisofs70823
Node: ExIncBackup72013
Node: ExIncBckAcc75174
Node: ExBootable76863
Node: Files81045
Node: Environ82140
Node: Seealso82911
Node: Bugreport83562
Node: Legal84155
Node: CommandIdx85052
Node: ConceptIdx100490
Node: SystemArea43896
Node: Charset60576
Node: Jigdo61601
Node: Miscellaneous65878
Node: Examples67523
Node: ExSimple68017
Node: ExGraft68500
Node: ExMkisofs69800
Node: ExGrowisofs71066
Node: ExIncBackup72256
Node: ExIncBckAcc75417
Node: ExBootable77106
Node: Files81288
Node: Environ82383
Node: Seealso83154
Node: Bugreport83805
Node: Legal84398
Node: CommandIdx85295
Node: ConceptIdx100733

End Tag Table