Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I have ubuntu 12.04 lts. I am new to ubuntu and i get this warning that 0 bytes are remaining on the volume /boot. i asked a question :This is the link to it

So I Got replies saying i should remove unused kernels. Can anyone explain to me in simple language what is a kernel and how do i remove unused kernels.

Thank you :)

share|improve this question

marked as duplicate by Vojtech Trefny, mikewhatever, Avinash Raj, precise, Maythux Mar 8 '14 at 10:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 2 down vote accepted

From wikipedia

The Linux kernel is the operating system kernel used by the Linux family of Unix-like operating systems. It is a prominent example of free and open source software. The Linux kernel is released under the GNU General Public License version 2, and is developed by contributors worldwide

It is the heart of linux and any linux distribution is depend on it

while ubuntu is being updated every day. The linux kernel is also updated. So you have a couple of old archived kernels in your boot partition and you can safely remove them using this command:

sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')")
share|improve this answer
Sorry I dont get it I am too Dumb – Jatttt Mar 8 '14 at 8:10
how do i remove them ?! – Jatttt Mar 8 '14 at 8:10
@user222588 check the edit – kamil Mar 8 '14 at 8:29

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