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

Bug 674476

Summary: incorrect information default target on amd64 (BIOS with GPT)
Product: Websites Reporter: ta2002 <throw_away_2002>
Component: WikiAssignee: Gentoo Wiki Team <wiki>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---

Description ta2002 2019-01-04 07:23:30 UTC

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/ 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
Comment 1 Brian Evans Gentoo Infrastructure gentoo-dev 2019-01-04 13:32:10 UTC
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.