Handbook Talk:AMD64/Blocks/Bootloader
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]] 13:13, 21 December 2024 (UTC) :: Your reply ~~~~
Found typo in article
Did it mean »Be sure to read through« the the EFI stub kernel article ...? --Charles17 (talk) 07:11, 4 June 2017 (UTC)
- Fixed. Thank you! --Maffblaster (talk) 05:19, 5 June 2017 (UTC)
Please adjust ESP path
Please change
--- BEGIN ---
Presuming the ESP is mounted at /boot/efi (as suggested earlier), execute:
root #
mkdir -p /boot/efi/efi/boot
root #
cp /boot/efi/efi/gentoo/ /boot/efi/efi/boot/
--- END ---
to
--- Begin ---
Presuming the ESP is mounted at /boot (as suggested earlier), execute:
root #
mkdir -p /boot/efi/boot
root #
cp /boot/efi/gentoo/ /boot/efi/boot/
--- END ---
Reason: Such alternative mountpoint (cit: "mounted at /boot/efi") is in fact not being used int the whole installation guide. The mountpoint for ESP is /boot and nothing else. --Charles17 (talk) 16:57, 30 July 2017 (UTC)
Misspelled command
grub_install should be grub-install
Mathis Winterer (talk) 10:32, 3 April 2023 (UTC)
Broken lilo.conf FileBox
All /etc/lilo.conf shows broken
'"`UNIQ--pre-00000001-QINU`"'
instead actual content. --Winterheart (talk) 23:24, 10 September 2023 (UTC)
- This has been fixed. Thank you for drawing attention to it! --Maffblaster (talk) 08:29, 12 September 2023 (UTC)
Grub UEFI Secure boot Problem
I was going through the handbook trying to set up secure boot on grub, this section has some issues, if you do --modules=${GRUB_MODULES} you will get an error grub install error more than one install device. If you put --modules="${GRUB_MODULES}" then it works just fine, also where am I supposed to get the sbat.csv, I found some arch linux bug discussion and made my own but the wiki doesn't make it clear.
root #
grub-install --target= --efi-directory= --modules=${GRUB_MODULES} --sbat /usr/share/grub/sbat.csv
--MarksWorld (talk) 09:20, 1 March 2024 (UTC)
- Bug https://bugs.gentoo.org/925902 --Andrew Ammerlaan (talk) 09:26, 1 March 2024 (UTC)
- Resolved, the grub package now installs an sbat.csv in the expected location (talk) 17:00, 1 March 2024 (UTC)
Adjust GRUB_PLATFORMS to use package.use
- provides a proposal that can be merged as is, but as of 2024-12-15,
- that proposal has not remained unchanged and uncontested for 30 days.
Since there's been a push towards using package.use recently, we should try and convert the rest of the Handbook to using package.use for USE_EXPAND as well:
A note for UEFI users: running the above command will output the enabled GRUB_PLATFORMS values before emerging. When using UEFI capable systems, users will need to ensure the
USE_EXPAND option for GRUB_PLATFORMS
is enabled for sys-boot/grub (as it is the case by default). If that is not the case for this setup, ensure the
USE_EXPAND option for GRUB_PLATFORMS
is added to /etc/portage/package.use before emerging GRUB so that the package will be built with EFI functionality:
root #
echo '*/* GRUB_PLATFORMS: ' >> /etc/portage/package.use/00grub
root #
emerge --ask sys-boot/grub
, the line (as shown above) can be added to package.use and then dependencies for the world package set can be re-calculated by passing the --update --newuse
options to emerge:Please note that due to talk pages not inheriting Handbook variables (yet), there may be missing pieces but they will be there when this is added to the Handbook.
--csfore (talk) 16:45, 15 December 2024 (UTC)
Adjust bootloader order to reflect current popularity
Currently our recommended bootloader order is a bit puzzling, as GRUB and systemd-boot combined likely take up the vast majority of the bootloader market share, so the Handbook should be updated to reflect this.
My suggested order is:
- GRUB
- systemd-boot
- EFI Stub
- LILO
- syslinux (should this even be included if we don't have install instructions and just point users to the Wiki page?)
The reason why I suggest GRUB to be the default recommendation is just because most users are likely familiar with it, or have heard of it at the very least.
I do not mind systemd-boot being recommended first though, if that is what is decided on, as it is pretty easy to install.
--csfore (talk) 20:49, 16 December 2024 (UTC)
- I did some research and it doesn't seem like refind includes XFS drivers so we'll have to mention that /boot has to be on one of the FSes it supports.
- --csfore (talk) 23:07, 16 December 2024 (UTC)
- Here's what I'm thinking:
- Make GRUB, systemd-boot, and EFI stub the three main options/alternatives, with a brief paragraph at the end that would basically say:
- "For other options that will not be covered in the Handbook, see the full list of available bootloaders."
- --csfore (talk) 23:29, 16 December 2024 (UTC)