Dual Booting Gentoo && Windows11

Using Shim with disabled-validation

  1. If not already in Use emerge shim and mokutil emerge sys-boot/shim sys-boot/mokutil
  2. depending where you put EFI (/boot/EFI or /efi/EFI) copy following shim files:
  1. Use your EFI partition (check with lsblk) and depending on that do following command:
  1. Do following command mokutil --disable-validation
  2. Do following command grub-mkconfig -o /boot/EFI/gentoo/grub.cfg
  3. Follow the steps from: Using Secure Boot While Disabling Shim's Enforcement Here a copy:
  1. If not already visible do os-prober and grub-mkconfig
  2. If you deleted windows from the EFI partition while installing gentoo like me, follow this steps(What to do if you deleted windows in EFI partition ):

References

Using Secure Boot While Disabling Shim's Enforcement Shim Handbook Gentoo What to do if you deleted windows in EFI partition