第一步,emerge boot-update 这个软件包。因为软件包的依赖关系,这也将同时 emerge grub-2 与 efibootmgr:
boot-update
grub-2
efibootmgr