New command -extract_boot_images

This commit is contained in:
2020-12-05 09:53:59 +01:00
parent e97cd48ee0
commit 47be075c45
16 changed files with 647 additions and 131 deletions

View File

@ -4330,6 +4330,34 @@ The directory permissions on disk have to allow rwx.
The further parameters in all modes are the iso_rr_paths of data
files. Their content gets concatenated in the copy.
-extract_boot_images disk_path
Copy boot equipment to disk, which is not necessarily represented
as data files in the ISO filesystem. The data get written into
various files in a disk directory, which may already exist or of
which the parent must exist so that it can get created.
Files may be missing if their corresponding information is not
present in the ISO filesystem. Existing files do not get
overwritten but rather cause a failure event.
The same data may appear in different files. E.g. the El Torito
boot image for EFI is often the same data as the EFI partition in
MBR or GPT.
File "eltorito_catalog.img" contains the El Torito Boot Catalog.
Files "eltorito_img*_*.img" contain El Torito Boot images. The
first "*" gives the image number, the second "*" gives the type:
"bios", "mac", "ppc", "uefi", or a hex number.
File "mbr_code_isohybrid.img" contains the ISOLINUX MBR template.
File "mbr_code_grub2.img" contains the GRUB2 MBR template.
File "systemarea.img" contains the whole 32 KiB of System Area if
not all zero.
Files "mbr_part*_efi.img" contain EFI partition images from the MBR
partition table. The "*" text part gives the partition number.
Files "mbr_part*_prep.img" contain PReP partition images.
Files "gpt_part*_efi.img" contain EFI partition images from GPT.
Files "gpt_part*_hfsplus.img" contain HFS+ partition images from
GPT. To avoid extracting the whole HFS+ aspect of hybrid ISO
filesystems, the partition image is extracted only if it has less
than half of the size of the ISO filesystem or if the partition is
outside the ISO filesystem.
-mount drive entity id path
Produce the same line as -mount_cmd and then execute it as external
program run after giving up the depicted drive. See also
@ -5579,6 +5607,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -external_filter registers data filter: Filter. (line 20)
* -external_filter unregisters data filter: Filter. (line 47)
* -extract copies file tree to disk: Restore. (line 83)
* -extract_boot_images copies boot equipment to disk: Restore.
(line 167)
* -extract_cut copies file piece to disk: Restore. (line 101)
* -extract_l copies files to disk: Restore. (line 97)
* -extract_single copies file to disk: Restore. (line 94)
@ -5636,7 +5666,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -md5 controls handling of MD5 sums: Loading. (line 184)
* -mkdir creates ISO directory: Insert. (line 177)
* -modesty_on_drive keep drive buffer hungry: SetWrite. (line 406)
* -mount issues mount command for ISO session: Restore. (line 167)
* -mount issues mount command for ISO session: Restore. (line 195)
* -mount_cmd composes mount command line: Inquiry. (line 49)
* -mount_cmd controls mount command: Inquiry. (line 65)
* -msg_op perform operations on program messages: Frontend. (line 27)
@ -5993,6 +6023,8 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Relocation directory, set name, -rr_reloc_dir: SetWrite. (line 150)
* Rename, in ISO image, -move: Manip. (line 31)
* Rename, in ISO image, -mv: Manip. (line 37)
* Restore, copy boot equipment to disk, -extract_boot_images: Restore.
(line 167)
* Restore, copy file into disk file, -paste_in: Restore. (line 135)
* Restore, copy file piece to disk, -extract_cut: Restore. (line 101)
* Restore, copy file to disk, -extract_single: Restore. (line 94)
@ -6008,7 +6040,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Rock Ridge, _definition: Extras. (line 6)
* Session, altered start address, -displacement: Loading. (line 78)
* Session, info string, -session_string: Inquiry. (line 74)
* Session, issue mount command, -mount: Restore. (line 167)
* Session, issue mount command, -mount: Restore. (line 195)
* Session, log when written, -session_log: Scripting. (line 134)
* Session, mount command line, -mount_cmd: Inquiry. (line 49)
* Session, mount parameters, -mount_opts: Inquiry. (line 65)
@ -6093,32 +6125,32 @@ Node: Inquiry197867
Node: Navigate206749
Node: Verify215456
Node: Restore226605
Node: Emulation236588
Node: Scripting247044
Node: Frontend254827
Node: Examples264453
Node: ExDevices265631
Node: ExCreate266292
Node: ExDialog267592
Node: ExGrowing268863
Node: ExModifying269672
Node: ExBootable270182
Node: ExCharset270737
Node: ExPseudo271633
Node: ExCdrecord272560
Node: ExMkisofs272880
Node: ExGrowisofs274777
Node: ExException275930
Node: ExTime276388
Node: ExIncBackup276846
Node: ExRestore280872
Node: ExRecovery281818
Node: Files282390
Node: Environ283724
Node: Seealso284472
Node: Bugreport285189
Node: Legal285780
Node: CommandIdx286792
Node: ConceptIdx304481
Node: Emulation238304
Node: Scripting248760
Node: Frontend256543
Node: Examples266169
Node: ExDevices267347
Node: ExCreate268008
Node: ExDialog269308
Node: ExGrowing270579
Node: ExModifying271388
Node: ExBootable271898
Node: ExCharset272453
Node: ExPseudo273349
Node: ExCdrecord274276
Node: ExMkisofs274596
Node: ExGrowisofs276493
Node: ExException277646
Node: ExTime278104
Node: ExIncBackup278562
Node: ExRestore282588
Node: ExRecovery283534
Node: Files284106
Node: Environ285440
Node: Seealso286188
Node: Bugreport286905
Node: Legal287496
Node: CommandIdx288508
Node: ConceptIdx306333

End Tag Table