Contents
How do I remove old Linux kernels from grub?
7 Answers
- Open up a terminal ( Ctrl + Alt + T ).
- Type uname -r . …
- Run the following command: dpkg –list | grep linux-image . …
- Note down the names of all the kernels which you want to remove.
- To remove the kernels, run: sudo apt-get purge linux-image-x.x.x.x-xyz (replace the kernel name with an appropriate one).
How do I delete a kernel?
Remove Older Kernel Entries
- Select “Package Cleaner” on the left and “Clean Kernel” from the right panel.
- Press the “Unlock” button at the lower right, enter your password.
- Select from the displayed list the kernel images and headers you wish to remove.