Go to YaST/System/System Services. There are two drivers that need to be enabled for the host, vboxdrv and vboxnet. Depending on what you’ve installed, there could also be several others which are for a vbox linux guest.
There are two versions of Vbox. One comes from the Sun virtualbox.org site and is the non-OSE version. This one requires the kernel-source to build the vboxdrv module, but can run some proprietary add-ons, including USB support, IIRC. The other is the OSE version which you will find at the OpenSUSE repo. This one will only work for the kernel version it was compiled for. A message like this is the result for the wrong kernel version.
Recompiling VirtualBox kernel module, NOT. It has been packaged.
I use the Sun version. I have to recompile vboxdrv whenever the kernel is updated, but other than that I don’t have problems.
The last time I looked there wasn’t a 11.0 specific rpm on the Sun site. Since I wanted to give VBox a try (was using VMware), I went with what’s in the repos. Have noticed regular patch updates, besides kernel updates. Working excellently with a W$ guest.
I haven’t tried VBox yet, but this thread contains some good info for new users, so I’m paying close attention.(Thanks mingus725, caf4926, ken_yap et al) I’d like to see a basic wiki page on VBox with this info added.
ken yap schrieb:
> There are two versions of Vbox. One comes from the Sun virtualbox.org
> site and is the non-OSE version.
In fact the OSE version is available from virtualbox.org, too.
But it appears they don’t provide RPMs for it anymore, so you’ll
have to compile it yourself.
badger fruit schrieb:
> Hello
> I grabbed Virtualbox from Yast today but can’t seem to get it working
>
>
> I set up the machine, disk etc but when I run I am told I need to run
> “/etc/init.d/vboxdrv setup” as root in a shell.
>
> When I do this I get:-
>
>
> Code:
> --------------------
>
> badger_fruit@bgrmedia01:~> su
> Password:
> bgrmedia01:/home/badger_fruit # /etc/init.d/vboxdrv setup
> Stopping VirtualBox kernel module done
> Recompiling VirtualBox kernel module, NOT. It has been packaged. done
> Starting VirtualBox kernel module failed
> (Kernel module not found)
> bgrmedia01:/home/badger_fruit #
>
>
> --------------------
>
>
>
> I have gone back into yast and ensured i have the vboxkernel stuff and
> tried again, same thing.
>
> Any ideas please?
Don’t use the openSUSE RPM. The ability to recompile the VirtualBox kernel
module has been deliberately removed from it, so if you need to do that
you’re out of luck.
Use the original source or the non-OSE RPM from Sun instead. They do allow
recompiling the module as needed.
hmm, thanks for the info guys; so i started to follow the instructions but while it’s downloading, can anyone suggest a reasonable alternative to VBOX that I can just get from the repos?
The main alternative is VMware server but not only is that rather more heavyweight on resources, you still have to download it from VMware (?) as it is proprietary. Other than having a somewhat easier network setup (which only needs to be done once anyway), I personally think that VirtualBox is better and I use it for work (I run an XP VM and an OpenSUSE 11.0 development box including LAMP).
I agree with the others here. Grab the latest non-OSS version from Sun, it is trivial to install.
What isn’t quite so trivial is getting USB to work (not available on the OSS version anyway) or Host networking. However, if you follow the link in my sig to my Linux blog, I’ve put the instructions for OpenSUSE there.
Hey guys, i’m sorry to bump this thread but just wanted to give you a progress report as such;
so after getting to the point of wanting to give in, i decided to check the GRUB menu, afterall, the error was saying there’s no kernel match; turns out i’ve been running PAE kernel for god-knows how long!
Switched GRUB to load ‘default’, and re-tried.
VBOX then worked straight away!
kicks himself but also wonders where the pae kernel came from! *
Hey guys, i’m sorry to bump this thread but just wanted to give you a progress report as such;
so after getting to the point of wanting to give in, i decided to check the GRUB menu, afterall, the error was saying there’s no kernel match; turns out i’ve been running PAE kernel for god-knows how long!
Similar to forgetting to turn the power switch on, or plugging equipment in… lol!