For 12.10 - need to do both steps. For 12.04 need only to do second step... ignore my system names...showing for purposes as placeholders for your computer name..
Step 1
lrbjr-dv7-64@lrbjrdv764-HP-Pavilion-dv7-Notebook-PC:~$ sudo apt-get install build-essential linux-headers-`uname -r`
[sudo] password for lrbjr-dv7-64:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
The following packages were automatically installed and are no longer required:
libasprintf0c2:i386 libgomp1:i386
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
linux-headers-3.5.0-23 linux-headers-3.5.0-23-generic
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.1 MB of archives.
After this operation, 69.9 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main linux-headers-3.5.0-23 all 3.5.0-23.35 [12.1 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main linux-headers-3.5.0-23-generic amd64 3.5.0-23.35 [963 kB]
Fetched 13.1 MB in 1min 29s (145 kB/s)
Selecting previously unselected package linux-headers-3.5.0-23.
(Reading database ... 200411 files and directories currently installed.)
Unpacking linux-headers-3.5.0-23 (from .../linux-headers-3.5.0-23_3.5.0-23.35_all.deb) ...
Selecting previously unselected package linux-headers-3.5.0-23-generic.
Unpacking linux-headers-3.5.0-23-generic (from .../linux-headers-3.5.0-23-generic_3.5.0-23.35_amd64.deb) ...
Setting up linux-headers-3.5.0-23 (3.5.0-23.35) ...
Setting up linux-headers-3.5.0-23-generic (3.5.0-23.35) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.5.0-23-generic /boot/vmlinuz-3.5.0-23-generic
Step 2
lrbjr-dv7-64@lrbjrdv764-HP-Pavilion-dv7-Notebook-PC:~$ sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules Error! There are no instances of module: vboxhost
4.2.6 located in the DKMS tree. [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS [ OK ]
* Starting VirtualBox kernel modules [ OK ]
lrbjr-dv7-64@lrbjrdv764-HP-Pavilion-dv7-Notebook-PC:~$ IT WORKS...
For 12.10 - need to do both steps. For 12.04 need only to do second step... ignore my system names...showing for purposes as placeholders for your computer name..
Step 1 64@lrbjrdv764- HP-Pavilion- dv7-Notebook- PC:~$ sudo apt-get install build-essential linux-headers- `uname -r` 2:i386 libgomp1:i386 headers- 3.5.0-23 linux-headers- 3.5.0-23- generic us.archive. ubuntu. com/ubuntu/ quantal- updates/ main linux-headers- 3.5.0-23 all 3.5.0-23.35 [12.1 MB] us.archive. ubuntu. com/ubuntu/ quantal- updates/ main linux-headers- 3.5.0-23- generic amd64 3.5.0-23.35 [963 kB] 3.5.0-23. 3.5.0-23 (from .../linux- headers- 3.5.0-23_ 3.5.0-23. 35_all. deb) ... 3.5.0-23- generic. 3.5.0-23- generic (from .../linux- headers- 3.5.0-23- generic_ 3.5.0-23. 35_amd64. deb) ... 3.5.0-23 (3.5.0-23.35) ... 3.5.0-23- generic (3.5.0-23.35) ... header_ postinst. d. header_ postinst. d/dkms 3.5.0-23-generic /boot/vmlinuz- 3.5.0-23- generic
lrbjr-dv7-
[sudo] password for lrbjr-dv7-64:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
The following packages were automatically installed and are no longer required:
libasprintf0c
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
linux-
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.1 MB of archives.
After this operation, 69.9 MB of additional disk space will be used.
Get:1 http://
Get:2 http://
Fetched 13.1 MB in 1min 29s (145 kB/s)
Selecting previously unselected package linux-headers-
(Reading database ... 200411 files and directories currently installed.)
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Unpacking linux-headers-
Setting up linux-headers-
Setting up linux-headers-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
Step 2 64@lrbjrdv764- HP-Pavilion- dv7-Notebook- PC:~$ sudo /etc/init.d/vboxdrv setup
[ OK ] 64@lrbjrdv764- HP-Pavilion- dv7-Notebook- PC:~$ IT WORKS...
lrbjr-dv7-
* Stopping VirtualBox kernel modules [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules Error! There are no instances of module: vboxhost
4.2.6 located in the DKMS tree.
* Trying to register the VirtualBox kernel modules using DKMS [ OK ]
* Starting VirtualBox kernel modules [ OK ]
lrbjr-dv7-