I am unable to make VirualBox work with Suse 12.1. I am getting the same error as mentioned below. Here are the steps i followed
Created a repository and installed Virtual Box
Added myself and root in virtualbox group
Downloaded and installed packman DKMS rpm
Enabled as mentioned
[X] Base Development
[X] Linux Kernel Development
[X] C/C++ Development
But still no luck.
Any help will be appreciated.
Thanks
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 3.1.0-1.2-desktop cannot be found at
/lib/modules/3.1.0-1.2-desktop/build or /lib/modules/3.1.0-1.2-desktop/source.
Something is wrong with your installed kernel-pacakges. Sources etc,. are not those of the running kernel version, First update your system, so that all kernel related packages have the same, the running kernel’s, version
Below are the errors in installation. It looks like something is not correct here.
akefile:175: 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.
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /usr/src/linux modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo;
echo " ERROR: Kernel configuration is invalid.";
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";
echo " Run ‘make oldconfig && make prepare’ on kernel src to fix it.";
echo;
/bin/false)
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run ‘make oldconfig && make prepare’ on kernel src to fix it.
So, you have done something wrong, but its hard to tell just what for sure. For instance, you would not normally have the kernel: kernel-desktop-3.1.0-1.2.1.x86_64 & the developer package: kernel-desktop-devel-3.1.9-1.4.1.x86_64 as they are not the same version but they should be. And as a new user, I would not go for Tumbleweed right off the bat as you would need to get it right and working properly before trying to load in VirtualBox. Why not install the regular openSUSE 12.1 version, update it, install the kernel sources and make sure all is well before moving on? Many of us here are using VirtualBox and it does work under several system combinations, but the kernel versions loaded can not all be different normally to get it to work.
Thanks guys, i got the issue and trying to re-install. I am having another stumbling block after re-install. It looks every thing is installed correctly but machine does not boot and i am seeing following error
Error no active partition
It looks like my disk partition is screwed up. I am trying to get over that before moving further.
On 03/09/2012 10:46 PM, jainparv wrote:
>
> jdmcdaniel3;2447145 Wrote:
>> Yes, the word Tumbleweed in the message title has got me confused, but I
>> am not the only one here I think.
>>
>> Thank You,
>
> Thanks guys, i got the issue and trying to re-install. I am having
> another stumbling block after re-install. It looks every thing is
> installed correctly but machine does not boot and i am seeing following
> error
>
> Error no active partition
>
> It looks like my disk partition is screwed up. I am trying to get over
> that before moving further.
You have the standard Microsoft code in the MBR. When the code runs, it tries to
find a primary partition that has the “boot” flag set. When it finds none, it
issues the message above.
You need to boot a rescue or Live CD and run fdisk. The active or bootable
partition is set with the “a” command. The correct active partition is the one
containing / if it is one of partitions 1-4. If it is 5 or higher, then make the
extended partition container active.