Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 540878

Summary: Grub doesn't build for x86_64 w/o GRUB_PLATFORMS="efi-64"
Product: [OLD] Docs on www.gentoo.org Reporter: Rainer Herrendoerfer <rainer.herrendoerfer>
Component: Installation HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rainer Herrendoerfer 2015-02-21 08:16:07 UTC
Installation on an amd64 EFI-system following the instruction in the handbook

https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation

grub will emerge for x86 and thus moaning about missing /usr/lib/x86_64-efi directory when running grub2-install.
The solution is already provided in the grub2 wiki:

https://wiki.gentoo.org/wiki/GRUB2

You have to set GRUB_PLATFORMS="efi-64" in the /etc/portage/make.conf.
Could you please include that information in the installation handbook.
Comment 1 Matthew Marchese Gentoo Infrastructure gentoo-dev 2015-12-09 05:42:10 UTC
Grknight added information to the Handbook that resolved this bug before me, however I further addressed the issue by adding some more clarity to the EFI install section of the AMD64 Handbook.

Grknight's changes can be viewed here:

https://wiki.gentoo.org/index.php?diff=361816&oldid=197230

My changes can be viewed here:

http://wiki.gentoo.org/index.php?diff=409446&oldid=409444