Install VirtualBox Guest Additions on Debian 10 Buster

0
184

So if you have installed Debian 10 Buster on VirtualBox, you might have realized that it is not in full-screen view by default. If you need to set it to full-screen view, follow though this guide on how to install VirtualBox Guest Additions on Debian 10 Buster. There are so many feature that VirtualBox Guest additions can offer. This include;

The Guest Additions offer the following features:

  • Mouse pointer integration
  • Shared folders for easy sharing of files between the host and the guest
  • Ensures better and accelerated video performance.
  • Seamless windows integration
  • Generic host/guest communication channels that enables you to control and manage guest execution.
  • Provides Host-Guest time synchronization.
  • Shared clipboard between host and guest vm.
  • Automated logins.

To read more on VirtualBox Guest addition features on the VirtualBox User Manual.

Install Debian 10 Buster on VirtualBox by following the link below;

Install Debian 10 Buster on VirtualBox

Install VirtualBox Guest Additions on Debian 10 Buster

VirtualBox guest additions can be installed through the use VirtualBox guest addition ISO. The Guest additions ISO file can be mounted on a VirtualBox virtual machine via the Virtualbox manager or by installing with the package manager.

To mount the guest additions ISO file using VirtualBox manager, open the virtual machine and click Devices > Insert Guest Additions CD image on the Menu bar.

Our Debian 10 Buster uses KDE Plasma as desktop manager. Hence, when VirtualBox guest addition ISO file is inserted, you are prompted on how to open. Select Open with File Manager.

install VirtualBox Guest Additions on Debian 10 Buster

It is also mounted as a removable device. You can open the file manager and click the iso file to mount it. It is mounted under , under /media/cdrom0.

mount virtualbox guest additions on  debian 10 buster

Install VirtualBox Guest Additions

Now, to install VirtualBox guest additions, you need to have the kernel headers, DKMS framework, and build tools installed. To verify whether these tools are installed, you can run the command below;

dpkg -l | grep -E "dkms|linux-headers-$(uname -r)|build-essential"
ii  build-essential                               12.6                         amd64        Informational list of build-essential packages
ii  dkms                                          2.6.1-4                      all          Dynamic Kernel Module Support Framework
ii  linux-headers-4.19.0-5-amd64                  4.19.37-5                    amd64        Header files for Linux 4.19.0-5-amd64

If none is installed, run the command below to install them;

sudo apt update -y && apt upgrade
sudo apt install dkms linux-headers-$(uname -r) build-essential

Once the installation is done, you can now install VirtualBox guest additions by executing the command below;

sudo sh /media/cdrom0/VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.0.8 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 6.0.8 of VirtualBox Guest Additions...
update-initramfs: Generating /boot/initrd.img-4.19.0-5-amd64
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel 
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 4.19.0-5-amd64.
update-initramfs: Generating /boot/initrd.img-4.19.0-5-amd64
VirtualBox Guest Additions: Running kernel modules will not be replaced until 
the system is restarted

Once the installation is done, restart your virtual machine in order to reload the kernel modules.

Once the system reboots, it should boot to full-screen mode.

Debian 10 Buster full screen on virtualbox

Well, that is all on how to install VirtualBox Guest Additions on Debian 10 Buster. Enjoy

Related Tutorials;

Install VirtualBox Guest Additions on Ubuntu 18.04

LEAVE A REPLY

Please enter your comment!
Please enter your name here