[syslinux] isohybrid --mac doesn't find the mac efi image

Fernando Reyes email at missionaccomplish.com
Sat Feb 8 18:41:16 PST 2014


On 02/08/14 17:40, Thomas Schmitt wrote:
> -eltorito-id "MAC" \
thanks a lot, that seems to allow isohybrid --mac to work \o/

for the curious this is the image before and after isohybrid as shown by
gparted

* output from xorriso

xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:../image.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 16.5g free
Added to ISO image: directory '/'='/chroot/livecd32/real-small'
xorriso : UPDATE : 36 files added in 1 seconds
xorriso : UPDATE : 36 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file
'/usr/share/syslinux/isohdpfx.bin'
libisofs: NOTE : Aligned image size to cylinder size by 80 blocks
xorriso : UPDATE :  40.00% done
ISO image produced: 20480 sectors
Written to medium : 20480 sectors at LBA 0
Writing to 'stdio:../image.iso' completed successfully.

* output from gdisk -l image.iso showing both MBR and GPT layouts

# gdisk -l ../image.iso
GPT fdisk (gdisk) version 0.8.6

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: present

Found valid MBR and GPT. Which do you want to use?
 1 - MBR
 2 - GPT
 3 - Create blank GPT

Your answer: 2
Using GPT and creating fresh protective MBR.
Warning! Main partition table overlaps the first partition by 64 blocks!
You will need to delete this partition or resize it in another utility.
Disk ../image.iso: 83968 sectors, 41.0 MiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0C3C93F0-74AE-430E-B40C-7066F358BC7D
Partition table holds up to 192 entries
First usable sector is 64, last usable sector is 83918
Partitions will be aligned on 8-sector boundaries
Total free space is 3 sectors (1.5 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2            2232           42551   19.7 MiB    0700  ISOHybrid2
   3           42552           52615   4.9 MiB     0700  ISOHybrid1

# gdisk -l ../image.iso
GPT fdisk (gdisk) version 0.8.6

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: present

Found valid MBR and GPT. Which do you want to use?
 1 - MBR
 2 - GPT
 3 - Create blank GPT

Your answer: 1
Entering GPTPart::SetName(const UnicodeString...)
Entering GPTPart::SetName(const UnicodeString...)
Disk ../image.iso: 83968 sectors, 41.0 MiB
Logical sector size: 512 bytes
Disk identifier (GUID): F40ECEDC-A44C-49B1-AC22-CE710DD89E42
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 83934
Partitions will be aligned on 8-sector boundaries
Total free space is 33517 sectors (16.4 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2           42552           52615   4.9 MiB     EF00  EFI System
   3            2232           42551   19.7 MiB    EF00  EFI System

* xorriso -index image.iso -toc

xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 36 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is
set to be discarded
Drive current: -indev 'image.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , ISOLINUX isohybrid MBR pointing to boot image
Media summary: 1 session, 20992 data blocks, 41.0m data, 16.2g free
Volume id    : 'UEFI_TESTING'
Drive current: -indev 'image.iso'
Drive type   : vendor 'YOYODYNE' product 'WARP DRIVE' revision 'FX01'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Media blocks : 20992 readable , 8492956 writable , 8513948 overall
Boot record  : El Torito , ISOLINUX isohybrid MBR pointing to boot image
Boot catalog : '/isolinux/boot.cat'
Boot image   : '/isolinux/isolinux.bin' , boot_info_table=on
Boot image   : '/boot/efiboot.img' , platform_id=0xEF
Boot image   : '/boot/macboot.img' , platform_id=0xEF
TOC layout   : Idx ,  sbsector ,       Size , Volume Id
ISO session  :   1 ,         0 ,     20992s , UEFI_TESTING
Media summary: 1 session, 20992 data blocks, 41.0m data, 16.2g free
Media nwa    : 20992s

* output after running isohybrid --uefi --mac

# gdisk -l image.iso
GPT fdisk (gdisk) version 0.8.6

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: present

Found valid MBR and GPT. Which do you want to use?
 1 - MBR
 2 - GPT
 3 - Create blank GPT

Your answer: 1
Entering GPTPart::SetName(const UnicodeString...)
Disk image.iso: 86016 sectors, 42.0 MiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6BE2F352-0635-4F67-9851-084496302983
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 85982
Partitions will be aligned on 8-sector boundaries
Total free space is 75885 sectors (37.1 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2           42552           52615   4.9 MiB     EF00  EFI System

# gdisk -l image.iso
GPT fdisk (gdisk) version 0.8.6

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: present

Found valid MBR and GPT. Which do you want to use?
 1 - MBR
 2 - GPT
 3 - Create blank GPT

Your answer: 2
Using GPT and creating fresh protective MBR.
Warning! Main partition table overlaps the first partition by 48 blocks!
You will need to delete this partition or resize it in another utility.
Disk image.iso: 86016 sectors, 42.0 MiB
Logical sector size: 512 bytes
Disk identifier (GUID): C1D60C7A-AC2A-4620-ABE3-44D2C60020A0
Partition table holds up to 128 entries
First usable sector is 48, last usable sector is 85982
Partitions will be aligned on 8-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2           42552           52615   4.9 MiB     0700  åä¡æ¹æ¥²dçæ±°eçæ±°
   3            2232           42551   19.7 MiB    AF00  åä¡æ¹æ¥²dçæ±°eçæ±°

ok, I don't know what that garble text is above. I hope this answers
your questions. Thanks for the support.






-- 
Thank you,
Fernando Reyes
GPG BDD75DD7
Mission Accomplish, Inc.
http://missionaccomplish.com
Email:design at missionaccomplish.com
Tel: 7187100008
Cell: 3479275477



More information about the Syslinux mailing list