Advertising

Author Topic: [SOLVED] Calamares error "Instalation Failed"  (Read 486 times)

Offline hugbear

  • Newbie
  • *
  • Posts: 2
[SOLVED] Calamares error "Instalation Failed"
« on: February 24, 2019, 10:52:47 am »
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:
Code: [Select]
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!
« Last Edit: February 24, 2019, 11:18:47 pm by hugbear »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2006
    • SparkyLinux
Re: Calamares eror "Instalation Failed"
« Reply #1 on: February 24, 2019, 05:55:37 pm »
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.
« Last Edit: February 24, 2019, 05:57:17 pm by pavroo »
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux at irc.freenode.net

Offline hugbear

  • Newbie
  • *
  • Posts: 2
Re: Calamares eror "Instalation Failed"
« Reply #2 on: February 24, 2019, 11:11:26 pm »
Thanks for taking the time to look into my problem. The advanced installer went off without a hitch so I'll consider this SOVED.
« Last Edit: February 24, 2019, 11:17:52 pm by hugbear »