WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Current Linux Kernel Directory?  (Read 1833 times)

Offline naylinn69

  • Newbie
  • *
  • Posts: 4
Current Linux Kernel Directory?
« on: September 17, 2014, 05:13:04 PM »
Hi guys,

I was trying to install VirtualBox Guest Additions and one of the error in the log says that it could not find the sources of the current linux kernel. So where exactly is the kernel source? I tried the find command from terminal but it gave me like a bunch of results.

Thanks,
Nay

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Current Linux Kernel Directory?
« Reply #1 on: September 17, 2014, 08:40:56 PM »
Check out  linux-kernel-sources-env.tcz .
It contains a script for downloading and populating the kernel sources into the file system.
You might want to save the downloaded files for later use. The script will find them if they are stored somewhere in the filesystem. I have them stored elsewhere but sysmlinked to my $HOME.
Download a copy and keep it handy: Core book ;)

Offline naylinn69

  • Newbie
  • *
  • Posts: 4
Re: Current Linux Kernel Directory?
« Reply #2 on: September 18, 2014, 01:37:40 PM »
Thanks, Misalf.

Managed to set the KERN_DIR and mount the shared folder using VitualBox services.