Find the answer to your Linux question:
Results 1 to 5 of 5

Thread: Virtualbox help

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Virtualbox help

    Hello all, and thank you in advance for any assistance given.

    I am running BackTrack4 as full install, and am trying to use virtualbox. I am installing via the Add/Remove package manager, and don't receive any errors during the process, however I run into an error when actually trying to start virtual machine:

    "VirtualBox VERR_VM_DRIVER_NOT_INSTALLED (rc=-190 Error"

    Yes, I've googled the error, and while many suggestions are given, they all seem to lead to more errors, and I'm not sure what to try next.


    <EDIT: On a side note, how can I tell what version of Debian I'm using? I know how to identify my kernel (uname -r), but not whether I'm running Lenny, Squeeze, etc)>
    Last edited by M4rc9; 02-05-2011 at 12:02 AM. Reason: Side question

  2. #2
    The side note is easy to answer:
    $ cat /etc/debian_version
    About your problem with VirtualBox i am not sure.
    Did you compile/install the vboxdrivers?
    If not that might be the problem.
    This links seems to confirm what i assume:
    ubuntu : Randy Jensen Online

    How to do so depends on several things:
    Are you running VirtualBox-OSE (Open Source Edition) or are you running VirtualBox-PUEL?
    For the former do:
    apt-get install virtualbox-ose-source module-assistant linux-headers-$(uname -r)
    and run
    m-a update
    m-a prepare  
    m-a a-i virtualbox-ose
    For the latter install the linux-headers (apt-get install linux-headers-$(uname -r) and run:
    /etc/init.d/vboxdrv setup
    With newer kernels one might also do it with dkms, but i am not sure how

    In the past one has been adviced to also run:
    adduser your_user_name vboxusers
    and to add
    to /etc/modules
    (say: `echo vboxdrv >> /etc/modules` as root, or manually. Add only the word "vboxdrv", without quotes).
    Usually it works without doing so (for me). It won't hurt.

    dpkg -l | grep -i virtualbox
    so we know which version of virtualbox you are running.

    You may install the PUEL version from here:
    Linux_Downloads - VirtualBox
    Using the repository is the better solution (in my opinion). Not the deb-package and installing it manually, that is. With the repo you get updates.

    Good luck, it might be i confused matters.

    PS: I usually use the Ubuntu-wiki for that.

  3. #3
    Thank you for your information. I performed the applicable steps as indicated, and here is the output:

    - Add/Remove package manager says OSE
    - Package was installed from the repository via the Add/Remove package manager.


    root@bt:/# apt-get install virtualbox-ose-source module-assistant linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    virtualbox-ose-source is already the newest version.
    virtualbox-ose-source set to manually installed.
    module-assistant is already the newest version.
    linux-headers- is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    2. sudo m-a update

    Updated infos about 85 packages

    3. root@bt:/# sudo m-a prepare
    Getting source for kernel version:
    Kernel headers available in /usr/src/linux
    Creating symlink...
    Couldn't create the /usr/src/linux symlink!
    apt-get install build-essential
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


    4. sudo m-a a-i virtualbox-ose

    Error received:

    "Build of the package virtualbox-ose failed! How do you wish to proceed?


    View - Examine the Build log file
    Continue - Skip and continue with the next operation
    Stop - Stop processing build commands

    I selected Examine Build log file and the only thing displayed is:

    Build log starting, file: /var/cace/modass/virtualbox-ose.buildlog.2.6.35

    And nothing else


    root@bt:/# useradd -G vboxuser root
    useradd: unknown group vboxuser
    root@bt:/# groupadd vboxuser
    root@bt:/# adduser root vboxuser
    Adding user `root' to group `vboxuser' ...
    Adding user root to group vboxuser
    root@bt:/# sudo echo vboxdrv >> /etc/modules
    root@bt:/# dpkg -l | grep -i virtualbox
    ii virtualbox-ose 2.0.4-dfsg-0ubuntu1 x86 virtualization solution - binaries
    ii virtualbox-ose-source 2.0.4-dfsg-0ubuntu1 x86 virtualization solution - kernel module source

    The only error I see is in process is creating the link, however that doesn't strike me as something that would generate the error when trying to start the VM.

    I do appreciate your help, given and/or continued.

  4. $spacer_open
  5. #4
    I was afraid that would not be your problem.
    The best idea i got is to remove the OSE-Version and install from VirtualBox via repo.
    I guess it will lead to similar trouble, but might be worth a shot.
    2.0 is a very old version.

    I don't know blacktrack, and, as you got ubuntu-packages, i don't know them either.
    I don't think i can be of further help. Sorry.
    Perhaps try the VirtualBox-forum (while waiting for better advice here).

    good luck

    it is vboxusers, not vboxuser, but i don't think that is the source of your problem.

  6. #5
    I'll keep digging and see what I can accomplish.

    Thank you for your time and assistance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts