https://wiki.gentoo.org/wiki/GRUB2 says (in the BIOS with GPT section): "grub-install accepts a --target option to set the CPU architecture and system platform. If unspecified, grub-install will attempt to guess the proper values; on an amd64/x86 system it will use i386-pc by default." That is most certainly NOT the case. # grub-install /dev/sda grub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory. # grub-install --target=i386-pc /dev/sda Installing for i386-pc platform. Installation finished. No error reported. # emerge -pv grub These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-boot/grub-2.02-r1:2/2.02-r1::gentoo USE="device-mapper nls sdl -debug -doc -efiemu -fonts -libzfs -mount -multislot -static (-test) -themes -truetype" GRUB_PLATFORMS="pc -coreboot -efi-32 -efi-64 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -uboot -xen -xen-32" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB
This is a public wiki page. Anyone can register and edit it. This is not a problem/bug for the wiki. If you are are unsure of edits, those go in the Discussion tab of a particular page.