Re: xorriso (& genisoimage) missing various eltorito options.
"Thomas Schmitt" <[email protected]>
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
B.S. wrote:
> In the mean time, being on Debian myself, probably not?
You could volunteer to try the newest GNU xorriso snapshot.
I read the man page of contemporary mkisofs
http://cdrtools.sourceforge.net/private/man/cdrecord/mkisofs.8.html
and implemented in xorriso's mkisofs emulation:
-eltorito-platform "x86"|"PPC"|"Mac"|"efi"|0xnn|nnn
Set the Platform Id number for the next option -b or
-eltorito-boot. The number may be chosen by a platform name or
by a number between 0 and 255 (0x00 and 0xFF). "x86" = 0 is for
PC-BIOS, "PPC" = 1 for some PowerPC systems, "Mac" = 2 for some
MacIntosh systems, "efi" = 0xEF for EFI on modern PCs with x86
compatible CPUs or others.
If the new platform id differs from the previous one,
-eltorito-alt-boot is performed.
There may still be subtle differences between this and the behavior of
mkisofs. (But i lowered myself to make -eltorito-alt-boot conditional. :))
A test with
xorriso -as mkisofs -o test.iso \
-b bios_image -no-emul-boot -boot-load-size 4 -boot-info-table \
-eltorito-alt-boot \
-eltorito-platform 0xEF -eltorito-boot efi_image -no-emul-boot \
images_directory
yields an ISO about which
xorriso -indev test.iso -report_el_torito plain
reports
El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA
El Torito boot img : 1 BIOS y none 0x0000 0x00 4 3937
El Torito boot img : 2 UEFI y none 0x0000 0x00 15612 34
El Torito img path : 1 /bios_image
El Torito img opts : 1 boot-info-table
El Torito img path : 2 /efi_image
-------------------------------------------------------------------
GNU xorriso is a static compilation of the same source which Debian
has as 4 libraries and a small binary. Other than the libraries it
exists not only as release versions but also as development snapshot.
To get the current development snapshot do
mkdir "$HOME"/xorriso_dir
cd "$HOME"/xorriso_dir
wget http://www.gnu.org/software/xorriso/xorriso-1.4.7.tar.gz
tar xzf xorriso-1.4.7.tar.gz
cd xorriso-1.4.7
./configure && make
This needs the tools from Debian meta-package "build-essential":
gcc, ld, "make", ...
(The MD5 of the current tarball is 46e10e669732d47151fa42a71500bfbf.
In a few days, there may be a new upload with different MD5, though.)
After above commands there should be a binary which can tell its version
$ ./xorriso/xorriso -version
GNU xorriso 1.4.7 : RockRidge filesystem manipulator, libburnia project.
...
xorriso version : 1.4.7
Version timestamp : 2017.06.03.163742
...
Next replace the little Debian xorriso binary by the large GNU xorriso:
xorriso="$(which xorriso)"
sudo mv "$xorriso" "$xorriso"-debian
sudo cp xorriso/xorriso "$xorriso"
Verify that you now have GNU xorriso in the command PATH
xorriso -version
and then try whether it brings better results with Mondo Rescue.
Have a nice day :)
Thomas
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot