Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

[SOLVED] Calamares error "Instalation Failed"

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

Previous topic - Next topic

hugbear

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/modinfo.sh doesn't exist. Please specify --target or --directory.

Traceback:
File "/usr/lib/x86_64-linux-gnu/calamares/modules/bootloader/main.py", line 420, in run
    prepare_bootloader(fw_type)

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

  File "/usr/lib/x86_64-linux-gnu/calamares/modules/bootloader/main.py", line 261, in install_grub
    "--force"])

  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?

Thanks!

pavroo

#1
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 #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

hugbear

#2
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