VirtualBox

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
jibe
Level 3
Level 3
Posts: 105
Joined: Thu Dec 28, 2006 4:31 pm

VirtualBox

Post by jibe »

Hi,

I installed virtual box on Elyssa, and I have these packages :
- virtualbox-ose,
- virtualbox-ose-guest-modules-2.6.24-19-generic (automatically installed)
- virtualbox-ose-guest-modules-2.6.24-19-virtual (automatically installed)
- virtualbox-ose-guest-modules-generic
- virtualbox-ose-guest-modules-virtual
- virtualbox-ose-guest-utils
- virtualbox-ose-modules-2.6.24-19-generic (automatically installed)
- virtualbox-ose-modules-2.6.24-19-virtual (automatically installed)
- virtualbox-ose-modules-generic
- virtualbox-ose-modules-virtual

Now, I have those Grub options :
1 : Linux Mint, kernel 2.6.24-19-virtual
2 : Linux Mint, kernel 2.6.24-19-virtual (recovery mode)
3 : Linux Mint, kernel 2.6.24-19-generic
4 : Linux Mint, kernel 2.6.24-19-generic (recovery mode)
5 : Linux Mint, kernel 2.6.24-16-generic
6 : Linux Mint, kernel 2.6.24-16-generic (recovery mode)
7 : Linux Mint, kernel memtest86+

I didn't paid attention, but I think that I had #5, 6 and 7 after the 1st installation, 3 and 4 after update, and 1 and 2 after virtualbox installation.

My problem is that when I start Mint with 1, I have no network connection (ifconfig shows only lo interface). If I start it with 3, network is Ok, but I have no sound, and if I start it with 5, all is Ok but wirtualbox is not working well (no mouse/keyboard capture).

How can I have Virtualbox weorking well, with sound and network ?

Did I install the right modules ? Maybe too much and not the right ones ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Re: VirtualBox

Post by Husse »

If I start it with 3, network is Ok, but I have no sound, and if I start it with 5, all is Ok
This is why we developed mintUpdate and categorized the updates
The kernel update has broken sound
I may have a fix for that

Code: Select all

find /lib/modules/`uname -r` | grep snd
If that does not return anything then do

Code: Select all

sudo aptitude install linux-ubuntu-modules-`uname -r` linux-generic
In case you don't know uname -r gives the present kernel version. From this you understand that you must be booted into your alternative 3 :)
and I actually don't know what
Linux Mint, kernel 2.6.24-19-virtual
really is :shock:
Well it's headers for virtualbox (I presume) but what does it do?
User avatar
grimdestripador
Level 6
Level 6
Posts: 1051
Joined: Fri Feb 16, 2007 2:26 am

Re: VirtualBox

Post by grimdestripador »

I have installed Linux Mint R1, updated Levels 1,2,3 from mintUpdates. I have installed VirtualBOX OSE from the Software Portal.
With different installations of Linux Mint5R1, I have don't this 3 times, each unsuccessful. (I rather just get it myself from the website).
I really want to just use the software portal. So I will detail what I have done

1) Fresh Install
2) mintUpdate
3) Download & Execute Virtualbox.mint
4) Add myself to vbox group
5) Execuit Vbox with error

Code: Select all

VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Please install the virtualbox-ose-modules package for your kernel, e.g. virtualbox-ose-modules-generic..
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).


Result Code: 
0x80004005
Component: 
Console
Interface: 
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}
As this article mentioned, I ran the following with no changes to the error (i also installed dependencies)

Code: Select all

 sudo apt-get install virtualbox-ose-modules-generic
I then ran

Code: Select all

    sudo aptitude install linux-ubuntu-modules-`uname -r` linux-generic
What DO I DO!!!!
User avatar
grimdestripador
Level 6
Level 6
Posts: 1051
Joined: Fri Feb 16, 2007 2:26 am

Re: VirtualBox

Post by grimdestripador »

FIXED!!!! I restarted with my new kernel, So what step fixed this mess. Why doesn't VirtualBox work from Softwareportal without complications
Husse

Re: VirtualBox

Post by Husse »

Well, the fix was not completely unexpected...
But
Why doesn't VirtualBox work from Softwareportal without complications
confuses me - I thought you had Virtualbox in Elyssa - do you have another Mint in it?
rbanavara

Re: VirtualBox

Post by rbanavara »

I initially tried the non OSE version of VBox, it worked without issues (on Daryna). On Elyssa I tried the OSE version, but it failed to start with kernel module error. Then I found from Synaptic, there is some kernel module for 2.6.24 version of kernel. I installed it & VBox started working fine. I dont find any extra entries in my grub menu.lst though.
User avatar
grimdestripador
Level 6
Level 6
Posts: 1051
Joined: Fri Feb 16, 2007 2:26 am

Re: VirtualBox

Post by grimdestripador »

Thanks for your support. I now have a new kernel, and have learned somethings new.
Handyman

Re: VirtualBox

Post by Handyman »

I just installed virtualbox from the software portal.

A virtual session won't start, and displays a kernal module error.

Why doesn't this work?

Why are there no special instructions in the software portal?

I thought the software portal contained packages known to work?

If there is a workaround it should be documented, don't you think?

So, how can I make this program actually work?
rbanavara

Re: VirtualBox

Post by rbanavara »

I installed virtualbox-ose-guest-modules-2.6.24-16-generic and virtualbox-ose-modules-2.6.24-16-generic from synaptic (package manager) to make my virtualbox work. My kernel version is 2.6.24 you may have to choose the one that suits your kernel version (uname -a).
bullseyeDH

Re: VirtualBox

Post by bullseyeDH »

Extremely vague on what will fix this as I get the same error of 1908. Searched for the packet as it says I'm using version 2.0.4 of Virtual Box, to find no package to install to fix it. Tried installing a new kernel as sugg
ested and that proved unsuccessful as well
bullseyeDH

Re: VirtualBox

Post by bullseyeDH »

Upon further searching it shows the file in /dev/vboxdrv. not loading. Search shows that file doesn't even exist.
Fred

Re: VirtualBox

Post by Fred »

You might want to look at my my post in the thread below and follow the link enclosed therein.

http://www.linuxmint.com/forum/viewtopi ... 47&t=19708

Fred
Locked

Return to “Software & Applications”