diff --git a/src/modules/bootloader/main.py b/src/modules/bootloader/main.py index c2cdc1108..ad88afcdc 100644 --- a/src/modules/bootloader/main.py +++ b/src/modules/bootloader/main.py @@ -266,7 +266,13 @@ def install_grub(efi_directory, fw_type): "64": os.path.join(install_efi_directory_firmware, efi_bootloader_id, "grubx64.efi")} - shutil.copy2(efi_file_source[efi_bitness], install_efi_boot_directory) + + efi_file_target = {"32": os.path.join(install_efi_boot_directory, + "bootia32.efi"), + "64": os.path.join(install_efi_boot_directory, + "bootx64.efi")} + + shutil.copy2(efi_file_source[efi_bitness], efi_file_target[efi_bitness]) else: print("Bootloader: grub (bios)") if libcalamares.globalstorage.value("bootLoader") is None: