]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Increase the amd64 ISO ESP file size from 800KB to 1024KB.
authorGlen Barber <gjb@FreeBSD.org>
Thu, 15 Oct 2020 17:12:58 +0000 (17:12 +0000)
committerGlen Barber <gjb@FreeBSD.org>
Thu, 15 Oct 2020 17:12:58 +0000 (17:12 +0000)
commita0da9a6272188bdf46cb87942b88de2195d01725
tree42bd55f20410fefe44b44a0c7605250662a7f88c
parent16e4a0c89ced9a2d789679c4e52398d283094b2c
Increase the amd64 ISO ESP file size from 800KB to 1024KB.

At some poing over the last week, the bootx64.efi file has grown
past the 800KB threshold, resulting in being unable to copy it to
the EFI/BOOT directory.

 # stat -f %z efiboot.znWo7m
 819200
 # stat -f %z stand-test.PIEugN/EFI/BOOT/bootx64.efi
 842752

The comment in the script that creates the ISOs suggests that 800KB
is the maximum allowed for the boot code, however I was able to
boot an ISO with a 1024KB boot partition.  Additionally, I verified
against an ISO from OtherOS, where the boot EFI partition is 2.4MB.

Sponsored by: Rubicon Communications, LLC (netgate.com)
release/amd64/mkisoimages.sh
release/arm64/mkisoimages.sh