this refers to linuxmint & how-can-i-remove-compiled-kernel
If you had a complied custom kernel & if have installed via make install, For uninstall the kernel installed from source,
you have to remove the below entries:
- /boot/vmlinuzKERNEL-VERSION
- /boot/initrdKERNEL-VERSION
- /boot/System-mapKERNEL-VERSION
- /boot/config-KERNEL-VERSION
- /lib/modules/KERNEL-VERSION/
For removing the above entries :
- sudo rm -rf /lib/modules/kernel_version
- sudo rm -f /boot/vmlinuz-kernel_version*
- sudo rm -f /boot/initrd.img-kernel_version*
- sudo rm -f /boot/config-kernel_version*
- sudo rm -f /boot/System.map-kernel_version*
Finally, after uninstalling the kernel, run :
sudo update-grub(ubuntu)
to clean the grub menu.
But if the instruction don’t work, try this intruction “grub2-mkconfig -o /boot/grub2/grub.cfg”
the instruction above refers to Grub2–>
this relate centos upgrade to 7.2 with tecadmin
this relate chainge centos kernel(4.5) with ostechnix