ELILO and Kernel Upgrade
Hi all,
I just installed Slackware to my second SSD and everything went smoothly. So I did the usual process of first selecting a mirror and running Code:
slackpkg update && slackpkg upgrade-all However, when I now boot, I get no USB, no network etc and an error message:- Code:
depmod: ERROR: could not open directory /lib/modules/4.4.14: No such file or directory On BIOS systems with an MBR bootloader I have never had a problem. How does one handle kernel updates with EFI? Did I do something wrong/not do something, or is it just bad luck? This is a freshly installed system. |
UPDATE:
I realised that on my EFI partition, vmlinuz was still the old kernel. I literally copied the new kernel across from /boot with the live DVD and now everything is fine. Still, I would like to know if there is a tool to do this after updates rather than manually. |
|
Quote:
|
Quote:
Here is the "lookkernel" function include in the slackpkg library post-functions Code:
lookkernel() { |
Quote:
Long story short: the user expects from the damned application to think instead of him. So, let's write several megabytes of code, to compute if the System booted with LILO, ELILO, SYSLINUX or GRUB, preferable with absolute precision on detection, just as the user to not have to think 5 seconds. Right? You know what I consider to be the best way to change this code? Leaving just a warning: "Bro, I updated your kernel right now. You may or may not need to update your bootloader as consequence of this action." Putting in another way: WHY THE HECK a package manager/updater should mess with your bootloader? That's very UN-Slackware! ;) |
I think that answer is a bit extreme.. lol
But I do like this: Quote:
|
Quote:
|
All times are GMT -5. The time now is 09:38 AM. |