fix: create missing directories
This commit is contained in:
parent
f41bf09a62
commit
1ec42b9c79
|
@ -50,9 +50,11 @@ function install_syslinux()
|
||||||
mount_efi "$drive"
|
mount_efi "$drive"
|
||||||
|
|
||||||
# legacy
|
# legacy
|
||||||
|
mkdir -p "$mnt"/syslinux
|
||||||
cp /usr/lib/syslinux/modules/bios/*.c32 "$mnt"/syslinux/
|
cp /usr/lib/syslinux/modules/bios/*.c32 "$mnt"/syslinux/
|
||||||
|
|
||||||
# UEFI
|
# UEFI
|
||||||
|
mkdir -p "$mnt"/EFI/BOOT
|
||||||
cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi "$mnt"/EFI/BOOT/BOOTX64.EFI
|
cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi "$mnt"/EFI/BOOT/BOOTX64.EFI
|
||||||
cp /usr/lib/syslinux/modules/efi64/ldlinux.e64 "$mnt"/EFI/BOOT/ldlinux.e64
|
cp /usr/lib/syslinux/modules/efi64/ldlinux.e64 "$mnt"/EFI/BOOT/ldlinux.e64
|
||||||
cp /usr/lib/syslinux/modules/efi64/*.c32 "$mnt"/EFI/BOOT/
|
cp /usr/lib/syslinux/modules/efi64/*.c32 "$mnt"/EFI/BOOT/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user