Results 1 to 10 of 12

Thread: VirtualBox Broken on R2

Threaded View

  1. #1
    Just burned his ISO
    Join Date
    Jul 2008
    Location
    415
    Posts
    19

    Question VirtualBox Broken on R2

    Ive seen this problem on older posts for other version of ubuntu, i think its because the kernel isnt compatible with Vbox yet.
    my pc is totally broken(besides LINUX! which ubuntu ran for 3 days perfectly fine, windows CANT) , im tired of windows, im trying to just run my windows 7 in a virtualmachine inside BT, because it constantly bluescreens when normally installed...

    Linux bt 3.2.6 #1 SMP Fri Feb 17 10:34:20 EST 2012 x86_64 GNU/Linux

    Code:
    root@bt:~# virtualbox
    WARNING: The vboxdrv kernel module is not loaded. Either there is no module
             available for the current kernel (3.2.6) or it failed to
             load. Please recompile the kernel module and install it by
    
               sudo /etc/init.d/vboxdrv setup
    
             You will not be able to start VMs until this problem is fixed.
    okay, sure lets try that

    Code:
    root@bt:/pentest/exploits/fasttrack# sudo /etc/init.d/vboxdrv setup
     * Stopping VirtualBox kernel modules                                                       [ OK ] 
     * Uninstalling old VirtualBox DKMS kernel modules                                          [ OK ] 
     * Removing old VirtualBox pci kernel module                                                [ OK ] 
     * Removing old VirtualBox netadp kernel module                                             [ OK ] 
     * Removing old VirtualBox netflt kernel module                                             [ OK ] 
     * Removing old VirtualBox kernel module                                                    [ OK ] 
     * Trying to register the VirtualBox kernel modules using DKMS                                     
    Error! Your kernel headers for kernel 3.2.6 cannot be found at
    /lib/modules/3.2.6/build or /lib/modules/3.2.6/source.
    
     * Failed, trying without DKMS
     * Recompiling VirtualBox kernel modules                                                    [ OK ] 
     * Starting VirtualBox kernel modules                                                              
     * modprobe vboxdrv failed. Please use 'dmesg' to find out why

    dmesg output is here, its too big to host on this site so i just made a quick link

    And
    Code:
    [  660.049471] vboxdrv: version magic '2.6.39.4 SMP mod_unload ' should be '3.2.6 SMP mod_unload '
    [  772.084842] vboxdrv: version magic '2.6.39.4 SMP mod_unload ' should be '3.2.6 SMP mod_unload '
    is what i see from dmesg


    im not sure what to do , i installed the DKMS and the KVM (because several people said it fixed their problem, did nothing here)

    any fix would be appreciated

    edit: i was previously using a bt5 R1 upgraded to R2, i just burned the dvd for R2 and tried to install vbox from there:

    Code:
    root@bt:~# apt-get install virtualbox-ose-qt
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      dkms libqt4-opengl linux-headers linux-headers-3.2.6 virtualbox-ose
      virtualbox-ose-dkms
    Suggested packages:
      virtualbox-guest-additions
    The following NEW packages will be installed:
      dkms libqt4-opengl linux-headers linux-headers-3.2.6 virtualbox-ose
      virtualbox-ose-dkms virtualbox-ose-qt
    0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
    Need to get 21.2MB of archives.
    After this operation, 107MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://updates.repository.backtrack-linux.org/ revolution/main dkms 2.1.1.2-2ubuntu1 [70.8kB]
    Get:2 http://64.repository.backtrack-linux.org/ revolution/main libqt4-opengl 4:4.7.0-0ubuntu2~lucid1~ppa2 [308kB]
    Get:3 http://all.repository.backtrack-linux.org/ revolution/main virtualbox-ose-dkms 3.1.6-dfsg-2ubuntu2 [501kB]
    Get:4 http://64.repository.backtrack-linux.org/ revolution/testing linux-headers-3.2.6 3.2.6-10.00.Custom [7,372kB]
    Get:5 http://64.repository.backtrack-linux.org/ revolution/main virtualbox-ose 3.1.6-dfsg-2ubuntu2 [8,237kB]
    Get:6 http://64.repository.backtrack-linux.org/ revolution/main virtualbox-ose-qt 3.1.6-dfsg-2ubuntu2 [4,759kB]
    Get:7 http://all.repository.backtrack-linux.org/ revolution/testing linux-headers 2.0-bt1 [992B]
    Fetched 21.2MB in 16s (1,291kB/s)                                              
    Selecting previously deselected package dkms.
    (Reading database ... 236286 files and directories currently installed.)
    Unpacking dkms (from .../dkms_2.1.1.2-2ubuntu1_all.deb) ...
    Selecting previously deselected package libqt4-opengl.
    Unpacking libqt4-opengl (from .../libqt4-opengl_4%3a4.7.0-0ubuntu2~lucid1~ppa2_amd64.deb) ...
    Selecting previously deselected package linux-headers-3.2.6.
    Unpacking linux-headers-3.2.6 (from .../linux-headers-3.2.6_3.2.6-10.00.Custom_amd64.deb) ...
    Selecting previously deselected package virtualbox-ose.
    Unpacking virtualbox-ose (from .../virtualbox-ose_3.1.6-dfsg-2ubuntu2_amd64.deb) ...
    Selecting previously deselected package virtualbox-ose-dkms.
    Unpacking virtualbox-ose-dkms (from .../virtualbox-ose-dkms_3.1.6-dfsg-2ubuntu2_all.deb) ...
    Selecting previously deselected package virtualbox-ose-qt.
    Unpacking virtualbox-ose-qt (from .../virtualbox-ose-qt_3.1.6-dfsg-2ubuntu2_amd64.deb) ...
    Selecting previously deselected package linux-headers.
    Unpacking linux-headers (from .../linux-headers_2.0-bt1_all.deb) ...
    Processing triggers for man-db ...
    Processing triggers for ureadahead ...
    Processing triggers for menu ...
    Processing triggers for desktop-file-utils ...
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
    Processing triggers for python-support ...
    Setting up dkms (2.1.1.2-2ubuntu1) ...
    
    Setting up libqt4-opengl (4:4.7.0-0ubuntu2~lucid1~ppa2) ...
    
    Setting up linux-headers-3.2.6 (3.2.6-10.00.Custom) ...
    Examining /etc/kernel/header_postinst.d.
    run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.6 /boot/vmlinuz-3.2.6
    
    Setting up virtualbox-ose (3.1.6-dfsg-2ubuntu2) ...
     * Stopping VirtualBox kernel modules                                    [ OK ] 
     * Starting VirtualBox kernel modules                                            * No suitable module for running kernel found
                                                                             [fail]
    invoke-rc.d: initscript virtualbox-ose, action "restart" failed.
    
    Setting up virtualbox-ose-dkms (3.1.6-dfsg-2ubuntu2) ...
    Loading new virtualbox-ose-3.1.6 DKMS files...
    First Installation: checking all kernels...
    Building only for 3.2.6
    Building for architecture x86_64
    Building initial module for 3.2.6
    
    Error! Bad return status for module build on kernel: 3.2.6 (x86_64)
    Consult the make.log in the build directory
    /var/lib/dkms/virtualbox-ose/3.1.6/build/ for more information.
    dpkg: error processing virtualbox-ose-dkms (--configure):
     subprocess installed post-installation script returned error exit status 10
    Setting up linux-headers (2.0-bt1) ...
    Processing triggers for python-central ...
    Setting up virtualbox-ose-qt (3.1.6-dfsg-2ubuntu2) ...
    
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Processing triggers for menu ...
    Errors were encountered while processing:
     virtualbox-ose-dkms
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    still broken
    Last edited by Cr0wZz; 03-01-2012 at 07:12 PM.

Similar Threads

  1. Installing vlc is broken?
    By Icht00r in forum Beginners Forum
    Replies: 3
    Last Post: 06-04-2010, 02:46 AM
  2. my apt-get is broken
    By bofh28 in forum Beginners Forum
    Replies: 3
    Last Post: 02-05-2010, 05:25 PM
  3. Is WPA2 broken?
    By vityav in forum OLD Newbie Area
    Replies: 6
    Last Post: 12-10-2009, 04:50 PM
  4. googlesearch in BT3 broken?
    By floyd in forum OLD Newbie Area
    Replies: 3
    Last Post: 03-13-2009, 12:59 PM
  5. Broken ethernet after using BT
    By epborden in forum OLD Newbie Area
    Replies: 2
    Last Post: 01-31-2009, 06:58 PM

Posting Permissions

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