Skip to main content
Topic: Artix runit KDE graphical install bootloader error (Read 1780 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: Artix runit KDE graphical install bootloader error

Reply #15
The bootloader could not be installed. The installation command <pre>grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Artix --force</pre> returned error code 1.

if Calamares fails to install GRUB, following the example at  InstallationWithFullDiskEncryption manual you may block the auto-installation of GRUB. To do that, open a related Calamares script with
Code: [Select]
nano /usr/lib/calamares/modules/bootloader/main.py
and replace this line near the end of file at def run() function:
Code: [Select]
    prepare_bootloader(fw_type)
should become
Code: [Select]
    return None
Alternatively, you may simply run
Code: [Select]
sed -i -e "s/    prepare_bootloader(fw_type)/    return None/g" /usr/lib/calamares/modules/bootloader/main.py
Then you may install with Calamares like usual, however after doing that you will have to install GRUB manually by using the instructions available online. Hope this helps!