Delete linux kernel installed fr

2020-07-23  本文已影响0人  Zparkle

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

上一篇 下一篇

猜你喜欢

热点阅读