<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">&lt;<a href="mailto:mulyadi.santosa@gmail.com">mulyadi.santosa@gmail.com</a>&gt;</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 &lt;<a href="mailto:rishi.b.agrawal@gmail.com">rishi.b.agrawal@gmail.com</a>&gt; wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I installed the kernel 2.6.36 into my Fedora 12 system.<br>
&gt;<br>
&gt; I am now low on disk space.<br>
&gt;<br>
&gt; [root@rishi-desktop kernels]# du -sh linux-2.6.36/<br>
&gt; 4.4G    linux-2.6.36/<br>
<br>
</div>Hm, I think that&#39;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">&gt;<br>
&gt; 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>
&gt; I wanted to free some of the space occupied by the compiled code. I<br>
&gt; understand that the /lib/modules/2.6.36 directory can&#39;t be deleted as it<br>
&gt; contains the compiled modules.<br>
<br>
</div>Yup...<br>
<div class="im"><br>
&gt; I wanted to delete the files in /usr/src/kernel/2.6.36, without effecting my<br>
&gt; newly installed kernel.<br>
&gt;<br>
&gt; -&gt; Can I delete them?<br>
<br>
</div>AFAIK, /lib/modules/&lt;version&gt;/build is symlink-ed to that source code<br>
dir, so IMHO don&#39;t delete it..<br>
<div class="im"><br>
&gt; -&gt; 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 &quot;make clean&quot; and then followed by<br>
&quot;make modules_prepare&quot;. 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>