You are not logged in.
Pages: 1
I have a 100M EFI partition, and a 1G /boot partition. I’m trying to install Arch on my fourth partition.
When I run the command “grub-install —target=x86_64-efi —bootloader-id=grub_uefi —recheck” it says “grub-install: error: cannot find EFI directory.”
This didn’t happen last time I installed Arch.
Offline
https://wiki.archlinux.org/title/GRUB#UEFI_systems
Or, y'know, use a boot loader/manager that isn't overly convoluted.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I installed efibootmgr. I don’t know what to do now.
Offline
You read the command given in the wiki. You missed an important option.
Offline
Which command is that?
Offline
Which command is that?
https://wiki.archlinux.org/title/EFISTUB
Last edited by d_fajardo (2023-05-06 05:38:36)
Offline
That didn’t fix the problem.
Offline
The important option you are missing for grib is the --efi-directory path you should pass
Offline
I already have grub installed for my other operating systems. I need the command to add my arch installation to the grub menu, without it breaking grub.
Last edited by HailZero (2023-05-07 15:39:26)
Offline
Well you never mentioned that. That would be grub-mkconfig from your original system that you have GRUB from, with the root/boot partition of Arch mounted somewhere™ and os-prober active.
Note that current Arch kernels disable an old compatibility function for EFI handover that might mandate you need a newer GRUB than whatever your host OS installed originally. Which "other OS" are you talking exactly?
In the case you actually need/want the GRUB from Arch, note that you can install different/distinct variants of GRUB to the same ESP by picking unique --bootloader-id arguments
Last edited by V1del (2023-05-07 16:03:07)
Offline
I have debian and windows installed. I know how to enable os-prober.
Offline
So I’m supposed to install arch without configuring grub, and then configure it from the first OS I installed?
Offline
That's how you'd do it assuming you wanted to use the GRUB from debian to boot Arch
Offline
Pages: 1