On Fri, Jul 29 2022 at 09:01:51 +00:00:00, Yuu Yin
wrote:
Is it possible to set EFISTUB using UEFI directly with efibootmgr[1]?
What to set for `--loader` (the vmlinux/vmlinuz)? and `initrd=`?
```sh
efibootmgr --help | grep loader
-l | --loader name (defaults to "\EFI\gnu\grub.efi")
```
Ansers I got from #guix:libera.chat:
> it's probably required, since guix remakes the
grub.cfg every reconfigure
> to add a menu entry to rollback to the previous
generation
> It's also 'cross-platform', and doesn't require copying the
kernel.
> and guix reinstalls grub on every reconfigure
> (By default.)
> Oh, yeah, I forgot it was possible to switch the
bootloader in the operating-system.
> Okay, then, I suppose it might be possible to add
support for efibootmgr?
> sorry, efistub
> If somebody contributes patches for UEFI rootki^Wboot support,
sure, but it's hardly a killer feature otherwise.
> Don't forget to add EFI_STUB to our kernels if so.
> ---https://logs.guix.gnu.org/guix/2022-07-29.log#103257
Yuu Yin
yλ