Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: VirtualBox not working after kernel upgrade

  1. #11
    Join Date
    Mar 2009
    Location
    New Jersey
    Beans
    33
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: VirtualBox not working after kernel upgrade

    I've had this happen to me a couple times now and the simple fix that I've been using is:

    sudo apt-get install dkms
    sudo /etc/init.d/vboxdrv setup

  2. #12
    Join Date
    Jul 2012
    Location
    /tropics/islands/statia
    Beans
    275
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: VirtualBox not working after kernel upgrade

    Code:
    statia@quokka:~$ sudo apt-get install dkms
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    dkms is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    statia@quokka:~$ sudo /etc/init.d/vboxdrv setup
    sudo: /etc/init.d/vboxdrv: command not found
    I think I already tried that once, as I usually Google first and only ask here if I can't solve it myself.

    So why does that work for you, but not for me?
    Sometimes I think I should call my box Murphy...

  3. #13
    Join Date
    Oct 2010
    Beans
    4

    Re: VirtualBox not working after kernel upgrade

    I have this same problem after every kernel update my virtualbox stops working. After searching I found this solution from this here

    sudo apt-get remove virtualbox-dkms
    sudo apt-get install virtualbox-dkms
    not convenient but at least I don't have to re-install virtualbox and the two OS's I have in virtual machines.

    I've created a bash script to execute these commands, now a little more convenient.
    Attached Files Attached Files
    Last edited by Kufa61; October 15th, 2012 at 06:00 PM.

  4. #14
    Join Date
    Oct 2010
    Beans
    4

    Re: VirtualBox not working after kernel upgrade

    Quote Originally Posted by Statia View Post
    Code:
    statia@quokka:~$ sudo apt-get install dkms
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    dkms is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    statia@quokka:~$ sudo /etc/init.d/vboxdrv setup
    sudo: /etc/init.d/vboxdrv: command not found
    I think I already tried that once, as I usually Google first and only ask here if I can't solve it myself.

    So why does that work for you, but not for me?
    Sometimes I think I should call my box Murphy...
    I have found that you have to remove the dkms package first then install this forces the kernal module to recompile and fixes the problem with VirtualBox.

  5. #15
    Join Date
    Jul 2012
    Location
    /tropics/islands/statia
    Beans
    275
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: VirtualBox not working after kernel upgrade

    Quote Originally Posted by Kufa61 View Post
    I have found that you have to remove the dkms package first then install this forces the kernal module to recompile and fixes the problem with VirtualBox.
    I think I already reinstalled DKMS once, but I'll give it a(nother) try. Thanks.

  6. #16
    Join Date
    Aug 2007
    Beans
    42

    Re: VirtualBox not working after kernel upgrade

    sudo apt-get remove virtualbox-dkms
    sudo apt-get install virtualbox-dkms

    worked for me

  7. #17
    Join Date
    Sep 2012
    Beans
    15

    Re: VirtualBox not working after kernel upgrade

    Yes the same thing happened to me yesterday. I haven't used Virtualbox for a few weeks and went to use it yesterday and had the same problem with the kernel.
    I spent a couple of hours trying to sort it out to no avail. This was after spending quite a bit of time getting it installed in the first place.....this is totally frustrating. I'm going to sent virtualbox to the bin and just use a dual boot. I know it takes time to change from one system to another but it doesn't take that much time. A lot less than the time I've spent trying to get a simple upgrade worked out. Hey virtualbox...... this is just not acceptable....it's 2012 get it sorted.

    DM

  8. #18
    Join Date
    Sep 2012
    Beans
    15

    Re: VirtualBox not working after kernel upgrade

    Well I used the two simple commands and virtualbox now works!

    sudo apt-get remove virtualbox-dkms
    sudo apt-get install virtualbox-dkms

    Note to self.....remember these commands.

    DM

  9. #19
    Join Date
    Jul 2012
    Location
    /tropics/islands/statia
    Beans
    275
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: VirtualBox not working after kernel upgrade

    Well, just upgraded to 3.2.0-33 and this time VirtualBox kept working, so it seems solved. I'll mark this thread as solved and would like to thank everyone for their input.

Page 2 of 2 FirstFirst 12

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
  •