what i really dislike: Debian 2 setup goes like „this and that“ Debian 3 „now setup goes different“

it’s always like that… the ways that were tested and worked, do not work anymore in the next release, potentially invalidating all old recipes.

guys i know you are good and can do better 🙂 – ASAP (As Simple As Possible 🙂 and leave it that way… forever 🙂 = reliable)

anyway this was tested on:

host: Linux Debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64 GNU/Linux
guest: Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux

modprobe vboxadd; # test if virtualbox additions are installed

modprobe: FATAL: Module vboxadd not found. # this is what you get if they are not correctly installed

apt-get install build-essential module-assistant; # install stuff
m-a prepare; # do stuff

apt-get install linux-headers-$(uname -r); # install linux header files

virtualbox insert guest additions cd

# it should get mounted automatically if you have a GUI (gnome-core) installed if not:
mkdir /media/cdrom0; # might allready exist
mount /dev/cdrom /media/cdrom0; # should help
cp -R /media/cdrom0/* /VIRTUALBOX; # i like to copy all the stuff to a harddisk folder before executing
sh /VIRTUALBOX/VBoxLinuxAdditions.run; # run stuff

vim /var/log/vboxadd-install.log; # in case of error - check logs
vim /var/log/VBoxGuestAdditions.log; # in case of error - check logs

reboot; # and test if it's workin' now