VirtualBox

Thomas Blasejewicz thomas at s7.dion.ne.jp
Sat Oct 4 13:48:09 UTC 2014


(2014/10/02 4:33), NoOp wrote:
> On 10/01/2014 02:37 AM, Nils Kassube wrote:
>> Thomas Blasejewicz wrote:
>>> I installed VirtualBox via the Software-Center. Xubuntu 14.04; 2 note
>>> PCs; plenty of RAM, HDD space
>>> Added the "name" of a virtual machine.
>>> When I try to start/run VB, I get the error:
>>> "Failed to open a session for the virtual machine "WinXP".
>>> "Kernel driver not installed (rc=-1908)"
>> The kernel driver should be installed through DKMS automatically when
>> there is a new kernel. Therefore I suppose that the package
>> "virtualbox-dkms" is missing on your system.
>>
>>
>> Nils
>>
>>
> The repository virtualbox-dkms is not necessary, you only need the base
> dkms package[1]:
>
> $ dpkg -l | grep dkms
> ii  dkms
> 2.2.0.3-1.1ubuntu5  all  Dynamic Kernel Module Support Framework
> ii  sl-modem-dkms 2.9.11~20110321-9 amd64        SmartLink software
> modem driver - module building source
>
> @Thomas:
>
> if you have not already added the virtualbox repository to your
> /etc/apt/sources.list add it now:
>
> echo "deb http://download.virtualbox.org/virtualbox/debian trusty
> contrib" > /etc/apt/sources.list
>
> Note: don't add it again if you already have done this previously.
>
> Backup your 'VirtualBox VMs' folder, or any other folder with your
> vmdk's before you do anything else.
>
> Then
>
> sudo apt-get install build-essential libssl-dev linux-headers-`uname -r`
> sudo apt-get install dkms
> sudo apt-get purge virtualbox-4.3
> wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo
> apt-key add -
> sudo apt-get update && sudo apt-get upgrade
> sudo apt-get install virtualbox-4.3
>
>
> [1]
> <https://www.virtualbox.org/wiki/Linux_Downloads>
> ====
>   Note: Ubuntu/Debian users might want to install the dkms package to
> ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and
> vboxnetadp) are properly updated if the linux kernel version changes
> during the next apt-get upgrade. For Debian it is available in Lenny
> backports and in the normal repository for Squeeze and later. The dkms
> package can be installed through the Synaptic Package manager or through
> the following command:
>
> sudo apt-get install dkms
> ====
>
> Gary
>
Thank you!
But, I am really sorry about that, I do not understand how to add this 
repository thing to some file ...

Anyway, I tried (I really am; I am spending hours on end on this ...) to 
follow your instructions.
Could not make them work the first time (this includes removing 
VirtualBox once, right?), so I went through the entire process several 
times.
Finally VB showed up WITHOUT error, but that is about it.
I am supposed to be shown a "First Session Wizard" or so (the 
instruction manual says so) to actually install an OS, but there is no 
such thing.
VB just sits there and does not allow me to do anything.

AND ..... while fixing a minor problem, I with a new, MAJOR problem. See 
next thread.

(Linux is definitely not for the faint-hearted!
I have been trying (!!) for seven years to get friendly with it and 
never made it past the OS setup.
After that it is always an unending stream of problems with just about 
everything.)




More information about the ubuntu-users mailing list