How to start Virtualbox after kernel upgrade

If after installing a new kernel you may get an error message when you try to start Virtualbox saying something like ‘The vboxdrv kernel module was either not loaded…’.

After the new kernel update on the Ubuntu machine, you must install the kernel headers matching the new kernel:

sudo apt-get install linux-headers-$(uname -r)

Then just run virtualbox setup

sudo /etc/init.d/vboxdrv setup

That`s all.
  • 0
  • June 11, 2010, 10:50pm
  • georka

Comments (1)

RSS Collapse / Expand
+
0
I think it should be

sudo /etc/init.d/vboxdrv start

or there is «setup» argument?

Also I remember, I needed following

sudo apt-get install --reinstall virtualbox-ose-dkms
sudo dpkg-reconfigure virtualbox-ose 
avatar

t0lkman

  • June 11, 2010, 11:04pm

Only registered and authorized users can leave comments. Login or Register