UTM icon indicating copy to clipboard operation
UTM copied to clipboard

automatically loading grubaa64.efi from UEFI in arch linux arm

Open UriZafrir opened this issue 2 years ago • 3 comments

Hi I've installed arch linux arm. But it's not booting the .efi file automatically in UEFI. to boot at the moment I manually search the .efi file and enter it. My question is, how can I make arch linux automatically do it. I would also want to understand how UEFI automatically loads the .efi file in UTM and in general.

I wrote this for debian: https://github.com/utmapp/UTM/issues/4002 So I tried making /boot directory and copying the grubaa64.efi and grub.cfg to there. It didn't work. I also tried this: https://github.com/utmapp/UTM/issues/2503 but it didn't work. This worked in the first time I booted arch but then it stopped.

Please help. Thanks in advance

UriZafrir avatar Aug 24 '22 05:08 UriZafrir

How did you install Arch Linux Arm? When I installed it, I used efibootmgr to add the kernel image and initramfs as a boot entry without GRUB.

FYI I have a guide if you need it.

ktprograms avatar Aug 24 '22 10:08 ktprograms

Ok I succeeded: inspired by this link: https://wiki.mageia.org/en/Efibootmgr#:~:text=To%20create%20an%20EFI%20boot,EFI%20System%20Partition%20is%20hosted

The command I used: efibootmgr -c -d /dev/vda-p 1 -L "ArchLinux" -l "\EFI\GRUB\grubaa64.efi"

Answering your question: to install I've downloaded this ISO: https://github.com/IComplainInComments/archiso/releases It's pretty recent from May 2022. Then I simply followed the guide in archlinux.org.. https://wiki.archlinux.org/title/Installation_guide I did use grub.

UriZafrir avatar Aug 24 '22 17:08 UriZafrir

That's great!

ktprograms avatar Aug 25 '22 00:08 ktprograms