After you upgrade the packages, you'll need to create a new initrd valid for your new kernel.
If you upgrade using "slackpkg upgrade-all", just don't run lilo when prompted by the script.
To create a new initrd file (after the slackpkg command), run the following command:
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh --run /boot/vmlinuz-generic-4.4.10
Replace the last argument by the correct kernel file if kernel is upgraded after this post.
The above command will display the appropriate "mkinitrd" command that you need to run to create a new initrd file consistent with your upgraded system (you should see a "-C" option as you're using an encrypted filesystem).
If you are using a non-english keyboard, you will need to add a "-l fr" option to the "mkinitrd" command (replace fr by your own keyboard layout).
Run the "mkinitrd" command.
Then run:
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh --lilo /boot/vmlinuz-generic-4.4.10
to display the section that you have to copy into your /etc/lilo.conf.
After editing /etc/lilo.conf (don't forget to remove any invalid entry like the entry for the previous version of the kernel), run lilo and you should have a functioning kernel upon reboot.