Installation failed: bootloader installation error

/usr/lib/calamares/modules/bootloader/main.py

        else:
            check_target_env_call([libcalamares.job.configuration["grubInstall"],
                                   "--target=" + efi_target,
                                   "--efi-directory=" + efi_directory,
                                   "--bootloader-id=" + efi_bootloader_id,
                                   "--force"])

should be this part where you can add the --removable like so:

else:
check_target_env_call([libcalamares.job.configuration[“grubInstall”],
“–target=” + efi_target,
–efi-directory=" + efi_directory,
“–bootloader-id=” + efi_bootloader_id,
“–removable --force”])

as dalto corrected me like so:

            check_target_env_call([libcalamares.job.configuration["grubInstall"],
                                   "--target=" + efi_target,
                                   "--efi-directory=" + efi_directory,
                                   "--bootloader-id=" + efi_bootloader_id,
                                   "--removable",
                                   "--force"])

only make sure to find the right scriptlet as it comes after the one for ZFS…

edit:

issue with the format… may @dalto will know faster how to add the option…
:dotted_line_face: :face_in_clouds: :smirk:

1 Like