I recently upgraded to kernel version 3.8.0-27. Can I remove that version and update grub
to make 3.5.0-32 my normal boot? If yes, how can I do this with minimum risk? Can I do this via the Synaptic package manager?
Asked
Active
Viewed 2.6k times
16
1 Answers
18
As root, issue the following commands:
dpkg -l | grep linux-image
Find the kernel image you want to remove, which should be linux-image-3.8.0-27-generic
(be sure it is).
Then
apt-get remove linux-image-3.8.0-27-generic
I don't think a GRUB update is needed, it should just disappear from the GRUB menu. If you get any errors with GRUB just issue, also as root, update-grub
.

Alex
- 1,249
sudo apt remove linux-image-4.4.0-31-generic
, I get:The following packages will be REMOVED: linux-generic linux-image-4.4.0-31-generic linux-image-extra-4.4.0-31-generic linux-image-generic
which is a bit scary because it's going to delete a kernel with no version number, is that a fundamental package in the system that if I remove, I make my system not boot anymore??? – knocte Jul 15 '16 at 11:25linux-image-generic
is a "meta package" that is needed to get future kernel updates. it is adviced not to remove it. – axolotl Apr 07 '18 at 01:40