Ok, so to start off i’m quite a n00b with Linux… I know some commands and what not, and I can do some stuff with it.
So this is my first post here after basically lurking for information, which mostly helped me out, but i’m still having problems =/
After first trying YasT2 to install VMWare, and that not working, I tried using the method outlined on this page: Install VMware server 2 in Suse / openSUSE 11 & USB support
I can get to a certain point, starting most of the installation process, and then I get this:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
(I hit enter)
The path “/usr/src/linux/include” is a kernel header file directory, but it
does not contain the file “linux/version.h” as expected. This can happen if
the kernel has never been built, or if you have invoked the “make mrproper”
command in your kernel directory. In any case, you may want to rebuild your
kernel.
What should I do? I patched the vmware-config.pl file with the text file that I made and that seemed to work okay… so i’m not sure why this is happening.
I know there was another post on this similar issue, which I read, but there didn’t seem to be an answer to that, or the thread was forgotten due to the large amount of threads here.
Actually, I tried getting VirtualBox with YasT2 and it looks like it installed… it shows up in the application list on the Application menu. However, when I try to start it, it looks like it’s trying to launch with a cursor animation going for it, then nothing happens. It never really starts up. I dunno what’s going on :- S
Note this part:
** Prerequisites for VirtualBox downloads **
Whether you use binaries or installing from source you have to install the following packages first:
kernel-source
kernel-syms
Xalan-c
Xerces-c
gcc
make
Then:
Next, create the required kernel module by executing the command from su terminal:
/etc/init.d/vboxdrv setup
Then:
** Post-Installation **
Though VirtualBox will start after you’ve just installed it, there are a few other necessary steps to complete before you can really get the most out of VirtualBox. These include:
Making sure that the vboxdrv
driver is loaded.
In the terminal (as root), execute the following command:
modprobe vboxdrv
Add your user to the vboxusers
group:
groupmod --add-user <login> vboxusers
Or open YaST → Security and Users → UserManagement, and edit your user and add them to the vboxusers group. To do this, select your user name, click on Edit, switch to the Details tab and check the vboxusers check box.
Remember that this takes effect the next time that user logs in. If the user was logged in at the time you added him to the group, need need to log out and in again.
You should then be able to run VirtualBox just fine!
On 10/05/2009 06:46 AM, ph33linz wrote:
>
> Ok, so to start off i’m quite a n00b with Linux… I know some commands
> and what not, and I can do some stuff with it.
> So this is my first post here after basically lurking for information,
> which mostly helped me out, but i’m still having problems =/
> After first trying YasT2 to install VMWare, and that not working, I
> tried using the method outlined on this page:
> ‘Install VMware server 2 in Suse / openSUSE 11 & USB support’
> (http://opensuse.swerdna.org/susevmwareserver.html)
> I can get to a certain point, starting most of the installation
> process, and then I get this:
>
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include]
>
> (I hit enter)
>
> The path “/usr/src/linux/include” is a kernel header file directory,
> but it
> does not contain the file “linux/version.h” as expected. This can
> happen if
> the kernel has never been built, or if you have invoked the “make
> mrproper”
> command in your kernel directory. In any case, you may want to rebuild
> your
> kernel.
>
> What should I do? I patched the vmware-config.pl file with the text
> file that I made and that seemed to work okay… so i’m not sure why
> this is happening.
>
> I know there was another post on this similar issue, which I read, but
> there didn’t seem to be an answer to that, or the thread was forgotten
> due to the large amount of threads here.
>
>
Try to also install the ‘linux-kernel-headers’ package with Yast in
addition to the packages mentioned in the article.
Ok, so when I try to run the /etc/init.d/vboxdrv setup command I get this:
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)
Looking at /var/log/vbox-install.log…
Makefile:174: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.
This seems kinda wierd seeing as VirtualBox shows as installed and I can open it currently… but just can’t start a virtual machine without getting an error saying that I need to run /etc/init.d/vboxdrv setup
So I tried that, and this is what it came back with:
zypper up kernel-source
Loading repository data…
Reading installed packages…
No update candidate for ‘kernel-source’.
Resolving package dependencies…
Nothing to do.
uname -a
Linux linux-td1h 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux
rpm -qi kernel-source
Name : kernel-source Relocations: /usr/src
Version : 2.6.27.29 Vendor: openSUSE
Release : 0.1.1 Build Date: Sun 16 Aug 2009 04:13:52 AM MDT
Install Date: Sun 04 Oct 2009 02:35:33 PM MDT Build Host: rinck
Group : Development/Sources Source RPM: kernel-source-2.6.27.29-0.1.1.src.rpm
Size : 309251954 License: GPL v2 only
Signature : RSA/8, Sun 16 Aug 2009 04:27:25 AM MDT, Key ID b88b2fd43dbdc284
Packager : Submitting Bug Reports - openSUSE
URL : The Linux Kernel Archives
Summary : The Linux Kernel Sources
Description :
Linux kernel sources with many fixes and improvements.
Authors:
Linus Torvalds <torvalds@osdl.org>
see /usr/src/linux/CREDITS for more details.
Makefile:150: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
Makefile:185: *** Unable to find the folder to install the support driver to. Stop.