If you have a minimal base installation of Ubuntu Server 8.10 than you have to install the following:
- build-essential
- linux-headers
on you command line type:
sudo apt-get install build-essential linux-headers-`uname -r`
then goto VBox Menu Device, there select Install Guest Additions, than you can mount the Guest Additions as CDROM. On your command line type the following:
root@ubuntu810servervm:/media/cdrom# mount /dev/cdrom /media/cdrom
mount: block device /dev/scd0 is write-protected, mounting read-only
root@ubuntu810servervm:/media/cdrom# cd /media/cdrom
root@ubuntu810servervm:/media/cdrom# ls -l
total 16468
dr-xr-xr-x 3 root root 2048 2009-02-16 17:27 32Bit
dr-xr-xr-x 2 root root 2048 2009-02-16 17:27 64Bit
-r--r--r-- 1 root root 192 2009-01-23 10:36 AUTORUN.INF
-r-xr-xr-x 1 root root 1928117 2009-02-16 17:26 VBoxLinuxAdditions-amd64.run
-r-xr-xr-x 1 root root 1761598 2009-02-16 17:26 VBoxLinuxAdditions-x86.run
-r--r--r-- 1 root root 4768256 2009-02-16 17:25 VBoxSolarisAdditions.pkg
-r-xr-xr-x 1 root root 4389880 2009-02-16 17:17 VBoxWindowsAdditions-amd64.exe
-r-xr-xr-x 1 root root 477712 2009-02-16 17:05 VBoxWindowsAdditions.exe
-r-xr-xr-x 1 root root 3532024 2009-02-16 17:07 VBoxWindowsAdditions-x86.exe
root@ubuntu810servervm:/media/cdrom# sudo ./VBoxLinuxAdditions-x86.run
Follow the onscreen instructions. That’s it.