[syslinux] isohybrid: slint64-14.1.iso: unable to find mac efi image

Ady ady-sf at hotmail.com
Thu Jul 31 02:12:41 PDT 2014


> Hi,
> 
> On 29/07/2014 23:19, Thomas Schmitt wrote:
>  > A good opportunity to brag with xorriso's boot inspection
>  > features (since xorriso-1.3.8):
> Yes! I've upgraded libburn, libisofs and libisoburn so now I can play
> with it too ;)
> 
>  > I forgot to advise (or misadvise) -isohybrid-apm-hfsplus with
>  > the image /isolinux/efiboot.img . So we only got one APM
>  > partition here. A slight deviation from mjg59's layout.
>  >
>  > It is a lie to give efiboot.img the partition type Apple_HFS.
>  > isohybrid.c does it that way. So the perfect mimic would be
>  >     -e isolinux/efiboot.img  \
>  >     -isohybrid-gpt-basdat -isohybrid-apm-hfsplus \
>  > instead of
>  >     -e isolinux/efiboot.img  \
>  >     -isohybrid-gpt-basdat \
> 
> I tried that and got this, which is what was expected I think:
> 
> xorriso 1.3.8 : RockRidge filesystem manipulator, libburnia project.
> xorriso : NOTE : Loading ISO image tree from LBA 0
> xorriso : UPDATE : 34 nodes read in 1 seconds
> xorriso : NOTE : Detected El-Torito boot information which currently is 
> set to be discarded
> Drive current: -indev '/tmp/slint64-14.1.iso'
> Media current: stdio file, overwriteable
> Media status : is written , is appendable
> Boot record  : El Torito , MBR isohybrid cyl-align-on GPT APM
> Media summary: 1 session, 38912 data blocks, 76.0m data, 6379m free
> Volume id    : 'SlintISO'
> El Torito catalog  : 42  1
> El Torito cat path : /isolinux/isolinux.boot
> El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt Ldsiz         LBA
> El Torito boot img :   1  BIOS  y   none  0x0000  0x00 4          43
> El Torito boot img :   2  UEFI  y   none  0x0000  0x00 2880          55
> El Torito boot img :   3  UEFI  y   none  0x0000  0x00 5472         775
> El Torito img path :   1  /isolinux/isolinux.bin
> El Torito img opts :   1  boot-info-table isohybrid-suitable
> El Torito img path :   2  /isolinux/efiboot.img
> El Torito img path :   3  /isolinux/macboot.img
> System area options: 0x00000102
> System area summary: MBR isohybrid cyl-align-on GPT APM
> ISO image size/512 : 155648
> Partition offset   : 0
> MBR heads per cyl  : 64
> MBR secs per head  : 32
> MBR partition table:   N Status  Type        Start       Blocks
> MBR partition      :   1   0x80  0x00            0       155648
> MBR partition      :   2   0x00  0xef          220         2880
> MBR partition      :   3   0x00  0x00         3100         5472
 
 

Please forgive my ignorance... Why is the type of #3 "0x00" and not 
"0xef" (or other)?

Also, are we sure that all efi booting images are supposed to be 
"no-emulation"?
 
 
> MBR partition path :   2  /isolinux/efiboot.img
> MBR partition path :   3  /isolinux/macboot.img
> GPT                :   N  Info
> GPT disk GUID      :      dd6fcff38adacf46b128287f6f7a9136
> GPT entry array    :      16  192  overlapping
> GPT lba range      :      64  155598  155647
> GPT partition name :   1  490053004f00480079006200720069006400
> GPT partname local :   1  ISOHybrid
> GPT partition GUID :   1  dd6fcff38adacf46b12b287f6f7a9136
> GPT type GUID      :   1  a2a0d0ebe5b9334487c068b6b72699c7
> GPT partition flags:   1  0x1000000000000001
> GPT start and size :   1  0  155596
> GPT partition name :   2  490053004f004800790062007200690064003100
> GPT partname local :   2  ISOHybrid1
> GPT partition GUID :   2  dd6fcff38adacf46b12a287f6f7a9136
> GPT type GUID      :   2  a2a0d0ebe5b9334487c068b6b72699c7
> GPT partition flags:   2  0x1000000000000001
> GPT start and size :   2  220  2880
> GPT partition path :   2  /isolinux/efiboot.img
> GPT partition name :   3  490053004f004800790062007200690064003200
> GPT partname local :   3  ISOHybrid2
> GPT partition GUID :   3  dd6fcff38adacf46b129287f6f7a9136
> GPT type GUID      :   3  005346480000aa11aa1100306543ecac
> GPT partition flags:   3  0x1000000000000001
> GPT start and size :   3  3100  5472
> GPT partition path :   3  /isolinux/macboot.img
> APM                :   N  Info
> APM block size     :      2048
> APM gap fillers    :      0
> APM partition name :   1  EFI
> APM partition type :   1  Apple_HFS
> APM start and size :   1  55  720
> APM partition path :   1  /isolinux/efiboot.img
> APM partition name :   2  EFI
> APM partition type :   2  Apple_HFS
> APM start and size :   2  775  1368
> APM partition path :   2  /isolinux/macboot.img
> 
> But then for my "real" tries I wen back to using used xorriso
> following your good advice.
> 
>  > -------------------------------------------------------------------
>  > Your are back on the track blazed by Fedora Live.
> 
> Alas, I tried to boot off an USB key on a recent MacBook but that failed.
> I saw two boot media on Apple's Boot Manager, both called EFI Boot (??)
 
 
Hmm, I noticed that xorriso builds the boot catalog with both efi 
images under one Section Entry, whereas mksiofs builds the boot 
catalog with 2 separated Section Entries, one for each of the two efi 
boot images.

Additionally, I wonder whether the "bit 5" of "byte 1" in the Section 
Entry Extension (which IMHO is poorly documented in every 
documentation I have read) might have some influence on this Didier's 
experience.

> 
> Clicking on each I could see grub's  menu and navigate in it but after
> choosing and entry I just saw a line with:
> 
>    Loading huge.s kernel and installer inkitrd. Please wait...
> 
> 
> In a vmplayer VM I see this message too but it disappears after a few
> seconds and the machine boots -- but not that Mac.
> 
> I changed the name of the blessed EFI file in CoreServices to boot.efi as
> it seems that shouls be but no luck.
> 
> I realize that I'm slipping off topic, but would be grateful for any clue,
> including an advice on  who outside of this list's members can help me
> further.
> 
> Have a good day,
> 
> Didier
> 
> PS I have updated the content of http://slint.fr/misc/MacBoot that now
> reflects my last try.
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> 




More information about the Syslinux mailing list