can't find my kernel source on debian

  • Andre Klausnitzer

    I can not find my linux kernel source on Debian to make a symlink. Can anybody help me?

    • ogott

      ogott - 2005-07-11

      you have to install a package called kernel-source-2.6.8 (if you're using linux 2.6.8).
      find out by typing 'uname -r' to see what kernel version you have and install the package that 'apt-cache search | grep uname -r' reports.
      then you'll have the zipped kernel source in /usr/src. go there, unzip it and set the link: 'ln -s kernel-source-2.6.8 linux' (or whatever the extracted directory is called).
      if you don't want to reconfigure the whole kernel, copy the current config (its called /proc/config or so, i can't check that right now) to /usr/src/linux/.config or load the file from the appropiate option in the menuconfig.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks