Re: Proposal to change partition table layouts for EFI bootable ISOs
> >- Fully specs compliant GPT announced by Protective MBR.
> > Produced by grub-mkrescue.
> > [...]
> > GPT partitioning of an image file has the disadvantage that the GPT backup
> > at the end of the image will not sit at the end of the physical storage
Steve McIntyre wrote:
Just for completeness:
The proposed layout can be achieved by submitting to grub-mkrescue a
wrapper script as pseudo-xorriso:
To be used like:
grub-mkrescue ...your.options... \
-partition_offset 16 -iso_mbr_part_type 0x83 \
The script manipulates the options which grub-mkrescue submits to xorriso,
maybe moves the EFI image file out of the temporary directory with the
prepared files, and then runs real xorriso to produce the ISO image.
Further it can fix a pitfall for ~2010 MacBooks caused by the use of mformat
for creating the EFI partition image.
(See script comments up to "Do the work".)
Have a nice day :)