To uninstall the kernel which installed from source code before, you need to manully delete some files:
- /boot/vmlinuzKERNEL-VERSION
- /boot/initrdKERNEL-VERSION
- /boot/System-mapKERNEL-VERSION
- /boot/config-KERNEL-VERSION
- /lib/modules/KERNEL-VERSION/
- Update grub configuration file /etc/grub.conf or /boot/grub/menu.lst to point to correct kernel version.
to update grub use:
sudo update-grub
网友评论