3 ms·
> 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 upda
by deathanatos 5mo 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 5mo agoEven if you do CONFIG_EFI_STUB, there should be a post-update hook to automatically call efibootmgr.
- nicman23 5mo agoor just copy the latest kernel to something like /vmlinux and /initramfs
- creshal 5mo agoOr 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).
- cwillu 5mo agoGrub2 is scary and complicated. Remove grub from the equation, and all the scary goes away.
- nicman23 5mo agogrub is just a operating system. it is quite good when shit hits the fan
- creshal 5mo ago~90% of the failure modes grub can fix don't exist without grub. I can't remember any time when its needless complexity was actually a net benefit compared to literally any of its alternatives (and between gummiboot/syslinux/efilinux/isolinux/systemd-boot/efistub I've used a lot of them).
- nicman23 5mo agoi like grub, but i also remember pre-0.98 grub
- awesomeusername 5mo agoi love HN but also starting to think it's time for us oldies to have our own one: cost of entry, having a distant memory of booting linux from a floppy
- nicman23 5mo agoi have the memory of bios being so shit that i had to boot grub from a floppy to boot from a cd
- cwillu 5mo agoMy first linux system was a linux-on-a-floppy router that I ran on a spare 386 with two cards to provide NAT for my house, back in the days when internet providers tried to ban people for doing that.
- creshal 5mo agoGrub is really impressive in how it consistently spent the last 30 years focused on improving everything except the UX of the one workflow 99.99% of its involuntary users need it for (boot linux as reliably as possible, and make it easy to debug when it does not).
- nicman23 5mo agoi never got it to work
- nubinetwork 5mo agoI have 2 entries, /efi/current.efi and /efi/old.efi... when I upgrade, I copy current to old, and copy my new kernel out of /boot as current and reboot.