From 526be1579e515beb7bfb04b154b23450eb6589cb Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Tue, 1 Mar 2016 21:51:50 -0300 Subject: [archiso] Increase EFI image size for El Torito boot method Current build leaves ~800K free of 31M in the FAT filesystem, adding 9M. Going beyond 65535 sectors of 512-byte is a bit special, but works for EFI. Image size is reported a zero in boot catalog, but xorriso does a good job, and writes right value in hybrid-partition. Tested booting in qemu in both modes (cd-rom and hybrid) and works fine. Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/releng/build.sh b/configs/releng/build.sh index 4173eea..747d6c4 100755 --- a/configs/releng/build.sh +++ b/configs/releng/build.sh @@ -169,7 +169,7 @@ make_efi() { # Prepare efiboot.img::/EFI for "El Torito" EFI boot mode make_efiboot() { mkdir -p ${work_dir}/iso/EFI/archiso - truncate -s 31M ${work_dir}/iso/EFI/archiso/efiboot.img + truncate -s 40M ${work_dir}/iso/EFI/archiso/efiboot.img mkfs.vfat -n ARCHISO_EFI ${work_dir}/iso/EFI/archiso/efiboot.img mkdir -p ${work_dir}/efiboot -- cgit v1.2.3-54-g00ecf