VMware Fusion and Linux

scootermaster

Platinum Member
Nov 29, 2005
2,411
0
0
So I downloaded a preview of VMware Fusion, and wanted to install Linux on it. I'm using the newest FC 13 (I think). And I try to install the VMware tools, and that works, sorta. I have the dreaded "can't find kernel headers" problem. Of course, I installed them, but they don't match up with the kernel number (the kernel was installed via a downloaded, mounted, and then "install to hard drive" liveCD. The source headers were installed via add/remove hardware). Now, the debug kernel matches the number of the sources (the normal kernel is a release or two behind). But still...I can't seem to find the right directory to point the installer to.

Anyone have any idea how to do this? I have this compiler I use for work that I couldn't get to work on OSX natively (sigh, no ELF support) but it should work in Linux in a VMware machine, but I can't get those tools to work, and for whatever reason, can't get directory sharing to work.

Help? Thanks!
 

KeypoX

Diamond Member
Aug 31, 2003
3,655
0
71
No help here, except suggest ubuntu 10.04, it books in like 8 seconds on vmware. vmtools install auto i believe.
 
Last edited:

ViRGE

Elite Member, Moderator Emeritus
Oct 9, 1999
31,516
167
106
Weird. The last time I installed a Linux distro under VMWare, it knew how to compile a fresh set of the tools when the precompiled version was outdated compared to what was then a brand-new version of Ubuntu.
 

scootermaster

Platinum Member
Nov 29, 2005
2,411
0
0
From google, this is seemingly a common problem. I'm thinking maybe I'll reinstall with an install DVD, which presumably will have the same version of sources/kernel headers and kernel.

But more importantly, where, in general, are these things? /usr/src/include? /usr/src/include/kernels? /usr/src/include/kernels/2.6.34323454354352435243543? Anyone? Bueller?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
From google, this is seemingly a common problem. I'm thinking maybe I'll reinstall with an install DVD, which presumably will have the same version of sources/kernel headers and kernel.

But more importantly, where, in general, are these things? /usr/src/include? /usr/src/include/kernels? /usr/src/include/kernels/2.6.34323454354352435243543? Anyone? Bueller?

I can't speak to Fedora, but in Debian (and probably Ubuntu) if you install just the kernel headers package you get /usr/src/linux-headers-version for each package you install. But that location doesn't matter, any module that needs compiled against a kernel should be using the /lib/modules/version/build symlink to find the appropriate headers.
 

scootermaster

Platinum Member
Nov 29, 2005
2,411
0
0
I can't speak to Fedora, but in Debian (and probably Ubuntu) if you install just the kernel headers package you get /usr/src/linux-headers-version for each package you install. But that location doesn't matter, any module that needs compiled against a kernel should be using the /lib/modules/version/build symlink to find the appropriate headers.

Huh. Alrighty. I'll try again when I get a sec. Of course, it won't fix the other [Open64] related issues I have. Sigh.
 

scootermaster

Platinum Member
Nov 29, 2005
2,411
0
0
I installed off an install DVD (not a live-DVD installed to the HD) and everything seems to be working. I have drag and drop, shared folders, and unified cut/paste across machines.

This is going to be SO cool, if I can get a working install of my compiler, and not have to telnet in to my work machine to run Linux. =]