localhost / # grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.59-gentoo-x86_64
Found initrd image: /boot/initramfs-5.15.59-gentoo-x86_64.img
Found linux image: /boot/vmlinuz-5.15.59-gentoo-x86_64.old
Found initrd image: /boot/initramfs-5.15.59-gentoo-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Manipulieren von Konfigurationsskripten

Einige Merkmale oder Funktionalitäten können nur genutzt werden, indem die Konfigurationsskripte geändert werden. Um beispielsweise Dual-Booting mit FreeBSD zu unterstützen, muss die folgende Manipulation vorgenommen werden.
Der OS-Prober sucht nach anderen Betriebssystemen. Er muss erst installiert werden und dann kann er ausgeführt werden.
#emerge -av os-prober
#os-prober

Partitionierung anzeigen lassen:

/dev/sda2 = UEFI System-Partition (ESP)
Diese Partition muss bootfähig sein

Einhängepunkt

Ein Eintrag in /etc/fstab wird zum Booten nicht benötigt, kann aber zum manuellen Mounten des ESP hilfreich sein.

DATEI /etc/fstab

Konfigurieren des ESP-Mountpoints

/dev/sda2 /boot vfat noauto,noatime 0