Install Debian Object In Virtualbox

Posted on
Install Debian Object In Virtualbox Rating: 8,1/10 9456 votes

VirtualBox is an open-source cross-platform virtualization software which allows you to run multiple guest operating systems (virtual machines) simultaneously. This tutorial explains how to install the latest VirtualBox on Debian 10, Buster. To be able to install packages on Debian, you’ll need to be logged in as a user with sudo privileges. This kind of message is generated when an installation didn't succeed fully, and that you tried to install/run virtualbox as the wrong user. Uninstall Virtualbox, reboot your host, then install with admin priviledges but with YOUR USER, then reboot again. Finally, run Virtualbox with YOUR USER.

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 Oracle VM VirtualBoxmore efficiently, you need to 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.

Step 1

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.

Step 2

Install Debian Object In Virtualbox

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

Install Debian Object In Virtualbox Mac

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 Debian 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.

Step 10

Open the terminal on your desktop.

Step 11

To build the required packages, add the Debian 10 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 10 ISO image!

Step 13

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.

Step 14

Wait while loading the required packages.

Step 15

In this step, type apt install build-essential module-assistant dkms and press the Enter button.

Step 16

Type Y for the question Do you want to continue and press Enter.

Star plus serial arjun song. Step 17

Wait while the installation is in progress.

Step 18

And finally, apply the m-a prepare command.

Step 19

After installing the necessary packages for the virtual pc, 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.

Install debian object in virtualbox windows 7

Step 22

As you can see in the image below, this time the installation has been successfully completed.

Step 23

To restart the Debian 10 virtual machine, execute shutdown -r now.

Step 24

After restarting the VM, you can resize it as follows.

Step 25

Also, you can now use the Debian 10 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 YouTubechannel to support us…

Final Word

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!

Related Articles

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