The latest Linux kernel now takes more than half of my /boot space. Next time I want to upgrade, how do I do that? Can I purge the current in-use kernel and then issue aptitude full-upgrade or do-release-upgrade? Seems dangerous and with possible side effects (loss of config?)
$ df -h /boot Filesystem Size Used Avail Use% Mounted on /dev/sda1 236M 166M 58M 75% /boot $ du -hc /boot/*5.11.0-18* 249K /boot/config-5.11.0-18-generic 117M /boot/initrd.img-5.11.0-18-generic 5.8M /boot/System.map-5.11.0-18-generic 15M /boot/vmlinuz-5.11.0-18-generic 137M total Or is the only solution to boot from liveCD, chroot into your system, delete the current kernel and install the new one ?
/bootpartition because it will be painful each time you want to install a new kernel. Also, yourinitrdis unusally large as if it includes a lot more drivers or boot scripts than necessary..config(I program embedded systems) but I have no idea how to do it on Ubuntu.