Remix.run Logo
deathanatos 3 hours ago

> 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.)

yjftsjthsd-h 3 hours ago | parent | next [-]

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

nicman23 3 hours ago | parent | prev [-]

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

creshal 33 minutes ago | parent [-]

Or use UKI and throw the current kernel to /efi/boot/bootx64.efi; there's plenty of solutions to sane bootloader/kernel management if you're willing to invest 15 minutes into the topic and not act like it's scary and complicated (it really is the opposite).