Virtualbox 4

Archived topics about LMDE 1
Forum rules
madwoollything
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

Virtualbox 4

Postby madwoollything » Tue Feb 22, 2011 3:39 pm

I noticed that after a recent update that virtualbox-ose had been upgraded to the latest version 4.0.2
I've tried running virtualbox but with no success and went back to version 3.2 the non-free version in the repos. All is now fine.

The question is, has anyone got virtualbox 4 running on LMDE and what do you need to do to get it to work?
(I googled the various error messages I was receiving but only got links to old Ubuntu posts and nothing on LMDE)

Thanks

User avatar
Habitual
Level 12
Level 12
Posts: 4204
Joined: Sun Nov 21, 2010 8:31 pm
Location: Youngstown, Ohio

Re: Virtualbox 4

Postby Habitual » Tue Feb 22, 2011 5:07 pm

Windows assumes you're an idiot.
Linux demands proof of it.

User avatar
Aging Technogeek
Level 13
Level 13
Posts: 4595
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

Re: Virtualbox 4

Postby Aging Technogeek » Tue Feb 22, 2011 5:22 pm

Go to the Oracle Virtualbox download page here

http://www.virtualbox.org/wiki/Linux_Downloads

and either get the .deb package for Debian Squeeze or copy the repo from farther down the page into your sources.list and install Vbox 4.04 from Package Manager.

I recommend the second course as this will provide you with updates via mint Update as they become available (that's how I got version 4.04)

BTW, Virtualbox 4.xx runs great on LMDE as long as you get the proper (Debian) package.
Registered Linux User 483387

User avatar
kwevej
Level 5
Level 5
Posts: 582
Joined: Mon Mar 22, 2010 3:35 pm
Location: Delft / Prague [@ LMDE]

Re: Virtualbox 4

Postby kwevej » Tue Feb 22, 2011 5:23 pm

I'm running the latest version obtained from the repos.
Was there any error message?

marlar
Level 2
Level 2
Posts: 62
Joined: Thu Dec 10, 2009 9:30 am

Re: Virtualbox 4

Postby marlar » Wed Feb 23, 2011 4:33 am

I am running VirtualBox 4 too and it works great. I especially like the ability to put a shortcut to a VM on the desktop.

I used the deb package for the Oracle version.

gosa
Level 4
Level 4
Posts: 302
Joined: Mon Nov 01, 2010 5:12 am
Location: Spain

Re: Virtualbox 4

Postby gosa » Wed Feb 23, 2011 8:49 am

Aging Technogeek wrote:Go to the Oracle Virtualbox download page here

http://www.virtualbox.org/wiki/Linux_Downloads

and either get the .deb package for Debian Squeeze or copy the repo from farther down the page into your sources.list and install Vbox 4.04 from Package Manager.

I recommend the second course as this will provide you with updates via mint Update as they become available (that's how I got version 4.04)

BTW, Virtualbox 4.xx runs great on LMDE as long as you get the proper (Debian) package.


I went down the same path with adding the repositories and installing yesterday, and have no problems so far. I have Windows XP installed in a VM and I'm in the process of installing a few programs that I still haven't found good (for me) Linux alternatives for...

A thing worth mentioning if downloading from the webpage is that the "extension"-package that gives support for (among other things) USB 2 is a general package located one "level up" (http://www.virtualbox.org/wiki/Downloads) from the above link.
- Maybe that's just me, but I didn't find these extensions in my Software manager, so I downloaded those directly instead...

madwoollything
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby madwoollything » Wed Feb 23, 2011 9:21 am

kwevej wrote:I'm running the latest version obtained from the repos.
Was there any error message?


Error message when trying to use upgraded version of virtualbox:

Kernel driver not installed (rc=-1908). The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing '/etc/init.d/vboxdrv setup' as root.

User avatar
Habitual
Level 12
Level 12
Posts: 4204
Joined: Sun Nov 21, 2010 8:31 pm
Location: Youngstown, Ohio

Re: Virtualbox 4

Postby Habitual » Wed Feb 23, 2011 12:20 pm

kernel-headers installed?

Code: Select all

uname -r


kernel-headers package should match that result.

What does

Code: Select all

sudo /etc/init.d/vboxdrv setup
report?
Windows assumes you're an idiot.
Linux demands proof of it.

tacoz
Level 3
Level 3
Posts: 102
Joined: Wed Aug 12, 2009 12:38 am
Location: Zoolooland

Re: Virtualbox 4

Postby tacoz » Thu Feb 24, 2011 4:44 am

madwoollything wrote:The question is, has anyone got virtualbox 4 running on LMDE and what do you need to do to get it to work?


For sure! But then I use the deb from the Oracle site rather... you don't want to be using the OSE versions if USB connections are necessary.

Code: Select all

 $ dpkg -l virtual*
||/ Name                       Version                                               Description
+++-==================================================
un  virtualbox               <none>                                             (no description available)
ii  virtualbox-4.0           4.0.4-70112~Debian~squeeze          Oracle VM VirtualBox
un  virtualbox-ose        <none>                                             (no description available)

madwoollything
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby madwoollything » Fri Feb 25, 2011 12:44 pm

Habitual wrote:kernel-headers installed?

Code: Select all

uname -r


kernel-headers package should match that result.

What does

Code: Select all

sudo /etc/init.d/vboxdrv setup
report?


kernel-headers are installed and match uname -r

sudo /etc/ini.d/vboxdrv setup does not report anything.

User avatar
Aging Technogeek
Level 13
Level 13
Posts: 4595
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

Re: Virtualbox 4

Postby Aging Technogeek » Sat Feb 26, 2011 12:46 am

What

Code: Select all

 sudo /etc/init.d/vboxdrv setup


should do is rebuild your Virtualbox kernel modules. You should see something like this

Code: Select all

* Stopping VirtualBox kernel modules                                    [ OK ]
 * Uninstalling old VirtualBox DKMS kernel modules                       [ OK ]
 * Trying to register the VirtualBox kernel modules using DKMS           [ OK ]
 * Starting VirtualBox kernel modules                                    [ OK ]
Registered Linux User 483387

madwoollything
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby madwoollything » Sat Feb 26, 2011 3:33 pm

I have followed the advice of installing 4.0.4 from Oracle and it works however ....

after a reboot I get the following message:

"Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall 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."

If I run the vboxdrv setup then I get the following:

"$ sudo /etc/init.d/vboxdrv setup
[sudo] password for ian:
Stopping VirtualBox kernel modules:.
Uninstalling old VirtualBox DKMS kernel modules:.
Trying to register the VirtualBox kernel modules using DKMS:.
Starting VirtualBox kernel modules:."

Then all works again. What is failing to load at startup?

Maybe the problems I've been having with 4.0.4 are linked with 4.0.2?

User avatar
Habitual
Level 12
Level 12
Posts: 4204
Joined: Sun Nov 21, 2010 8:31 pm
Location: Youngstown, Ohio

Re: Virtualbox 4

Postby Habitual » Sat Feb 26, 2011 3:35 pm

re: "4.0.4 are linked with 4.0.2"

You have both installed?
Windows assumes you're an idiot.
Linux demands proof of it.

madwoollything
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby madwoollything » Sun Feb 27, 2011 5:02 am

Habitual wrote:re: "4.0.4 are linked with 4.0.2"

You have both installed?


No.
I first installed 4.0.2 which would not run.
I then went back to 3.2 which worked fine (removing 4.0.2)
Finally removed 3.2 and installed 4.0.4 from Oracle site.

4.0.4 runs after running '/etc/init.d/vboxdrv setup' after each reboot of the host machine

ScoobyDan
Level 1
Level 1
Posts: 8
Joined: Thu Feb 10, 2011 5:07 am
Location: West Sussex, England

Re: Virtualbox 4

Postby ScoobyDan » Sun Feb 27, 2011 1:54 pm

madwoollything wrote:4.0.4 runs after running '/etc/init.d/vboxdrv setup' after each reboot of the host machine


madwoollything,

How did you install VirtualBox 4.0.4? Via the direct download, or via the Oracle repository?

I had the same problem as you when I used the version from Debian's repository (3.2). I then went to the VirtualBox site, and added the VirtualBox repository to my sources.list:

Code: Select all

deb http://download.virtualbox.org/virtualbox/debian squeeze contrib


This then replaced 3.2 with 4.0.4(-70112~Debian~squeeze, to be precise), which works every time without a glitch.

Worth a try?

Daniel

madwoollything
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby madwoollything » Sun Feb 27, 2011 3:04 pm

ScoobyDan wrote:
madwoollything wrote:4.0.4 runs after running '/etc/init.d/vboxdrv setup' after each reboot of the host machine


madwoollything,

How did you install VirtualBox 4.0.4? Via the direct download, or via the Oracle repository?

I had the same problem as you when I used the version from Debian's repository (3.2). I then went to the VirtualBox site, and added the VirtualBox repository to my sources.list:

Code: Select all

deb http://download.virtualbox.org/virtualbox/debian squeeze contrib


This then replaced 3.2 with 4.0.4(-70112~Debian~squeeze, to be precise), which works every time without a glitch.

Worth a try?

Daniel


Thanks but I used the Oracle repository as you did (to replace 3.2 from the mint repos) and have to run '/etc/init.d/vboxdrv setup' after each reboot with version 4.0.4

madwoollything
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby madwoollything » Fri Mar 04, 2011 2:57 pm

Help .... :!:

I've gone back to virtualbox 3.2 hoping that that would solve the problem ..... but no.
Something is messed up and after each reboot when I launch virtualbox I get the same error message as before (see below).

Anyone an bright ideas on how I can fix this?

(I've completely removed virtualbox via synaptic and then reinstalled, but this does not appear to have made any difference. DKMS is installed.
I don't want to have to do a full re-install of LMDE just to get virtualbox working again)

----------------------------------------------------------------

"Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall 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."

marlar
Level 2
Level 2
Posts: 62
Joined: Thu Dec 10, 2009 9:30 am

Re: Virtualbox 4

Postby marlar » Thu Mar 10, 2011 4:16 pm

madwoollything wrote:(I've completely removed virtualbox via synaptic and then reinstalled, but this does not appear to have made any difference. DKMS is installed.
I don't want to have to do a full re-install of LMDE just to get virtualbox working again)


Did you also remove all configuration files? They typically reside in ~/.VirtualBox

You can also try to purge the program:

Code: Select all

sudo aptitude purge virtualbox-3.2


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 0 guests