Page 1 of 1

what GRUB_PLATFORMS do i use for arm64

Posted: Wed Dec 03, 2025 9:20 pm
by ShinyCuber395
i'm installing gentoo for fun on vmware fusion and wanna install grub but i don't know what GRUB_PLATFORMS="something" do i echo to make.conf for arm64 since the arm64 handbook is nonexistent
i am on a m4 macbook air

Posted: Wed Dec 03, 2025 9:47 pm
by NeddySeagoon
ShinyCuber395,

Welcome to Gentoo. On my Raspberry Pi 5, which is arm or arm64, I get.

Code: Select all

$ emerge grub -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 4.82 s (backtrack: 0/20).

[ebuild  N     ] sys-boot/grub-2.14_rc1-r1:2/2.14_rc1-r1::gentoo  USE="device-mapper fonts nls sdl themes truetype -doc -efiemu -libzfs -mount -protect -secureboot (-test) -verify-sig" GRUB_PLATFORMS="-coreboot -efi-32 -efi-64 -emu -ieee1275 (-loongson) -multiboot -pc (-qemu) (-qemu-mips) (-uboot) -xen (-xen-32) -xen-pvh" 8,799 KiB
You cannot choose (-plaform) settings, they are forced off.

That really leaves a choice of efi-32 or efi-64 depending on your EFI fimware.
I don't know of any 32 bit arm boards that have EFI firmware, so I would start with

Code: Select all

GRUB_PLATFORMS="efi-64"

Posted: Thu Dec 04, 2025 10:04 pm
by ShinyCuber395
oh cool, when i run grub-install it recognizes i'm on arm64
thanks for the advice! :D