Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: use chainloader on ESP — Mac EFI can't load 270MB kernel directly

Mac firmware hangs trying to load 270MB BOOTX64.EFI. Switch ESP back
to chainloader mode: small splash.efi (51KB) loads first, then chains
to KERNEL.EFI. Confirmed: chainloader gets past Mac boot picker.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+7 -4
+7 -4
fedac/native/scripts/flash-helper-runner.sh
··· 158 158 sha256sum /mnt/ac-main/EFI/BOOT/KERNEL.EFI "${STAGED_ROOT}/EFI/BOOT/KERNEL.EFI" 159 159 umount /mnt/ac-main 160 160 161 - # Partition 2 (ACEFI): kernel AS BOOTX64.EFI (standard UEFI fallback) 161 + # Partition 2 (ACEFI): chainloader BOOTX64.EFI + KERNEL.EFI 162 162 mount_vfat_partition "${efi_part}" /mnt/ac-efi 163 163 test -f /mnt/ac-efi/EFI/BOOT/BOOTX64.EFI 164 - sha256sum /mnt/ac-efi/EFI/BOOT/BOOTX64.EFI "${STAGED_ROOT}/EFI/BOOT/KERNEL.EFI" 164 + test -f /mnt/ac-efi/EFI/BOOT/KERNEL.EFI 165 + sha256sum /mnt/ac-efi/EFI/BOOT/KERNEL.EFI "${STAGED_ROOT}/EFI/BOOT/KERNEL.EFI" 165 166 umount /mnt/ac-efi 166 167 167 168 # Partition 3 (AC-MAC): boot.efi + BOOTX64.EFI + Apple metadata ··· 236 237 237 238 # Partition 1 (ACBOOT): config + kernel as KERNEL.EFI (for AC initramfs to find) 238 239 copy_boot_tree_to_vfat "${MAIN_PART}" /mnt/ac-main yes kernel-only 239 - # Partition 2 (ACEFI): kernel AS BOOTX64.EFI — standard UEFI fallback path 240 - copy_boot_tree_to_vfat "${EFI_PART}" /mnt/ac-efi no kernel-direct 240 + # Partition 2 (ACEFI): chainloader BOOTX64.EFI (51KB) + KERNEL.EFI (270MB) 241 + # Mac EFI firmware can't load a 270MB EFI application directly. 242 + # The small chainloader loads fine, then loads KERNEL.EFI itself. 243 + copy_boot_tree_to_vfat "${EFI_PART}" /mnt/ac-efi no chainloader 241 244 populate_mac_partition "${MAC_PART}" /mnt/ac-mac 242 245 243 246 sync