Handbook Talk:X86/Installation/Bootloader

GRUB2
There is a mistake about the platform target: GRUB_PLATFORM="efi-32" (cf. GRUB2) -- Feng (talk) 11:02, 10 October 2016 (UTC)


 * What is the mistake, exactly? --Maffblaster (talk) 01:36, 3 February 2017 (UTC)


 * I see the mistake for 32-bit OSes. I'll have to create a transclustion for the x86 Handbook. Thanks for the heads up! --Maffblaster (talk) 01:53, 3 February 2017 (UTC)


 * Issue is now resolved. x86 CPUs (when attempting to use UEFI) will now use,  , and hopefully output the  file. Please reopen if I made any errors there. --Maffblaster (talk) 17:56, 28 March 2017 (UTC)

I think that there is a typo in the text "can be added to make.conf then and dependencies for the world package set re-calculated" - should it read "can be added to make.conf and then dependencies for the world package set can be re-calculated"? Chuckery Towers (talk) 13:14, 23 October 2021 (UTC)

Efibootmgr
UEFI images are defined for several architectures or "machines types". The EFI stub kernel is a UEFI image and is named bootIA32.efi because the machine type for the x86 architecture seems to be "IA32" in the UEFI specification.

''See UEFI Specification Version 2.6, 3.5.1.1 Removable Media Boot Behavior, p. 90 -- Feng (talk) 11:02, 10 October 2016 (UTC)


 * Hi, yes, this does seem to be true for EFI stub kernels. I have updated the article to properly reflect the official name for both the amd64 and x86 handbooks. Thanks for your help in pointing out this error. Kind regards, --Maffblaster (talk) 17:56, 28 March 2017 (UTC)

UEFI on X86
UEFI is not dependent on the Arch bitness. It is determined by the firmware's bit which is usually 64-bit.

I have only heard of Intel Macs which are UEFI-32.

People install X86 arch on 64-bit capable machines and UEFI and will be confused by the settings from the above discussions.

If you want to use the efi-32 targets, this needs to be clarified. --Grknight (talk) 18:04, 28 March 2017 (UTC)


 * I think, because of our chat on IRC the other day and what you said here, I understand more clearly now. I'll switch things back to the way they were before and simply make a note about 32-bit EFI not really being a thing. With that being said, you mentioned older Macs supporting it and I found this StackOverflow thread mentioning a tablet with a Intel Atom Z3740D CPU that had seems to have 32-bit EFI. Thank for the help with the Handbook! --Maffblaster (talk) 17:45, 21 April 2017 (UTC)


 * Excuse me Grknight, I do not understand your statement: "People install x86 arch on 64-bit capables machines and UEFI [...]"! How can we  install  an architecture? --Feng (talk) 06:10, 22 April 2017 (UTC)

Install
Concerning the line "root # cp /boot/efi/efi/gentoo/grubx64.efi /boot/efi/efi/boot/bootx64.efi", should the source be, making the line "root # cp /boot/EFI/gentoo/grubx64.efi /boot/efi/efi/boot/bootx64.efi"?

Installation failed
To emerge grub I did:

root #echo 'GRUB_PLATFORMS="efi-64"' >> /etc/portage/make.conf

root #emerge --ask sys-boot/grub:2

Then in the article it said to do:

root #grub-install --target=x86_64-efi --efi-directory=/boot

But after I did that it gives:

bash: grub-install: command not found

I haven't find anything about that output, what went wrong there? -- User: RllyDumb 08:, 7 May 2018 (UTC)


 * Unfortunately, the wiki is not a support venue. Please use the forums or IRC for help. --Grknight (talk) 16:17, 7 November 2018 (UTC)