I updated the linux kernel from 3.5 to 3.16 by downloading tar.xz file from linuxkernel.org and compiled, and subsequently installed successfully on my ubuntu machine(meaning I am able to see the boot options when I start the pc and can log into either 3.5 or 3.16 version of linux kernel) but now I want to remove the newer version. steps I followed
- logged into older version 3.5
ran
dpkg --list | grep linux-image
but there is no mention of 3.16root@h2o-Vostro-1015:~# dpkg --list | grep linux-image ii linux-image-3.5.0-17-generic 3.5.0-17.28 i386 Linux kernel image for version 3.5.0 on 32 bit x86 SMP ii linux-image-extra-3.5.0-17-generic 3.5.0-17.28 i386 Linux kernel image for version 3.5.0 on 32 bit x86 SMP ii linux-image-generic 3.5.0.17.19 i386 Generic Linux kernel image
which indicated that I have only 3.5 version installed,but I can boot into 3.16 version and also
- I checked the /boot directory, there I can see the initrd.img-3.16.0-rc4, which proves that the 3.16 version is still present.
had above steps worked I would have tried either removal through synaptic or
sudo apt-get remove --purge 3.16.0*
command via terminal.
kindly advise how can I remove the newer version.