Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: VMware - Can't find Kernel Headers

  1. #1
    Join Date
    Jan 2011
    Beans
    16

    VMware - Can't find Kernel Headers

    Hi guys,

    I'm trying to get VMware workstation up and running... I have followed all the steps provided in the VMware workstation installation guide but it does not provide any information on the following problem.

    VMware seems to be installed successfully but when I run it, it says that my kernel header does not match the kernel that I have installed. But I have made sure that the header file I have is the right one (2.6.35-24-generic) it allows me to select the header from another location but the only header files I find are under /usr/src where I select linux-header-2.6.35-24-generic yet VM tells me "C header files matching your running kernel were not found."

    Please can someone help!

  2. #2
    Join Date
    Feb 2010
    Location
    Silicon Valley
    Beans
    1,898
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: VMware - Can't find Kernel Headers

    Have you installed the linux-headers-generic package? This will install the latest linux-headers package.

  3. #3
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: VMware - Can't find Kernel Headers

    Howdy,

    When all else fails, install the kernel source and compile it. If you can compile the kernel successfully, then VMware will compile and install itself perfectly.

  4. #4
    Join Date
    Jan 2011
    Beans
    16

    Re: VMware - Can't find Kernel Headers

    Quote Originally Posted by HermanAB View Post
    Howdy,

    When all else fails, install the kernel source and compile it. If you can compile the kernel successfully, then VMware will compile and install itself perfectly.
    Would you recommend compiling the same version I currently have or should I compile the latest kernel version?

  5. #5
    Join Date
    Oct 2011
    Beans
    8

    Smile Re: VMware - Can't find Kernel Headers

    Quote Originally Posted by gmargo View Post
    Have you installed the linux-headers-generic package? This will install the latest linux-headers package.
    Search for this in Synaptic package manager & download the required kernel headers..
    n njoy....

  6. #6
    Join Date
    May 2012
    Beans
    8

    Re: VMware - Can't find Kernel Headers

    Hey all,

    I hope it's alright that I bump this, I'm having the same problem.

    I'm on Ubuntu 12.10, have the vmware Workstation trial, and it gives me the same error.

    I downloaded that linuc generic kernel package, and it now shows up alongside the original in usr/src.

    I tried selecting both and vmware is still letting me have it...

    Any ideas?

    Thank you!

  7. #7
    Join Date
    Mar 2006
    Location
    Norway
    Beans
    149
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: VMware - Can't find Kernel Headers

    Unless I've missed an update, Ubuntu 12.10 is simply to new for VMware workstation. You'll currently have to use 12.04 to use it.

  8. #8
    Join Date
    Oct 2005
    Location
    Greece
    Beans
    78
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: VMware - Can't find Kernel Headers

    Vmware as amahi etc they dont work on Ubuntu 12.10
    If you want guys to use them, you should stay to 12.04
    Control Panel Review | [https://db.tt/cCwEcQyz]Get Dropbox for Free[/url]
    <?php adopt or die ?>

  9. #9
    Join Date
    Apr 2009
    Beans
    52

    Re: VMware - Can't find Kernel Headers

    The following is all you need to install/keep your kernel headers current and compile them for VMware Workstation:

    sudo apt-get install gcc build-essential kernel-headers-$(uname -r) dkms

    Where:
    gcc = C Compiler to compile the required modules
    build-essential = make. and other components needed to compile
    kernel-headers-$(uname -r) = headers based on your installed kernel version
    dkms = automatically downloads your kernel headers when the kernel is updated.



    OH!....BTW....VMware Workstation 9 "does" work with Ubuntu 12.10, I am using it now
    The trick is to also install the 3.5-x.x kernel patch...which is readily available on the Internet...

    Last edited by TJet1.8; October 29th, 2012 at 03:03 AM.

  10. #10
    Join Date
    Feb 2005
    Beans
    126
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: VMware - Can't find Kernel Headers

    Quote Originally Posted by TJet1.8 View Post
    The following is all you need to install/keep your kernel headers current and compile them for VMware Workstation:

    sudo apt-get install gcc build-essential kernel-headers-$(uname -r) dkms

    Where:
    gcc = C Compiler to compile the required modules
    build-essential = make. and other components needed to compile
    kernel-headers-$(uname -r) = headers based on your installed kernel version
    dkms = automatically downloads your kernel headers when the kernel is updated.



    OH!....BTW....VMware Workstation 9 "does" work with Ubuntu 12.10, I am using it now
    The trick is to also install the 3.5-x.x kernel patch...which is readily available on the Internet...

    Code:
    $ sudo apt-get install gcc build-essential kernel-headers-$(uname -r) dkms
    [sudo] password for me: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package kernel-headers-3.5.0-19-generic
    E: Couldn't find any package by regex 'kernel-headers-3.5.0-19-generic'
    me@aspire:~$

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •