You have to use the existant EFI partition. With UEFI you can have many bootable executables (bootloader, bootmanager, windows, linux-kernel) and selecting these in your UEFI-BIOS-menu. You may want to read these articles:delizza wrote:[...]There is already an EFI partition and I'm not sure if I'm supposed to create another one for Gentoo or if they both share one EFI partition.
AFAIK, the UEFI specification puts no limits on how many ESPs that can be present on a single computer or hard disk. In theory you can have an ESP on every hard disk in a computer. Whether the hard wares UEFI firmware will support it is another matter.pietinger wrote:delizza,
welcome to Gentoo forum !
You have to use the existant EFI partition. With UEFI you can have many bootable executables (bootloader, bootmanager, windows, linux-kernel) and selecting these in your UEFI-BIOS-menu. You may want to read these articles:delizza wrote:[...]There is already an EFI partition and I'm not sure if I'm supposed to create another one for Gentoo or if they both share one EFI partition.


Code: Select all
linux rootfstype=f2fs root=PARTUUID=0ee629f8-ab10-4f2d-b1f3-83e61ed7966f
Code: Select all
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to kernel
# yep its newspeak double negatives
# Do not use UUID do use PARTUUID
GRUB_DISABLE_LINUX_UUID=true
GRUB_DISABLE_LINUX_PARTUUID=false
...

To clarify:NeddySeagoon wrote:You mentioned UUID...
UUID is a property of filesystems. You must have the userspace mount command to read UUIDs. That in turn means that you must have an initrd to hold the mount command, as the kernel cannot work with UUIDs on its own.

I have run with multiple efisp for different OSs, and had them all use just one. Either way works, but I had to specify disks for each efivar entry when I had multiple. Read up on efibootmgr for more details.pietinger wrote:delizza,
welcome to Gentoo forum !
You have to use the existant EFI partition. With UEFI you can have many bootable executables (bootloader, bootmanager, windows, linux-kernel) and selecting these in your UEFI-BIOS-menu. You may want to read these articles:delizza wrote:[...]There is already an EFI partition and I'm not sure if I'm supposed to create another one for Gentoo or if they both share one EFI partition.
https://wiki.gentoo.org/wiki/EFI_stub
https://wiki.gentoo.org/wiki/EFI_System_Partition
https://wiki.gentoo.org/wiki/Efibootmgr
To clarify further:sitquietly wrote:...
I always use UUID=... in my fstab and do not use an initrd. I also always add all of the filesystems required to mount the partitions listed in fstab to the kernel (not as modules). I haven't used an initrd in years. I've used OpenBSD quite a bit where there is no such thing as kernel modules. Also use UUID there.
To clarify further:
by UUID I mean the number listed for the partition under /dev/disk/by-uuid
