logoalt Hacker News

deathanatostoday at 5:56 AM2 repliesview on HN

> UEFI fixes that to some extent, but it’s a pain to maintain the UEFI entries manually and change them every time the kernel updates.

… you don't have to update the UEFI entries every time the kernel updates. (I guess you might if you do like a kernel w/ CONFIG_EFI_STUB, and you place the new kernel under a different filename than what the UEFI boot entry point to then you might … but I was under the impression that that'd be kind of an unusual setup, and I thought most of us booting w/ EFI were doing so with Grub.)


Replies

yjftsjthsd-htoday at 6:00 AM

Even if you do CONFIG_EFI_STUB, there should be a post-update hook to automatically call efibootmgr.

nicman23today at 6:22 AM

or just copy the latest kernel to something like /vmlinux and /initramfs

show 1 reply