Virtualbox 4

Questions about applications and software
Forum rules
Before you post please read this

Virtualbox 4

Postby madwoollything on 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
madwoollything
Level 3
Level 3
 
Posts: 158
Joined: Sun Jul 20, 2008 8:46 am

Linux Mint is funded by ads and donations.
 

Re: Virtualbox 4

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

What's a landing but a take off in reverse?
My DorkBlog
User avatar
Habitual
Level 8
Level 8
 
Posts: 2001
Joined: Sun Nov 21, 2010 8:31 pm
Location: Slackware

Re: Virtualbox 4

Postby Aging Technogeek on 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.
Image

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

Re: Virtualbox 4

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

I'm running the latest version obtained from the repos.
Was there any error message?
User avatar
kwevej
Level 5
Level 5
 
Posts: 624
Joined: Mon Mar 22, 2010 3:35 pm
Location: Delft / Prague [@ LMDE]

Re: Virtualbox 4

Postby marlar on 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.
marlar
Level 2
Level 2
 
Posts: 61
Joined: Thu Dec 10, 2009 9:30 am

Re: Virtualbox 4

Postby gosa on 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...
gosa
Level 4
Level 4
 
Posts: 304
Joined: Mon Nov 01, 2010 5:12 am
Location: Spain

Re: Virtualbox 4

Postby madwoollything on 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.
madwoollything
Level 3
Level 3
 
Posts: 158
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby Habitual on 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?
What's a landing but a take off in reverse?
My DorkBlog
User avatar
Habitual
Level 8
Level 8
 
Posts: 2001
Joined: Sun Nov 21, 2010 8:31 pm
Location: Slackware

Re: Virtualbox 4

Postby tacoz on 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)
tacoz
Level 2
Level 2
 
Posts: 86
Joined: Wed Aug 12, 2009 12:38 am
Location: Zoolooland

Re: Virtualbox 4

Postby madwoollything on 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.
madwoollything
Level 3
Level 3
 
Posts: 158
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby Aging Technogeek on 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 ]
Image

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

Re: Virtualbox 4

Postby madwoollything on 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?
madwoollything
Level 3
Level 3
 
Posts: 158
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

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

re: "4.0.4 are linked with 4.0.2"

You have both installed?
What's a landing but a take off in reverse?
My DorkBlog
User avatar
Habitual
Level 8
Level 8
 
Posts: 2001
Joined: Sun Nov 21, 2010 8:31 pm
Location: Slackware

Re: Virtualbox 4

Postby madwoollything on 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
madwoollything
Level 3
Level 3
 
Posts: 158
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby ScoobyDan on 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
ScoobyDan
Level 1
Level 1
 
Posts: 8
Joined: Thu Feb 10, 2011 5:07 am
Location: West Sussex, England

Re: Virtualbox 4

Postby madwoollything on 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: 158
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby madwoollything on 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."
madwoollything
Level 3
Level 3
 
Posts: 158
Joined: Sun Jul 20, 2008 8:46 am

Re: Virtualbox 4

Postby marlar on 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
marlar
Level 2
Level 2
 
Posts: 61
Joined: Thu Dec 10, 2009 9:30 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 5 guests