Low on disk space after compiling new kernel.

Rishi Agrawal rishi.b.agrawal at gmail.com
Mon Dec 20 01:48:01 EST 2010


Hi All,

I installed the kernel 2.6.36 into my Fedora 12 system.

I am now low on disk space.

[root at rishi-desktop kernels]# du -sh linux-2.6.36/
4.4G    linux-2.6.36/

It shows that the new compiled kernel is taking around 4.4GB.

The /lib/modules/2.6.36 is taking around 780M on my disk.

I wanted to free some of the space occupied by the compiled code. I
understand that the /lib/modules/2.6.36 directory can't be deleted as it
contains the compiled modules.

I wanted to delete the files in /usr/src/kernel/2.6.36, without effecting my
newly installed kernel.

-> Can I delete them?

-> What is the best way to delete them, I want to keep the source files?

-> Should I run make clean to remove the compiled code?

-> Any other way?

-- 
Regards,
Rishi Agrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20101220/4ccc1b30/attachment.html 


More information about the Kernelnewbies mailing list