Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum

[SOLVED] Calamares error "Instalation Failed"

Started by hugbear, February 24, 2019, 10:52:47 AM

Previous topic - Next topic


Hi, everyone!

I'm quite noob about Linux and fresh new to Sparky.

I've been trying to install SparkyLinux 5.6.2 LXQt (64 bit ISO) on a Lenovo G50 laptop (Win10 dual boot) and the installer fails with the following error message:
Boost.Python error in job "bootloader".
Command 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Sparky --force' returned non-zero exit status 1.
grub-install: error: /usr/lib/grub/x86_64-efi/ doesn't exist. Please specify --target or --directory.

File "/usr/lib/x86_64-linux-gnu/calamares/modules/bootloader/", line 420, in run

  File "/usr/lib/x86_64-linux-gnu/calamares/modules/bootloader/", line 387, in prepare_bootloader
    install_grub(efi_directory, fw_type)

  File "/usr/lib/x86_64-linux-gnu/calamares/modules/bootloader/", line 261, in install_grub

  File "<string>", line 4, in <module>

Indeed, on the live system there's no "x86_64-efi" directory in /usr/lib/grub, there are only an /i386-pc dir and a @grub-mkconfig_lib file.
Wht am I doing wrong? Any idea why is this occuring and how I can overcome it?



The calamares tries to use a commad from a path which doesn't exist.
Should be there, installed via grub-efi related packages, but ther is not.
I suggest to make a fresh installation using Sparky Advanced Installer which installs it in Debian's way.

Anyway, the live system doesn't have the efi subdir at grub dir couse, it uses grub-pc (for bios machines) as default.
Nothing is easy as it looks. Danielle Steel
Join at


Thanks for taking the time to look into my problem. The advanced installer went off without a hitch so I'll consider this SOVED.

View the most recent posts on the forum