Bug#731709: Preliminary patch for EFI boot support in live-build
Hi,
On Wed, 10 Dec 2014, Thomas Schmitt wrote:
> How was the result from older xorriso better than from
> the newer one ?
>
> Which particular version produced better, which version
> produced the worse image ?
It's not about a particular version of xorriso, but about the set of
command-line options that we use depending on the xorriso version:
+ #if [ "$XORRISO_VER" -le 10202 ]; then
+ # 1.2.2 shipping in wheezy
+ Echo "Using older EFI command line for xorriso $XORRISO_VER"
+ # Tell xorriso to create a secondary ElTorito boot record for the
+ # EFI bootloader
+ XORRISO_OPTIONS="${XORRISO_OPTIONS} -eltorito-alt-boot --efi-boot boot/efi.img"
+ # Add the efi image as a FAT partition too, so our CD image will
+ # also boot on a USB key (like isohybrid, just implemented
+ # differently)
+ XORRISO_OPTIONS="${XORRISO_OPTIONS} -append_partition 2 0x01 binary/boot/efi.img"
+ #else
+ # Echo "Using newer EFI support in xorriso $XORRISO_VER"
+ # XORRISO_OPTIONS="${XORRISO_OPTIONS} -eltorito-alt-boot -e boot/efi.img -no-emul-boot"
+ # XORRISO_OPTIONS="${XORRISO_OPTIONS} -isohybrid-gpt-basdat"
+ #fi
In our tests, there are more computers where EFI boot works (from an USB key) when we use
"-eltorito-alt-boot --efi-boot boot/efi.img -append_partition 2 0x01 binary/boot/efi.img"
compared to when we use "-eltorito-alt-boot -e boot/efi.img -isohybrid-gpt-basdat".
In particular a number of macbook.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/
Reply to: