vbox on Mandriva 2009

Discussions related to using VirtualBox on Linux hosts.
Post Reply
blacksun
Posts: 8
Joined: 4. Jan 2009, 20:31

vbox on Mandriva 2009

Post by blacksun »

Hi there.
I installed vbox but I cannot start WinXP machine.

Code: Select all

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I did

Code: Select all

# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                               [  OK  ]
Recompiling VirtualBox kernel module                            [FAILED]
  (Look at /var/log/vbox-install.log to find out what went wrong)
the log is:

Code: Select all

cat /var/log/vbox-install.log                   
Attempting to install using DKMS                                        
  removing old DKMS module vboxdrv version  3.0.2                       

------------------------------
Deleting module version: 3.0.2
completely from the DKMS tree.
------------------------------
Done.                         

Creating symlink /var/lib/dkms/vboxdrv/3.0.2/source ->
                 /usr/src/vboxdrv-3.0.2               

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.29.6-desktop586-1mnb cannot be found at
/lib/modules/2.6.29.6-desktop586-1mnb/build or /lib/modules/2.6.29.6-desktop586-1mnb/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
my kernel is

Code: Select all

# uname -r
2.6.29.6-desktop586-1mnb
what should I do next. Any help please

thanks!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vbox on Mandriva 2009

Post by Perryg »

I looks like you need to install the build and header files.
blacksun
Posts: 8
Joined: 4. Jan 2009, 20:31

Re: vbox on Mandriva 2009

Post by blacksun »

Perryg wrote:I looks like you need to install the build and header files.
the kernel-headers is installed. And build files I don't know where I can find? I search through Mandriva Control Center at Software Management and I found just rpm-build or LSB-build. Which do I need? Does someone if familiar with Mandriva packages?

thanks
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vbox on Mandriva 2009

Post by Perryg »

I googled this install virtualbox on mandriva and it returned, http://mandrivausers.org/index.php?/top ... h-install/ as the top hit. There are several others that you can use to help you install this.
blacksun
Posts: 8
Joined: 4. Jan 2009, 20:31

Re: vbox on Mandriva 2009

Post by blacksun »

Perryg wrote:I googled this install virtualbox on mandriva and it returned, http://mandrivausers.org/index.php?/top ... h-install/ as the top hit. There are several others that you can use to help you install this.
thanks perryg, but the problem is that I already installed vbox and not vbos ose and the kernel version is newer than the vbox. I believed that I can find some help on this forum for I already google it for answers.
Post Reply