First, use this command to view the Kernel used by the current Ubuntu system. Uname-a specific unmount method for the sudoapt-get-removelinux-headers-2.6.24-14-generic so that you can automatically delete the kernel file, you can also release disk space. Foo @ bar :~ $ Dpkg -- get-selections | greplinuxlibselinux1installlinux
First, use this command to view the Kernel used by the current Ubuntu system.
Uname-
The specific uninstall method is
Sudo apt-get-remove linux-headers-2.6.24-14-generic
In this way, the kernel files can be automatically deleted and the disk space can be released.
Foo @ bar :~ $ Dpkg -- get-selections | grep linux
Libselinux1 install
Linux-generic install
Install linux-headers-2.6.24-16
Install linux-headers-2.6.24-16-generic
Linux-headers-generic install
Deinstall linux-image-2.6.22-14-generic
Install linux-image-2.6.24-16-generic
Linux-image-generic install
Linux-libc-dev install
Deinstall linux-restricted-modules-2.6.22-14-generic
Install linux-restricted-modules-2.6.24-16-generic
Linux-restricted-modules-common install
Linux-restricted-modules-generic install
Linux-sound-base install
Deinstall linux-ubuntu-modules-2.6.22-14-generic
Install linux-ubuntu-modules-2.6.24-16-generic
Util-linux install
Util-linux-locales install