Friday, August 21, 2009

Installing virtualbox on Ubuntu 9.04


# virtualbox
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-ose-source package and the appropriate
headers, most likely linux-headers-generic.

You will not be able to start VMs until this problem is fixed.



root@ubuntu-laptop:/home/camafla# apt-get install linux-headers-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-headers-2.6.28-11-server
The following NEW packages will be installed:
linux-headers-2.6.28-11-server linux-headers-server
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 672kB of archives.
After this operation, 8139kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com jaunty/main linux-headers-2.6.28-11-server 2.6.28-11.42 [669kB]
Get:2 http://archive.ubuntu.com jaunty/main linux-headers-server 2.6.28.11.15 [3388B]
Fetched 672kB in 6s (104kB/s)
Selecting previously deselected package linux-headers-2.6.28-11-server.
(Reading database ... 157949 files and directories currently installed.)
Unpacking linux-headers-2.6.28-11-server (from .../linux-headers-2.6.28-11-server_2.6.28-11.42_i386.deb) ...
Selecting previously deselected package linux-headers-server.
Unpacking linux-headers-server (from .../linux-headers-server_2.6.28.11.15_i386.deb) ...
Setting up linux-headers-2.6.28-11-server (2.6.28-11.42) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms
* Running DKMS auto installation service for kernel 2.6.28-11-server
* vboxdrv (2.1.4)... vboxdrv (2.1.4): Installing module.
.............
......
[ OK ]
* vboxnetflt (2.1.4)... vboxnetflt (2.1.4): Installing module.
............
......
[ OK ]
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common

Setting up linux-headers-server (2.6.28.11.15) ...