In this article, we will install
Guest Additions for Debian 9.8 virtual machine running on Oracle VM VirtualBox software.
To use the Debian 9.8 virtual machine that you have installed in
more efficiently, you need to Oracle VM VirtualBox install Guest Additions.
Installing guest extensions for the
Debian 9.8 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 9.8 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 9.8 VM. Installation of Guest Additions in Linux environments may vary. How to Install Guest Additions in Virtual Machine in Oracle VM VirtualBox
Follow the stages below to setup
Client Software on the Debian 9.8 VM running on VBox. Step 1
If you run the
Debian 9.8 VM on VBox as full screen, you will have the same problem as below. Therefore Guest Additions are required. Step 2
From the menu, click on
Devices and from the menu opened select Insert Guest Additions CD image. Step 3
In the window that opens, click
Run. Step 4
As shown in the image below, the
Client Software could not be started automatically on Debian. Click the OK button to close the window. Step 5
Go to the
VBox_GAs_6.0.4 added to the virtual machine and click on the “ Open as Root” option. Step 6
Type your root password and click on the
Authenticate button. Step 7
To open the terminal in the location, click the
Right button / Open in Terminal. Step 8
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. Step 9
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 9.8 ISO image to the virtual machine. Step 12
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 9.8 ISO image! Step 13
Now, type the
apt upgrade command and press Enter. The setup informs you that it will use additional space and press Yes (Y) to confirm and press Enter. Step 14
Wait while loading the required packages.
In this step, type
apt install build-essential module-assistant dkms and press Enter. Step 16
Y for the question Do you want to continue and press Enter. Step 17
Wait while the installation is in progress.
And finally, apply the
m-a prepare command. Step 19
After installing the necessary packages for the virtual machine, you can proceed installing the
Guest Additions. Step 20
Once again, open
CDROM0 as Root. Step 21
To start Guest Additions setup, run
sh VBoxLinuxAdditions.run. Step 22
As you can see in the image below, this time the installation has been successfully completed.
To restart the Debian 9.8 virtual machine, execute
shutdown -r now. Step 24
After restarting the VM, you can resize it as follows.
Also, you can now use the Debian 9.8 VM as
Full Screen. 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 Final Word
In this article, we have implemented the guest additions required for Debian 9.8 running on VirtualBox on the Windows 10 operating system. Thanks for following us!
If this article is helpful, please send us feedback by commenting… Related Articles ♦ How to Install Linux Mint 18 on VirtualBox in Windows 10
♦ How to Install VirtualBox Guest Additions on Linux Mint
♦ How to Take Snapshot in VirtualBox on Windows 10
♦ How to Clone VM in VirtualBox on Windows 10
♦ How to Re-Add Virtual Machines in VirtualBox