title: no rule to make target for simple hello module
body: <p>So I am trying to write a simple hello module no need to say a newbie :) </p>
  
  <p>however while following steps to create a make file - what I saw was I didnot have build folder at uname -r/<strong>build</strong>  so I created one - not sure that itself should be problem as in instead of creating build folder if I am suppose to download some package ?</p>
  
  <p>Also looking online there is solution which says I need to do below steps</p>
  
  <p>prepare-kernel-sources
  <strong>cd /usr/src/linux</strong>  - now turns out I dont i have linux folder too
  cp -rf include/generated/* include/linux/</p>
  
  <pre><code>make: Entering directory `/lib/modules/2.6.32-5-amd64/build'
  make: *** No rule to make target `modules'.  Stop.
  make: Leaving directory `/lib/modules/2.6.32-5-amd64/build'
  </code></pre>
  
  <p>I have tried to install following packages - only the highlighted ones goes through rest gives error</p>
  
  <pre><code>**apt-get install linux-headers-$(uname -r)**  goes through
  apt-get install Linux-headers-generic
  apt-get install build-essentials
  apt-cache search linux-headers-$(uname -r)
  apt-get install kernel-source-$(uname -r)
  **apt-get source linux-image-$(uname -r)**   goes through
  </code></pre>
  
  <p>Can someone please help ?</p>