This post demonstrates How to install VirtualBox Guest Additions on Debian 9 so you can resize your Debian 9 guest and also Copy and paste between your debian guest and Windows 8/ Windows 10 / Linux host.
Follow the steps below to install VirtualBox Guest Additions on Debian 9 Virtual Machine (VM)
- Open the terminal in Debian 9
- Login with your Root Privileges
su
Enter your root password
- Run the following command in your terminal as root.
[root@localhost ~]# echo deb http://ftp.debian.org/debian stretch-backports main contrib > /etc/apt/sources.list.d/stretch-backports.list
[root@localhost ~]# apt update
[root@localhost ~]# apt install virtualbox-guest-dkms virtualbox-guest-x11 linux-headers-$(uname -r)
- Restart Debian 9 Operating System.