Installing VirtualBox Guest Additions on Debian

To install the guest additions on a Debian guest, first login as root. Then update your APT database:

aptitude update

Install the latest updates:

aptitude upgrade

Install the required packages:

aptitude install build-essential module-assistant

Configure the system for building kernel modules:

m-a prepare

Click on Devices and select Mount Guest Additions from the menu. Run the following command:

sh /media/cdrom/VBoxLinuxAdditions.run

Follow the instructions on the screen.

/images/debian-openlogo-nd.svg