In this article, we will install
Guest Additions for Debian 10 virtual machine running on Oracle VM VirtualBox software.
How to Install Guest Additions in Debian Virtual Machine
To use the Debian 10 virtual machine that you have installed in
more efficiently, you need to Oracle VM VirtualBox install Guest Additions.
Installing guest extensions for the
Debian 10 virtual machine will increase the performance of the virtual machine, and you can use the virtual machine screen resolution as Full Screen. Also, after installing guest additions, you can exchange files between the physical computer and the VM.
In our previous article, we implemented
Debian 10 setup using VirtualBox. You can find this article on the link below.
In this article, we will install the Guest Additions plugin for the
VirtualBox Debian 10 VM. Installation of Guest Additions in Linux distributions may vary.
How to Build Guest Additions Step by Step
Follow the stages below to setup
Client Software on the Debian 10 VM running on VBox.
If you run the
Debian 10 VM on VBox as full screen, you will have the same problem as below. Therefore Guest Additions are required.
From the menu, click on
Devices and from the menu opened select Insert Guest Additions CD image.
In the window that opens, click
As shown in the image below, the
Client Software could not be started automatically on Debian. Click the OK button to close the window.
Go to the
VBox_GAs_6.0.4 added to the virtual machine and click on the “ Open as Root” option.
Type your Debian root password and click on the
To open the terminal in the location, click the
Right button / Open in Terminal.
Once the terminal is turned on, you can use the “
ls” command to view files in the media. In /media/cdrom0#, type sh VBoxLinuxAdditions.run and press Enter.
The VBox Driver Pack installation did not start properly because you need to setup the necessary packages as you see in the image below.
Open the terminal on your desktop.
To build the required packages, add the
Debian 10 ISO image to the virtual machine.
Use the command “
su –” on the terminal, then type your root password and press Enter. Next, apply the apt update command.
In the image below you can see that you need to attach the
Debian 10 ISO image!
Now, type the
apt upgrade command and press the Enter button. The setup informs you that it will use additional space and press Yes (Y) to confirm and press Enter.
Wait while loading the required packages.
In this step, type
apt install build-essential module-assistant dkms and press the Enter button.
Y for the question Do you want to continue and press Enter.
Wait while the installation is in progress.
And finally, apply the
m-a prepare command.
After installing the necessary packages for the virtual pc, you can proceed installing the
Once again, open
CDROM0 as Root.
To start Guest Additions setup, run
As you can see in the image below, this time the installation has been successfully completed.
To restart the Debian 10 virtual machine, execute
shutdown -r now.
After restarting the VM, you can resize it as follows.
Also, you can now use the Debian 10 VM as
How to Install Guest Additions ⇒ Video
For the additional software installation on Oracle VM VBox, you can watch the following video and also subscribe to our
channel to support us… YouTube
In this article, we have implemented the guest additions required for Debian 10 running on VirtualBox on the Windows 10 operating system. Thanks for following us!
♦ How to Install Linux Mint on VirtualBox
♦ How to Configure Guest Additions on Linux Mint
♦ How to Use Snapshot in VirtualBox on Windows 10
♦ How to Clone VM in VirtualBox on Windows 10
♦ How to Re-Add Virtual Machines in VirtualBox