Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a 2G home partition, /lib/modules is taking more that 1.5G. I got 12 directory named after version of kernel 2.6.32 each taking 119k. Why do I have all of that? Do I need all of that? If not, what is the clean way to remove what I don't need?

Thanks

share|improve this question
1  
possible duplicate of Is there a way to remove/hide old kernel versions? –  Lekensteyn Mar 25 '12 at 9:54
1  
The other question do not mention anything about disk space. –  Guillaume Coté Mar 25 '12 at 20:28

1 Answer 1

up vote 2 down vote accepted

Automatic update is installing each new kernel, but there is no clean-up, and there is a copy of the module for each kernel.

There is a package entry called :

linux-image-<version>-generic

Removing it removed the corresponding files in /lib/modules

share|improve this answer
1  
This is correct, but there are more complete instructions for cleanup at askubuntu.com/questions/2793/… –  Amanda Apr 28 '13 at 23:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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