Project

General

Profile

Bug #2133

[systemd/lxde ISO] grub-install error with x86_64-efi

coolcooler22g - 6 months ago - . Updated 24 days ago.

Status:
open
Priority:
bug
Category:
-
Assignee:
-
% Done:

0%


Description

I downloaded parabola-systemd-lxde-dual-complete-2018.06.04.iso and now I got an installation error.
I must say that the USB stick I'm currently using live system of was not prepared with dd (bios refures to boot from dd version), but UNetbootin, so it may be the one causing the problem. In fact, it did cause a problem: I named the only partition "FORPARABOLA" right before using UNetbootin, a program to make bootable usb sticks, and the Live system failed to boot at first, because it apparently sought for disk label "PARA_201806" and couldn't find and mount it. I solved it by creating a symlink (Live system wanted a symlink, whose path I don't remember) to and then mounting /dev/sdb1 on "/dev/parabolaiso/bootmnt".

That's what graphical installer says:

Reason:
Boost.Python error in job "bootloader".
Details:

Command 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id= --force' returned non-zero exit status 1.
Installing for x86_64-efi platform. grub-install: error: efibootmgr: not found.

Traceback:
File "/usr/lib/calamares/modules/bootloader/main.py", line 362, in run
    prepare_bootloader(fw_type)

  File "/usr/lib/calamares/modules/bootloader/main.py", line 333, in prepare_bootloader
    install_grub(efi_directory, fw_type)

  File "/usr/lib/calamares/modules/bootloader/main.py", line 264, in install_grub
    "--force"])

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

Files

install.log (649 KB) install.log The file it recommended I attach coolcooler22g, 2019-01-09 05:30 PM

History

#1

Updated by bill-auger 6 months ago

  • Description updated (diff)
  • Tracker changed from Porting to Bug

i dont recall seeing that error before - i would not want to try trouble-shooting UNetbootin - that should work; but it introduces some unnecessary complexity - in other words, i would rather see a bug report describing why you could not use `dd` to copy the live system; as that is the recommended method

offhand, from reading the error, i would say you could just install the 'refind-efi' package before running calamares (that should pull in 'efibootmgr'); although those should be installed already

there is also a command-line installer in the home dir on that ISO that you could try

also , if you already have GRUB as your bootloader, you could try booting the ISO from hard disk as described on the wiki

https://wiki.parabola.nu/Boot_Parabola_LiveISO_from_GRUB

#2

Updated by bill-auger 6 months ago

  • Subject changed from [installation media][iso][systemd][lxde][intallation error] to [systemd/lxde ISO] grub-install error with x86_64-efi
#3

Updated by pavelsayekat 24 days ago

I have experienced the same issue for parabola-systemd-lxde-dual-complete-2018.06.04.iso, the installer failed to install the grub, so when I manually tried to install the grub on a chroot env,
"grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB"
it says "error: efibootmgr not found"

So i had to configure and initialize pacman to install efibootmgr on the chroot env and the
"pacman-key --refresh" stalls at (So I had to ctrl+c it)
But despite that the efibootmgr installation was successful (Thank lord) and then the grub-install command executed without issue and I got a GUI setup LXDE parabola system.

Also available in: Atom PDF