This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Handbook Talk:X86/Installation/Bootloader
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (
~~~~
).
When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}}
so it will show up in the list of open discussions.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
GRUB_PLATFORMS="efi-32"
,--target=i386-efi
, and hopefully output the grubx32.efi file. Please reopen if I made any errors there. --Maffblaster (talk) 17:56, 28 March 2017 (UTC)
- Issue is now resolved. x86 CPUs (when attempting to use UEFI) will now use
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 Feng , 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)
Install
Concerning the line "root # cp /boot/efi/efi/gentoo/grubx64.efi /boot/efi/efi/boot/bootx64.efi", should the source be /boot/EFI/gentoo/grubx64.efi, making the line "root # cp /boot/EFI/gentoo/grubx64.efi /boot/efi/efi/boot/bootx64.efi"? — The preceding unsigned comment was added by Chuckery Towers (talk • contribs) 17 June 2017
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)