LinuxSay - A Discussion Forum for Linux Enthusiasts

How to remove latest kernel ? from Ubuntu


#1

Hi,

How to remove latest kernel from Ubuntu 14.04

And I have tried to install oracle VM for Genymotion but system crashed not able to login

But I have able to login via ctrl+alt+f4 …

ctrl + alt + f2 - is not working I dont know why … something went wrong with my ubuntu 14.04 please urgent


#2

@dhanupreeth

First find out old kernels in your Ubuntu distribution using:

# dpkg -l | grep linux-image-

The above command will show the installed kernels. Each will have the 2.6.xx-yy numbers in them. So, remove the older number version as shown:

sudo apt-get autoremove linux-image-xx-yy