Handbook Talk:X86/Installation/Bootloader

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 10:57, 5 November 2024 (UTC)
:: Your reply ~~~~

GRUB2

Talk status
This discussion is done.

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)

Efibootmgr

Talk status
This discussion is done.

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

Talk status
This discussion is done.

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)


Installation failed

Talk status
This discussion is done.

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)

Typo

Talk status
This discussion is done as of 2021-10-25.

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)

It certainly doesn't look quite right. Thanks for the heads up! Suggestions for corrections are very helpful!! Don't worry if this isn't corrected very soon, but it will be eventually.
For future reference, new sections go at the bottom of the Talk pages, and have a title like this: "== New_section_topic ==" :). See instructions at top of this page, and Help:Talk_pages. Ris (talk) 15:04, 25 October 2021 (UTC)
Fixed. Thanks, Chuckery Towers . --Maffblaster (talk) 17:10, 25 October 2021 (UTC)