Hi Judah! TLDR: overwrite your /boot/efi/EFI/Slackware/vmlinuz and /boot/efi/EFI/Slackware/initrd.gz and you're done (assuming the filenames are correct for your /boot/efi/EFI/Slackware/elilo.conf).
Longer explanation: UEFI is weird for those of us who know and love LILO. If you're not saving your old kernels and initrds because you like to live dangerously, it's just a matter of overwriting the default kernel and initrd as above. If you are saving them, it's not that different, you just have to edit /boot/efi/EFI/Slackware/elilo.conf to make sure the new kernel (plus initrd) and the failsafe kernel (plus initrd) are mentioned properly. Here's an example from a system of mine: ----------- chooser=simple delay=50 timeout=50 # image=vmlinuz-generic label=Generic initrd=initrd.gz read-only append="root=/dev/mapper/luksnvme0n1p3 vga=normal ro" image=vmlinuz-huge label=Huge read-only initrd=initrd.gz append="root=/dev/mapper/luksnvme0n1p3 vga=normal ro" image=vmlinuz-failsafe label=Failsafe read-only initrd=initrd-failsafe.gz append="root=/dev/mapper/luksnvme0n1p3 vga=normal ro" ----------- The first entry is based on the distro. When I upgrade my kernel, I rebuild my initrd, and copy the distro kernel and the new initrd over the old /boot/efi/EFI/Slackware/vmlinuz-generic and /boot/efi/EFI/Slackware/initrd.gz It just works, zip zop zoop. The second entry is a failsafe using the huge kernel because it's got everything in it. I overwrite vmlinuz-huge with the new vmlinuz-huge and use the same initrd (because I have full disk encryption and need an initrd, otherwise that wouldn't be there either). The third one is my failsafe kernel and initrd, based on a distro (generic) kernel that worked at one point so I know it works. I keep that around for good luck. Ben On Thu, Nov 09, 2023 at 08:54:35AM -0500, J. Milgram wrote: > Greetings All! > > Have a beginner question. > > I've been using LILO since Day 1 and all was well. Have been running > old-style BIOS machines ever since. > > Now I've acquired my first UEFI machine [1] and am trying to wrap my head > around it. The Slackware install procedure took care of everything > seamlessly and it boots OK. (Once I figured out that I needed a small EFI > partition.) > > But now slackpkg has upgraded the kernel and I know (from my LILO days) that > I have to do something to update the loader. Can anyone point me to a good > tutorial on how this all works? > > Apparently I copy the new kernel to /boot/efi/EFI/Slackware, maybe make a > new initrd.gz and copy that there too, and then have to run something ... ? > The machine is still running the install kernel and I plan to leave it > running until I figure this out (and I have a USB rescue stick too.) > > Are elilo and grub two mutually exclusive things, or might one need to > reconfigure/reinstall both for the new kernel? > > Back in my day, etc etc. :) > > thanks! > > r/ > Judah > > [1] - Evolve Maestro III, $80 from MicroCenter... curiosity got the better > of me. A nice machine so far. > > > -- > ===== > milg...@cgpp.com > 301-257-7069 > > You received this email because you are subscribed to the UM Linux User's > Group (UM-LINUX) mailing list. If you would like to unsubscribe from this > list, simply send an email to lists...@listserv.umd.edu with the message > signoff UM-LINUX in the body. -- Ben Stern This space intentionally left blank. You received this email because you are subscribed to the UM Linux User's Group (UM-LINUX) mailing list. If you would like to unsubscribe from this list, simply send an email to lists...@listserv.umd.edu with the message signoff UM-LINUX in the body.