From 8319b9c5d0c60e6bd01ea45155ddc226db4dc132 Mon Sep 17 00:00:00 2001 From: Alesh Slovak Date: Sat, 2 May 2020 16:04:52 -0400 Subject: [PATCH] workaround for broken uefi --- frzr-bootstrap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frzr-bootstrap b/frzr-bootstrap index 6b6f6b1..bae5286 100755 --- a/frzr-bootstrap +++ b/frzr-bootstrap @@ -81,6 +81,10 @@ if [ $UEFI ]; then mkdir -p ${MOUNT_PATH}/boot/EFI/syslinux cp -r /usr/lib/syslinux/efi64/* ${MOUNT_PATH}/boot/EFI/syslinux efibootmgr --create --disk ${DISK} --part 1 --loader /EFI/syslinux/syslinux.efi --label "frzr" + + # for compatibility with some broken uefi implementations + mkdir -p ${MOUNT_PATH}/boot/EFI/BOOT + cp /usr/lib/syslinux/efi64/syslinux.efi ${MOUNT_PATH}/boot/EFI/BOOT/bootx64.efi else mkdir -p ${MOUNT_PATH}/boot/syslinux extlinux --install ${MOUNT_PATH}/boot