1

I am using Ubuntu. I have Linux kernel 3.8.0-35-generic, 2.6.34.14 and 2.6.34.14. I want to delete the 2.6 versions from my system, because 2.6 won't even load when i select them in grub boot loader. How do I remove them?

0

Easiest way is to uninstall them. Read this.

SuperUser answers.

tl;dr.

dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | grep -E "(image|headers)" | xargs sudo apt-get -y purge
  • I tried this sir it didnt work i still see my previous versions in grub boot loader – Hari Apr 15 '14 at 1:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.