IMPORTANT: do not reboot the machine right after
upgrading the linux
package
otherwise you’ll have to use the installation disk and
chroot
into your filesystem after mounting every
partition manually (also decrypting LUKS partitions with
cryptvg
)
/usr/share/mkinitrd/mkinitrd_command_generator.sh -i -l /boot/vmlinuz-generic-5.15.27 > /tmp/init
bash /tmp/init
cp /boot/initrd.gz /boot/efi/EFI/Slackware/initrd.gz # this path should be present in /boot/efi/EFI/Slackware/elilo.conf
cp /boot/vmlinuz-generic-5.15.27 /boot/efi/EFI/Slackware/vmlinuz # this path should be present in /boot/efi/EFI/Slackware/elilo.conf