diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2013-06-20 18:30:00 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2013-06-20 18:48:41 -0300 |
commit | f19f6173c8650ebc43dc166ee2a2f3f92a753afe (patch) | |
tree | 7d5f41a8b991e3d2077bd909a533f4deff67558b /archiso/mkarchiso | |
parent | 3e4740484edd23d6c1db42ab24c3555e8ab6b03a (diff) | |
download | archiso32-f19f6173c8650ebc43dc166ee2a2f3f92a753afe.tar.xz |
[archiso] Add support to isohybrid-gpt for EFI boot
Tested and works fine under qemu using seabios and ovmf
$ qemu-system-x86_64 -enable-kvm -drive file=~/archlinux-2013.06.20-dual.iso
$ qemu-system-x86_64 -enable-kvm -drive file=~/archlinux-2013.06.20-dual.iso,media=cdrom
$ qemu-system-x86_64 -enable-kvm -bios ~/arch/OVMF/bios.bin -drive file=~/archlinux-2013.06.20-dual.iso
$ qemu-system-x86_64 -enable-kvm -bios ~/arch/OVMF/bios.bin -drive file=~/archlinux-2013.06.20-dual.iso,media=cdrom
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-x | archiso/mkarchiso | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index fa32b62..8f9ed42 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -414,7 +414,10 @@ command_iso () { # If exists, add an EFI "El Torito" boot image (FAT filesystem) to ISO-9660 image. if [[ -f "${work_dir}/iso/EFI/archiso/efiboot.img" ]]; then - _iso_efi_boot_args="--efi-boot EFI/archiso/efiboot.img" + _iso_efi_boot_args="-eltorito-alt-boot + -e EFI/archiso/efiboot.img + -no-emul-boot + -isohybrid-gpt-basdat" fi _show_config iso @@ -436,8 +439,8 @@ command_iso () { -eltorito-boot isolinux/isolinux.bin \ -eltorito-catalog isolinux/boot.cat \ -no-emul-boot -boot-load-size 4 -boot-info-table \ - ${_iso_efi_boot_args} \ -isohybrid-mbr ${work_dir}/iso/isolinux/isohdpfx.bin \ + ${_iso_efi_boot_args} \ -output "${out_dir}/${img_name}" \ "${work_dir}/iso/" _msg_info "Done! | $(ls -sh ${out_dir}/${img_name})" |