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

Thread: [SOLVED] Virtualbox 1.6.2 install fails

  1. #1
    Join Date
    Apr 2007
    Location
    Pretoria
    Beans
    27
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Angry [SOLVED] Virtualbox 1.6.2 install fails

    I am quite new to Ubuntu. I have to run Windows Xp in a virtual environment on ubuntu as some of my programs that I use on a day to day basis for my work doesn run directly under ubuntu. Not even under Wine.

    Im running Ubuntu 8.04.
    I have read many posts on similar isues, but cant find a solution to this particular problem.111

    I had the version of Virtualbox (I think it was v5... from the Add/Remove option) installed, however I didnt see an option to connect to an external usb attached hdd which I have to be able to do. So I uninstalled and I have installed Virtualbox 1.6.2 using: "virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb", which I downloaded from the Virtualbox website.

    The install runs to a point when I get the following message: "Compilation of the Kernel Module Failed. VirtualBox will not start until this problem is fixed. Please consult /var/log/vbox-install.log to find out why the kernel module does not compile. Most probably the kernel sources were not found. Install them and execute

    /etc/init.d/vboxdrv setup

    as root." --- See attached screenshot.
    The install completes but when I run Virtualbox and try to run my windows xp virtual image the following message is displayed: "Failed to start the virtual machine windows.
    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).


    Result Code:
    0x80004005
    Component:
    Console
    Interface:
    IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}"

    See attachment 2


    I did run the comand in the help file: "/etc/init.d/vboxdrv setup", which gives me the following output:

    "paul@paul-desktop:~$ /etc/init.d/vboxdrv setup
    open: Permission denied
    * Stopping VirtualBox kernel module open: Permission denied
    * done.
    open: Permission denied
    * Recompiling VirtualBox kernel module /etc/init.d/vboxdrv: 311: cannot create /var/log/vbox-install.log: Permission denied

    open: Permission denied
    * Look at /var/log/vbox-install.log to find out what went wrong
    paul@paul-desktop:~$ sudo /etc/init.d/vboxdrv setup
    [sudo] password for paul: "


    Pleas help as I have to have the virtual windows running by monday morning.

    Thanx

    Paul Kruger
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2008
    Location
    Central Florida, USA
    Beans
    151
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Virtualbox 1.6.2 install fails

    So did you get any errors when you ran it with sudo? Try running, sudo modprobe then sudo /etc/init.d/vboxdrv setup.
    XPS-420 Core 2 Q6600 2.4GHz 6.0GB, Nvidia 512MB 8800GT, 250GB Raid 1, BluRay, 8.04 64-bit.
    Dimension 8400 Pentium 4HT 3.0GHz 3GB, Nvidia 512MB 8600GT, 80GB Raid 1, 8.10.
    Inspiron 8500 Pentium 4M 2.2GHz 1.5GB, 9.04 & XP Pro.

  3. #3
    Join Date
    Nov 2006
    Location
    Conn., United States
    Beans
    1,644

    Re: Virtualbox 1.6.2 install fails

    Please install build-essential and then try again.
    "When you dual-boot Windows, Windows exists along side of Linux. When you use VirtualBox, Windows exists at the pleasure of Linux." -- ThomasAaron @ System76

  4. #4
    Join Date
    Apr 2007
    Location
    Pretoria
    Beans
    27
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Virtualbox 1.6.2 install fails

    Quote Originally Posted by HotShotDJ View Post
    Please install build-essential and then try again.
    Hi thx for the reply, would I get this in synaptics?

  5. #5
    Join Date
    Apr 2007
    Location
    Pretoria
    Beans
    27
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Virtualbox 1.6.2 install fails

    Quote Originally Posted by dark_phantom View Post
    So did you get any errors when you ran it with sudo? Try running, sudo modprobe then sudo /etc/init.d/vboxdrv setup.
    Hey Thx for the help.

    Thisd is the respose I get:

    paul@paul-desktop:~$ sudo modprobe
    [sudo] password for paul:
    Usage: modprobe [-v] [-V] [-C config-file] [-n] [-i] [-q] [-Q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
    modprobe -r [-n] [-i] [-v] <modulename> ...
    modprobe -l -t <dirname> [ -a <modulename> ...]
    paul@paul-desktop:~$
    paul@paul-desktop:~$ sudo /etc/init.d/vboxdrv setup
    * Stopping VirtualBox kernel module * done.
    * Recompiling VirtualBox kernel module
    * Look at /var/log/vbox-install.log to find out what went wrong
    paul@paul-desktop:~$

    ******

    the content of vbox-install.log:

    Attempting to install using DKMS
    info: No menu item ` removing old DKMS module vboxdrv version ' in node `(dir)Top'.

    Error! Invalid number of parameters passed.
    Usage: remove -m <module> -v <module-version> --all
    or: remove -m <module> -v <module-version> -k <kernel-version>

    ------------------------------
    Deleting module version: 1.6.2
    completely from the DKMS tree.
    ------------------------------
    Done.

    Creating symlink /var/lib/dkms/vboxdrv/1.6.2/source ->
    /usr/src/vboxdrv-1.6.2

    DKMS: add Completed.

    Error! Your kernel source for kernel 2.6.24-19-386 cannot be found at
    /lib/modules/2.6.24-19-386/build or /lib/modules/2.6.24-19-386/source.
    You can use the --kernelsourcedir option to tell DKMS where it's located.
    Failed to install using DKMS, attempting to install without
    Makefile:130: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
    Makefile:138: *** Error: /usr/src/linux (version 2.6.25.10-ultimate) does not match the current kernel (version 2.6.24-19-386). Stop.

  6. #6
    Join Date
    Nov 2006
    Location
    Conn., United States
    Beans
    1,644

    Re: Virtualbox 1.6.2 install fails

    Quote Originally Posted by 1205919 View Post
    Hi thx for the reply, would I get this in synaptics?
    Yes
    "When you dual-boot Windows, Windows exists along side of Linux. When you use VirtualBox, Windows exists at the pleasure of Linux." -- ThomasAaron @ System76

  7. #7
    Join Date
    Apr 2007
    Location
    Pretoria
    Beans
    27
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Virtualbox 1.6.2 install fails

    Quote Originally Posted by HotShotDJ View Post
    Yes
    Sorry, I dont want to sound daft but do I search for build-essential? cause I dont get anything like that

  8. #8
    Join Date
    Nov 2006
    Location
    Conn., United States
    Beans
    1,644

    Re: Virtualbox 1.6.2 install fails

    Quote Originally Posted by 1205919 View Post
    Sorry, I dont want to sound daft but do I search for build-essential? cause I dont get anything like that
    Double-check your typing ... it is there.
    Attached Images Attached Images
    "When you dual-boot Windows, Windows exists along side of Linux. When you use VirtualBox, Windows exists at the pleasure of Linux." -- ThomasAaron @ System76

  9. #9
    Join Date
    Apr 2007
    Location
    Pretoria
    Beans
    27
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Virtualbox 1.6.2 install fails

    I have checked its not there, I even updated my software sources, it still doesnt show

    **********

    ok I figured out that i can use this:
    sudo apt-get install build-essential in terminal, its installing now....
    Last edited by 1205919; July 13th, 2008 at 04:31 PM.

  10. #10
    Join Date
    Apr 2007
    Location
    Pretoria
    Beans
    27
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Virtualbox 1.6.2 install fails

    OK I installed build-essential - makes no difference, still get this when I try and start my virtual winxp:

    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).


    Result Code:
    0x80004005
    Component:
    Console
    Interface:
    IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}

Page 1 of 2 12 LastLast

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
  •