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

Thread: "VirtualBox kernel driver not installed"

  1. #1
    Join Date
    Jul 2006
    Beans
    12

    "VirtualBox kernel driver not installed"

    There seem to be a number of threads related to VirtualBox problems in Hardy, but I've looked at several, and haven't seen this exact problem.

    Since I upgraded to Hardy (386), I can't get VirtualBox to work.

    The VirtualBox console will launch, but when I try to launch a virtual machine (my one VM is Windows XP 32-bit), it pops up a dialog with the following message:

    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 and execute '/etc/init.d/vboxdrv start' as root.
    VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).


    Result Code:
    0x80004005
    Component:
    Console
    Interface:
    IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}



    When I search Synaptic for VirtualBox, I find the following packages:

    virtualbox-ose (version 1.5.0-dfsg2-1ubuntu3)
    virtualbox-ose-modules-2.6.22 6


    The updater also keeps popping up and reminding me to install virtualbox-ose (version 1.5.6-dfsg-6ubuntu1). When I click on "Install Updates," it fails with the following message:

    E: /var/cache/apt/archives/virtualbox-ose_1.5.6-dfsg-6ubuntu1_i386.deb: subprocess pre-installation script returned error exit status 1


    I tried following the instructions in the error box and ran

    sudo /etc/init.d/vboxdrv start

    The result was:

    * Starting VirtualBox kernel module vboxdrv
    FATAL: Module vboxdrv not found.

    * Modprobe vboxdrv failed. Please use 'dmesg' to find out why.


    I also ran across a message suggesting that I run vboxdrv with the command "setup", so I ran

    sudo /etc/init.d/vboxdrv start

    The result was:

    * Usage: /etc/init.d/vboxdrv {start|stop|restart|status}


    Any suggestions on how to solve this problem? Thanks in advance!





    Edit: oops, I made a cut and paste error. The last bit should read:


    sudo /etc/init.d/vboxdrv setup

    The result was:

    * Usage: /etc/init.d/vboxdrv {start|stop|restart|status}
    Last edited by wanorris; April 28th, 2008 at 02:04 PM.

  2. #2
    Join Date
    Jul 2006
    Beans
    51
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: "VirtualBox kernel driver not installed"

    i had this problem but then i ran
    Code:
    sudo /etc/init.d/vboxdrv setup
    after trying that in the terminal i ran virtualbox again. now it's telling me:

    PIIX3 cannot attach drive to the Secondary Master.
    VBox status code: -102 (VERR_FILE_NOT_FOUND).


    Result Code:
    0x80004005
    Component:
    Console
    Interface:
    IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

    so i haven't fixed my problem yet. hopefully i'm making some progress.

    EDIT: so i seem to have fixed my own problem. i changed my cd-rom setting from /dev/hda to the name of my cd-rom drive and it is now running.

    EDIT 2: i thought it was running anyway. turns out that the virtual machine starts up but windows can't boot. it's complaining that there is a problem with either my virtual hard drive or the hard drive controller. i sure do hope that my virtual machine image isn't corrupted somehow.
    Last edited by Jolly Roger; April 28th, 2008 at 08:15 AM.

  3. #3
    Join Date
    Jun 2005
    Location
    Northampton, England
    Beans
    33

    Re: "VirtualBox kernel driver not installed"

    I have the same problem if you do resolve pleae post your solution.

    Thanks


    PIIX3 cannot attach drive to the Secondary Master.
    VBox status code: -102 (VERR_FILE_NOT_FOUND).


    Result Code:
    0x80004005
    Component:
    Console
    Interface:
    IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

  4. #4
    Join Date
    May 2007
    Beans
    22

    Re: "VirtualBox kernel driver not installed"

    The post by Rytron in this thread solved this problem for me: http://ubuntuforums.org/showthread.p...ighlight=PIIX3
    I had a cd mounted last time virtualbox was running and it was missing this cd now, and gave this error. In the settings menu I unchecked the mount cd/dvd drive checkbox and everything was fine again.

  5. #5
    Join Date
    Jun 2005
    Location
    Northampton, England
    Beans
    33

    Re: "VirtualBox kernel driver not installed"

    Thanks, but this sounds difficult. I do not have the CD problem, just the drive connection problem

    'PIIX3 cannot attach drive to the Secondary Master'.

    I looked at the link ,but how do you achieve this clone solution in simple to understand terms?

    Is there no other solution
    Last edited by landcross; April 29th, 2008 at 08:32 AM.

  6. #6
    Join Date
    Jun 2005
    Location
    Northampton, England
    Beans
    33

    Re: "VirtualBox kernel driver not installed"

    Ref: PIIX3 cannot attach drive to the Secondary Master.

    I did a reinstall of virtual box but it did not resolve this problem. To save reinstall for anyone else:

    This later problem was solved without a reinstall in 'settings' within virtualbox.

    1) Release the virtual drive
    2) Just create another virtual machine and attach the original virtual drive.

  7. #7
    Join Date
    Mar 2008
    Location
    Xhystos
    Beans
    164
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: "VirtualBox kernel driver not installed"

    Did anyone think to look whether they are a member of the virtual box group ?

    Try System>Administration>Users and Groups>Manage Groups>vboxusers>properties. Then check your login to ensure you are in the group.

    Then Log-out and backin.

    The kernel problem should have gone away.

    Second item to note :

    Don't use the version in the Synaptic repositories. Go to the source repository at VirtualBox : https://cds.sun.com/is-bin/INTERSHOP...-F@CDS-CDS_SMI

    Breaking News !!!!

    This is a new version of Virtual Box : 1.6

    Ubuntu 8.04 is now supported.

    This is NEW today (last 6 hours)
    Last edited by howefield; November 2nd, 2016 at 11:49 AM. Reason: posts combined.

  8. #8
    Join Date
    Apr 2008
    Beans
    47

    Re: "VirtualBox kernel driver not installed"

    Nope, guess again.

    Installed virtualbox_1.6.0-30421_Ubuntu_hardy_i386.deb and have the same problem.

    VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason.
    Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.

    VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).

    Ran the "Re-setup" and got:

    * Stopping VirtualBox kernel module vboxdrv [ OK ]
    * Recompiling VirtualBox kernel module vboxdrv
    * Look at /var/log/vbox-install.log to find out what went wrong.


    Looked at vbox-install.log:

    Makefile:75: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.


    How come if so many people are saying this is easy, it's turning into a major pain in the @$$?!

    Here's how I fixed the problem.

    In synaptic package manager, do a search for "virtualbox".
    Look for virtualbox with it's checkbox checked. It will have the version to the right.

    Click on it and choose "Mark for complete removal".
    Click apply...done!
    Last edited by howefield; November 2nd, 2016 at 11:50 AM. Reason: posts combined.

  9. #9
    Join Date
    Dec 2007
    Beans
    1

    Re: "VirtualBox kernel driver not installed"

    Hello, I was having the same problem as above but once i have install the correct kernel version for virtualbox, everything seems to work.

  10. #10
    Join Date
    May 2008
    Beans
    1

    Re: "VirtualBox kernel driver not installed"

    I fixed the kernel module problem by getting the latest version from Sun at
    https://cds.sun.com/is-bin/INTERSHOP...-F@CDS-CDS_SMI
    and upgrading. I can't remember if I originally installed Virtualbox with Synaptic or with a downloaded .deb file. I think it was the latter. The upgrade seems to have kept my virtual machines intact which is a relief.

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
  •