# uname -r
4.15.0-46-generic
# cd /var/lib/initramfs-tools
# rm `ls | grep -v 4.15.0-46`
Once cleaned up, update your current initramfs, using:
# update-initramfs -u -k all
where -u is to generate initramfs for current kernel, and '-k all' to generate initramfs for kernel version newer than current kernel.
Once that done, you can safely reboot your machine. It will be rebooted using the latest kernel.
No comments:
Post a Comment