How to install guest additions on VirtualBox

Debian 8 Switch to root and install the latest updates: username@debian:~$ su Password: root@debian:/home/username# apt-get update && apt-get upgrade Stop apt-get prompts for CDs/DVDs when installing packages: root@debian:/home/username# nano /etc/apt/sources.list Comment out (by adding # at the beginning of the line) or remove the line starting with: deb cdrom:[some name]/ stable main   Install guest […]