<br>Thanks a ton ... I will try it.<br><br><br><div class="gmail_quote">On Mon, Dec 20, 2010 at 2:15 PM, Mulyadi Santosa <span dir="ltr"><<a href="mailto:mulyadi.santosa@gmail.com">mulyadi.santosa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Rishi....<br>
<div class="im"><br>
On Mon, Dec 20, 2010 at 13:48, Rishi Agrawal <<a href="mailto:rishi.b.agrawal@gmail.com">rishi.b.agrawal@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> I installed the kernel 2.6.36 into my Fedora 12 system.<br>
><br>
> I am now low on disk space.<br>
><br>
> [root@rishi-desktop kernels]# du -sh linux-2.6.36/<br>
> 4.4G linux-2.6.36/<br>
<br>
</div>Hm, I think that's rather big....here after compilation (of course, my<br>
.config is likely different than yours), 2.6.36 takes approximately<br>
1.7 GiB<br>
<div class="im">><br>
> It shows that the new compiled kernel is taking around 4.4GB.<br>
<br>
</div>Together with the object files during linking stage, I believe :)<br>
<div class="im"><br>
> I wanted to free some of the space occupied by the compiled code. I<br>
> understand that the /lib/modules/2.6.36 directory can't be deleted as it<br>
> contains the compiled modules.<br>
<br>
</div>Yup...<br>
<div class="im"><br>
> I wanted to delete the files in /usr/src/kernel/2.6.36, without effecting my<br>
> newly installed kernel.<br>
><br>
> -> Can I delete them?<br>
<br>
</div>AFAIK, /lib/modules/<version>/build is symlink-ed to that source code<br>
dir, so IMHO don't delete it..<br>
<div class="im"><br>
> -> What is the best way to delete them, I want to keep the source files?<br>
<br>
</div>I think the best way here is to do "make clean" and then followed by<br>
"make modules_prepare". That way, your kernel source dir is build with<br>
files enough to compile external modules whenever needed, but not too<br>
bloated<br>
<font color="#888888"><br>
--<br>
regards,<br>
<br>
Mulyadi Santosa<br>
Freelance Linux trainer and consultant<br>
<br>
blog: <a href="http://the-hydra.blogspot.com" target="_blank">the-hydra.blogspot.com</a><br>
training: <a href="http://mulyaditraining.blogspot.com" target="_blank">mulyaditraining.blogspot.com</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Rishi Agrawal<br><br>