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.
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.
I have BIOS legacy system and this error happens everytime please help
What is the exact name of the ISO file you copied to the installation medium?
Edit: I merged the two identical topics. Next time, please don't create duplicate topics.
https://iso.artixlinux.org/iso/artix-plasma-runit-20220123-x86_64.iso its this one
What is the output of
efibootmgr -v
from the LiveISO?
BootCurrent: 0005
Timeout: 6 seconds
BootOrder: 0005,0004,0002
Boot0002* UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012)..BO
Boot0004* Hard Drive BBS(HD,,0x0)..GO..NO........o.S.T.9.5.0.0.3.2.5.A.S....................A...........................>..Gd-.;.A..MQ..L.2.S.F.W.Z.1.E.F. . . . . . . . . . . . ........BO..NO........Y.G.e.n.e.r.i.c. .F.l.a.s.h. .D.i.s.k. .8...0.7....................A.............................&..Gd-.;.A..MQ..L.5.E.7.0.8.A.8.3........BO
Boot0005* UEFI: Generic Flash Disk 8.07 PciRoot(0x0)/Pci(0x14,0x0)/USB(3,0)/USB(1,0)/HD(1,MBR,0x0,0x334db0,0x2000)..BO
So, your system isn't "BIOS legacy" after all, but UEFI.
Verify that there aren't excessive kernel dumps in
/sys/firmware/efi/efivars by issuing
ls /sys/firmware/efi/efivars/dump-*
Are you partitioning the disks manually? To install to an UEFI system, you need ESP (https://wiki.archlinux.org/title/EFI_system_partition).
ls: cannot access '/sys/firmware/efi/efivars/dump-*': Invalid argument
you sure? Windows 10 showed me as legacy, also my motherboard is old
i tried manually partioning (firstly i tried the automatic one), see attachment
BIOS legacy systems give "EFI variables are not supported on this system" message from efibootmgr, so pretty sure.
What happens when you try automatic partitioning?
same error
The color scheme in that screenshot makes it very hard to read text, can you reboot from the LiveISO without changing the default theme and try again? If you don't plan on dual-booting that computer, the "Erase disk" option should work. Otherwise, you need to have enough space in ESP (at least 500 MB is recommended) and the partition need to be properly marked as such and associated with /boot/efi mountpoint. GPT is highly recommended. Other (ext4) partition needs to be assigned to / mountpoint.
See: https://wiki.archlinux.org/title/Partitioning
Edit: /boot -> /boot/efi seems to be a requirement specifically for Calamares. It is possible to associate with /boot, but then GRUB needs to be installed manually from chroot.
no idea how the color scheme changed.
there's only these two options
you are explaining how to manually set up, right? can you do it with more simpler terms? i don't use linux in a long while and was just hoping to get a quick install
that same menu
after the initial failure, i tried MBR with the "new partition table" button
I just explained that you need GPT, not MBR. Also assign the partitions to mountpoints (click on a partition list entry, then "Edit", then "Mount Point").
oh don't worry, I didn't touch the last screenshot, it was like that when i restart
anyways, is this good? its gpt
if Calamares fails to install GRUB, following the example at InstallationWithFullDiskEncryption (https://wiki.artixlinux.org/Main/InstallationWithFullDiskEncryption) manual you may block the auto-installation of GRUB. To do that, open a related Calamares script with
nano /usr/lib/calamares/modules/bootloader/main.py
and replace this line near the end of file at
def run() function:
prepare_bootloader(fw_type)
should become
return None
Alternatively, you may simply run
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!