Installation problem - grub config error - "No such file or directory"
ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In my case, I hadn't seen the innocent-looking remark
wiki.archlinux is 100% content. people often don't understand this - everything written is written for a reason, every link is there for a reason, and everything that doesn't have any use is removed or rephrased until it does.
I had some issues with Grub installing Arch UEFI a couple days ago. There are a few more things I needed to do for an UEFI install which complicated the process for me. Went a bit crazy lol
I used this to help me through the process https://remoteshell.io/blog/guide-in...ch-linux-uefi/
I also watched a YouTube video as well but I can't seem to find it anymore. The above link gives you all the Grub commands you need though.
I don't remember if I had your same problem but, when I was installing Arch I forgot to mount the EFI partition in /boot/efi and so grub couldn't do its things properly, and after I did that it went smooth.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hello Faire and all,
I am unsure if everyone involved in this thread has a common understanding of the steps required to install GRUB on an Arch UEFI system. Faire, I believe you may have skipped the grub-install step ... I believe that, after some troubleshooting, berndbausch has it right, but for clarity sake, here is a summary of the steps:
1) Install the grub and efibootmgr packages with pacman
2) run the grub-install script (follow the Arch Wiki instructions for UEFI installs)
3) run the grub-mkconfig script (follow the Arch Wiki instructions for UEFI installs)
4) if dual-booting Windows (or any other OS for that matter), make sure the os-prober package is installed with pacman before running grub-mkconfig in step 3.
5) manually check the /boot/grub/grub.cfg file to make sure the menu entries for the different OSes refer to the proper block devices / UUIDs for each OS's partition. If adjustments are required, *do not edit the /boot/grub/grub.cfg file directly* as changes will not be persistent. See Arch Wiki for files to edit.
That's about it. Anyone requiring further guidance, don't hesitate to ask.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.