linux:debian:remove-old-kernels
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:debian:remove-old-kernels [2020/05/01 11:03] – created oscar | linux:debian:remove-old-kernels [2022/01/15 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| To list all installed kernels on your system, issue this command. | To list all installed kernels on your system, issue this command. | ||
| - | dpkg -l | grep linux-image | + | dpkg --list | grep linux-image |
| | | ||
| - | linux-image-4.19.0-6-amd64 | + | |
| - | linux-image-4.19.0-8-amd64 | + | |
| - | linux-image-amd64 | + | |
| + | |||
| + | Do the same for kernel headers: | ||
| + | dpkg --list | grep linux-headers | ||
| Run the commands below to remove a particular linux-image along with its configuration files, then update grub2 configuration, | Run the commands below to remove a particular linux-image along with its configuration files, then update grub2 configuration, | ||
linux/debian/remove-old-kernels.1588331031.txt.gz · Last modified: (external edit)
