Skip to main content
Topic: Base Artix install grub error (Read 2316 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Base Artix install grub error

When running:
Code: [Select]
mkdir /boot/efi && grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
I get this error spat out:
Code: [Select]
Installing for x86_64-efi platform.
grub-install error: /boot/efi doesn't look like an EFI partition.

Not sure what's wrong. This isn't my first time installing Artix either (although first time on this machine). This grub command is for UEFI systems, which this machine is. And I tried the BIOS command from the installation wiki just for trying it. When trying that is says cannot find EFI directory.


Re: Base Artix install grub error

Reply #2
So I'm a little confused here. I mounted the /boot partition. Should I have mounted /boot/efi?
Code: [Select]
 mount /dev/sda3 /mnt/boot
I did this earlier. Should I have done this: And I guess also mkdir /boot/efi too obviously
Code: [Select]
 mount /dev/sda3 /mnt/boot/efi

Re: Base Artix install grub error

Reply #3
OK, did a bit more research, and I think this Artix wiki installation guide doesn't cover some things you need to do for UEFI. My previous Artix installs were on BIOS.
Hopefully what mostly applies to UEFI on Arch also applies to Artix.
https://arcolinuxd.com/5-the-actual-installation-of-arch-linux-phase-1-uefi/
This Arch install guide talks about running this:
Code: [Select]
mkfs.fat -F32 /dev/sda3
Maybe that'll fix my error. I'm gonna try it tomorrow. And then try mounting mnt/boot/efi/ to that partition before chrooting.

Re: Base Artix install grub error

Reply #4
Artix's wiki is not (now) supposed to replace archlinux's wiki, but to supplement it and possibly point out the differences caused by 'not using' systemd. For this reason, it is not (and cannot be) fully-fledged.
We replace ONLY systemd, not the whole archlinux distribution - everyone has to keep that in mind!! -> Just as archlinux is needed for us, so his wiki is important too!

And we write about UEFI, that you should first read archlinux wiki :D https://wiki.artixlinux.org/Main/Installation#Boot_Loader. In our wiki is no exact installation instructions for uefi, but link to archlinux's wiki. What you were based on is not an installation guide on UEFI!

Re: Base Artix install grub error

Reply #5
Artix's wiki is not (now) supposed to replace archlinux's wiki, but to supplement it and possibly point out the differences caused by 'not using' systemd. For this reason, it is not (and cannot be) fully-fledged.
We replace ONLY systemd, not the whole archlinux distribution - everyone has to keep that in mind!! -> Just as archlinux is needed for us, so his wiki is important too!

And we write about UEFI, that you should first read archlinux wiki :D https://wiki.artixlinux.org/Main/Installation#Boot_Loader. In our wiki is no exact installation instructions for uefi, but link to archlinux's wiki. What you were based on is not an installation guide on UEFI!
Ya I sort of already knew this. But I had assumed that the installation guide was mostly complete. I have been using the Arch wiki most of the time for anything I want on Artix. But I think adding in some details for UEFI would still be a positive improvement.

What I had posted earlier:
OK, did a bit more research, and I think this Artix wiki installation guide doesn't cover some things you need to do for UEFI. My previous Artix installs were on BIOS.
Hopefully what mostly applies to UEFI on Arch also applies to Artix.
https://arcolinuxd.com/5-the-actual-installation-of-arch-linux-phase-1-uefi/
This Arch install guide talks about running this:
Code: [Select]
mkfs.fat -F32 /dev/sda3
Maybe that'll fix my error. I'm gonna try it tomorrow. And then try mounting mnt/boot/efi/ to that partition before chrooting.
This does work. Used that command to format the /boot rather than whatever it is normally on the installation guide. And then the rest was pretty much the same, I think.

Re: Base Artix install grub error

Reply #6
Wash, sorry, we are not perfect...  ;)

 

Re: Base Artix install grub error

Reply #7
Adding an extra note to the "Format Partitions" section doesn't hurt.