Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: VirtualBox OSE: Freshly created VM refuses to start

  1. #1
    Join Date
    Mar 2009
    Location
    Texas
    Beans
    189

    VirtualBox OSE: Freshly created VM refuses to start

    Just installed virtualbox-ose a few hours ago. I'm trying to install a virtual copy of XP. Installation and VM creation worked just fine, but when I push the start button, I get two error messages, one after the other:
    Failed to open a session for the virtual machine Windows XP.
    --------------------------------------------------
    Virtual machine 'Windows XP' has terminated unexpectedly during startup.

    Result Code: NS_ERROR_FAILURE (0x80004005)
    Component: Machine
    Interface: IMachine {ea6fb7ea-1993-4642-b113-f29eb39e0df0}
    Followed by:
    VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908 )

    The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing

    '/etc/init.d/vboxdrv setup'

    as root. Users of Ubuntu or Fedora should install the DKMS package at first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
    So running the command brings up this output:

    anthony@anthony-desktop:~$ sudo /etc/init.d/vboxdrv setup
    [sudo] password for anthony:
    sudo: /etc/init.d/vboxdrv: command not found
    Sure enough, upon checking the file, there is no file called "vboxdrv"

    Now when I run VBox in the terminal, I get a very interesting message:
    anthony@anthony-desktop:~$ virtualbox
    WARNING: The character device /dev/vboxdrv does not exist.
    Please install the virtualbox-ose-source package and the appropriate headers, most likely linux-headers-generic.

    You will not be able to start VMs until this problem is fixed.
    ---------------------------------------------
    ---------------------------------------------
    Now what I gather from this is that a file was skipped when I installed Vbox and that I can get this file by installing the source package and copying the file. The problem is, upon checking Synaptic, I see that I already have these two packages. I've got to say that I'm at a loss here. Do you have any ideas for what I am supposed to do next?

    EDIT: I found a file called vboxdrv at /var/lib/dkms/ (screenshot included)
    It doesn't look as though it has been compiled however. I'm a bit unsure what to do with it.
    If I am going in the wrong direction with this idea, please tell me.
    Attached Images Attached Images
    Last edited by anthony62490; September 29th, 2009 at 05:47 AM.
    Specs:
    Dell XPS 15 Notebook || 2.3 GHz Intel i5|| 6Gb RAM || NVIDIA GeForce GT 525M
    If I've skipped something, please let me know.

  2. #2
    Join Date
    Sep 2007
    Location
    Fort Wayne, IN
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: VirtualBox OSE: Freshly created VM refuses to start

    I don't know a lot about VB but, Here is a guide that is very complete. Hope this can help you.

    http://gwos.org/udsf/doku.php/software:virtualbox
    "I am the terror that flaps in the night, I am the Ubuntu crawler. I am Darkwing Duck!"

  3. #3
    Join Date
    Feb 2008
    Location
    Valhalla
    Beans
    85

    Re: VirtualBox OSE: Freshly created VM refuses to start

    have you tired running
    Code:
     modprobe vboxdrv
    ?
    Try not to get it right the first time , if you do no one will see the effort

  4. #4
    Join Date
    Mar 2009
    Location
    Texas
    Beans
    189

    Re: VirtualBox OSE: Freshly created VM refuses to start

    Quote Originally Posted by fuzzyk.k View Post
    have you tired running "modprobe vboxdrv"
    anthony@anthony-desktop:~$ modprobe vboxdrv
    FATAL: Module vboxdrv not found.
    Specs:
    Dell XPS 15 Notebook || 2.3 GHz Intel i5|| 6Gb RAM || NVIDIA GeForce GT 525M
    If I've skipped something, please let me know.

  5. #5
    Join Date
    Oct 2007
    Beans
    Hidden!

    Re: VirtualBox OSE: Freshly created VM refuses to start

    There should be a "/etc/init.d/vboxdrv" (at least there is on my install). I suggest you try reinstalling virtualbox.

  6. #6
    Join Date
    Mar 2009
    Location
    Texas
    Beans
    189

    Re: VirtualBox OSE: Freshly created VM refuses to start

    Quote Originally Posted by P4man View Post
    There should be a "/etc/init.d/vboxdrv" (at least there is on my install). I suggest you try reinstalling virtualbox.
    Uninstalled virtualbox-ose and virtualbox-ose-source and reinstalled them. No change. Vboxdrv still does not exist. I also tried to compile the source files for vboxdrv, but no luck there either. the thing just won't compile.
    Last edited by anthony62490; September 30th, 2009 at 04:08 AM.
    Specs:
    Dell XPS 15 Notebook || 2.3 GHz Intel i5|| 6Gb RAM || NVIDIA GeForce GT 525M
    If I've skipped something, please let me know.

  7. #7
    Join Date
    Oct 2007
    Beans
    Hidden!

    Re: VirtualBox OSE: Freshly created VM refuses to start

    dont try compiling it from source.
    Perhaps try removing it again, and install "virtualbox-3.0 " ?

  8. #8
    Join Date
    Mar 2009
    Location
    Texas
    Beans
    189

    Re: VirtualBox OSE: Freshly created VM refuses to start

    Quote Originally Posted by P4man View Post
    dont try compiling it from source.
    Perhaps try removing it again, and install "virtualbox-3.0 " ?
    Ok, did not work. It was not included in Synaptic, so I found a .deb package (i386)for jaunty. I installed it, but nothing appeared to change. The terminal command "virtualbox-3.0" doesn't exist, and there is no entry for virtualbox in the Applications menu, so I tried to add it to Synaptic.

    I ran the following commands:
    Code:
    sudo gedit /etc/apt/sources.list
    
    //and added to the list:
    
    deb http://download.virtualbox.org/virtualbox/debian jaunty non-free
    
    //followed by:
    
    wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
    
    //
    
    sudo aptitude update
    
    //
    
    sudo aptitude install virtualbox-3.0 dkms
    At this point, I think I should have seen a configuration window, but I got nothing. The terminal output was as follows:

    anthony@anthony-desktop:~$ sudo aptitude install virtualbox-3.0 dkms
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    The following packages will be REMOVED:
    libadplug0c2a{u}
    0 packages upgraded, 0 newly installed, 1 to remove and 15 not upgraded.
    Need to get 0B of archives. After unpacking 455kB will be freed.
    Do you want to continue? [Y/n/?] y
    Writing extended state information... Done
    (Reading database ... 161024 files and directories currently installed.)
    Removing libadplug0c2a ...
    Processing triggers for libc6 ...
    ldconfig deferred processing now taking place
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Writing extended state information... Done
    I must say, I'm a touch on the confused side here. Interestingly enough, I now have the vboxdrv file. Got any ideas?
    Specs:
    Dell XPS 15 Notebook || 2.3 GHz Intel i5|| 6Gb RAM || NVIDIA GeForce GT 525M
    If I've skipped something, please let me know.

  9. #9
    Join Date
    Oct 2007
    Beans
    Hidden!

    Re: VirtualBox OSE: Freshly created VM refuses to start

    installing the .deb and then installing the same thing through synaptic is what happened. Looks ok to me. now try running that

    Code:
    sudo /etc/init.d/vboxdrv setup

  10. #10
    Join Date
    Mar 2009
    Location
    Texas
    Beans
    189

    Re: VirtualBox OSE: Freshly created VM refuses to start

    Quote Originally Posted by P4man View Post
    installing the .deb and then installing the same thing through synaptic is what happened. Looks ok to me. now try running that

    sudo /etc/init.d/vboxdrv setup
    Ok, that didn't do very much.

    Code:
    anthony@anthony-desktop:~$ sudo /ect/init.d/vboxdrv setup
    [sudo] password for anthony: 
    sudo: /ect/init.d/vboxdrv: command not found
    Specs:
    Dell XPS 15 Notebook || 2.3 GHz Intel i5|| 6Gb RAM || NVIDIA GeForce GT 525M
    If I've skipped something, please let me know.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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