Comment 14 for bug 1298894

Revision history for this message
Thomas Schmitt (scdbackup) wrote :

Hi,

> so it seems there's no official way to install Debian on your system.

If the theory with the multiple El Torito boot images is right,
then Debian 7 i386 ISOs should boot.
They have the same firmware related equipment as
trusty-desktop-amd64+mac.iso.

> Have you seen
> http://askubuntu.com/questions/37999/what-is-different-about-the-mac-iso-image

Now i have. It all smells like "One leg good, two legs bad".

One could cut off the surplus leg.

  Boot record : El Torito , ISOLINUX isohybrid MBR pointing to boot image
  Boot catalog : '/boot.cat'
  Boot image : '/isolinux.bin' , boot_info_table=on
  Boot image : '/boot/grub/efi.img' , platform_id=0xEF
  TOC layout : Idx , sbsector , Size , Volume Id
  ISO session : 1 , 0 , 14879s , CDROM

- I read the catalog block number as little endian 32-bit word from
  ISO image byte offset 32768 + 2048 + 71. (Byte offset count starts at 0.)

- In that block (2048 bytes per block), i zeroize the bytes 64 to 2047.
  Actually it should suffice to zeroize only byte 64. But i see all
  zeros in the working boot catalog of amd64+mac.

Et voila ...

  Boot record : El Torito , ISOLINUX isohybrid MBR pointing to boot image
  Boot catalog : '/boot.cat'
  Boot image : '/isolinux.bin' , boot_info_table=on
  TOC layout : Idx , sbsector , Size , Volume Id
  ISO session : 1 , 0 , 14879s , CDROM

This can be done by shell commands on a little endian machine.
Just combine eval, expr, dd, od, head, sed. :)))
Nevertheless one will be better off with a different programming
language.

Such a program could be included in the ISO.
Usage: Mount ISO, run program, unmount ISO, burn to DVD.

Have a nice day :)

Thomas